That's fun! I've been experimenting with supporting Tiddlywiki and 
integrating parts of it with my Python application.

I've found that in Python you can use the WsgiDAV library to serve single 
file TiddlyWikis very nicely.

All you need to do is install wsgidav library:

pip install wsgidav
# or pip install --user wsgidav


After that you can run:

wsgidav --host=0.0.0.0 --server wsgiref --port=80 
--root=/path/to/your/tiddlywiki/


You can also use it to integrate into an existing web app or building 
something else. Here's the documentation 
<https://wsgidav.readthedocs.io/en/latest/user_guide_lib.html>.

Use the latest Tiddlywiki with the fixes for WebDAV or the wsgidav from git 
to avoid 412 errors.

Hope it's useful to someone.

Regards,
Sebastian


El sábado, 12 de mayo de 2018, 9:32:45 (UTC-5), Jim escribió:
>
> I use Ruby and so always have it installed. If you do too, here's a 
> minimal server using Ruby Webrick. It just serves up files from the same 
> folder and handles saving. 
>
> Once running, just point yor web browser at localhost:8000 to view the 
> folder listing, and click on your wiki html file.
>
> https://gist.github.com/jimfoltz/ee791c1bdd30ce137bc23cce826096da
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb532d2c-19f8-4614-a5a9-ec086809f891%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to