Using store.php without username/password

54 views
Skip to first unread message

Anjar

unread,
May 3, 2020, 12:30:04 PM5/3/20
to TiddlyWiki
Hi,

I wondered if it is possible to use store.php without having to enter username and password? I often hide my tiddlywiki using .htaccess, and it would be easier to share access if I only had to make another user for htaccess instead of giving instructions on how to enter the configuration page etc. or make a specific login tiddler. I imagine having a folder on my server with a .htaccess, store.php and several single-file tiddlywikis that just save themselves, and to make a new tiddlywiki, just change the filename that store.php saves to (to duplicate the original).

A related question; is there any specific reason that the store.php is buried away instead of being hosted on tiddlywiki.com with a direct link? Alternatively, it would be pretty simple to make a tiddler that can autogenerate a store.php for copy-paste where you can add usernames and passwords with a small form (to make it easier to get started)? 

Best,
Anders

Anjar

unread,
May 24, 2020, 7:32:12 PM5/24/20
to TiddlyWiki
For reference, I think the easiest is to use tw-receiver (https://github.com/sendwheel/tw-receiver) and hardcode the secret key on line 38 in tw-receiver-handler-comp.js. Then all you need is having tw-receiver-server.php and the wiki in the same folder, and it works beautifully
Reply all
Reply to author
Forward
0 new messages