TiddlyWiki is a great solution for quick note taking and personal documentation, but it’s not easy to get it to save changes in some browsers, and having all your info stored in a file on your hard disk may cause problems if you want to quickly look something up at a remote location.
There was a small PHP library called MiniTiddlyServer that allowed you to save changes directly to your web server however that project has been abandoned and doesn’t run properly on newer PHP versions.
I have therefore created a new solution to do the same and called it MicroTiddlyServer. I’ve done this mainly for my own use but other people might find it useful too.
Download MicroTiddlyServer-2.8.1.0
Using it is extremely easy. Just upload the index.php file to an empty directory on your Apache web server, then open that path in a browser.
Hello. I’m new at this. How can I give public reading access and keep editing restricted? Please: a step by step will be very welcome.
One way I could think of doing that is making a redirect on the server to the HTML file that stores the wiki (i.e. the empty.html). You can then give the public access to the redirect link to the html file, while you password protect the access to the php file.
The public would of course still see the edit buttons (those are inside the tiddlywiki source code) but they won’t do anything.
Thanks for the answer, but it’s not enough for me. A few years ago (2007 – 2010) I was using a version of MTS that allowed you to log in and out for edit or view mode. It also allowed multiple tyddliwikis. What happened to that?
The following is the header of a script that used that mini server:
/* /////////////////////////////////////////////////////////////////////////////
MiniTiddlyServer: A mini-server for TiddlyWikis
Copyright (C) 2007 Sean Clark Hess and Saq Imtiaz
MiniTiddlyServer is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//////////////////////////////////////////////////////////////////////////////// */