I think we really just need one method called "Serving static files with
saving" and include everything that provides that capability using the put
saver or equivalent mechanism. :)

On Tue, May 15, 2018 at 12:24 AM, 'Mark S.' via TiddlyWiki <
[email protected]> wrote:

> Oh snap -- method #22.
>
> Does using 0.0.0.0 expose server to the entire local web (in which case
> there is a coffee-house danger) ?
>
> Thanks!
> Mark
>
> On Monday, May 14, 2018 at 8:16:45 PM UTC-7, Sebastian Silva wrote:
>>
>> 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/ba13b4ca-838a-4279-813e-0ae297f05d4f%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/ba13b4ca-838a-4279-813e-0ae297f05d4f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAJ1vdSQY-w-AsiSNXUZ09dYj58_t7Y_%2BpzZE_rtnbXpA6FtYfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to