I think the biggest advantage is that you can run any old static webserver
rather than one specific to TiddlyWiki. This enables things like more
easily handling multiple wikis (just stick them all in a common directory
and serve that directory, no config necessary). On Linux, no extra software
has to be installed, just download the wiki file and python is already
installed which has a webserver.

The plugin doesn't require a webserver to work though, you just have to
pick the file in the filesaver once per reload. Personally, I don't refresh
my wiki page very often so for me this is probably once every couple hours
at most unless I'm installing new JS plugins or something. Once Chromium
fixes their SOP policy for file://, these can be safely stored in IndexedDB
and have parity with running it from a webserver. Another possibility is if
FireFox implements the File System Access API since they have a more
restrictive origin policy for file:// domains.

On Thu, May 13, 2021 at 5:40 PM PMario <[email protected]> wrote:

> On Thursday, May 13, 2021 at 8:27:53 PM UTC+2 [email protected] wrote:
>
>>
>>    - If served via a webserver like "python3 -m http.server", it saves
>>    the file location to IndexedDB so you don't have to constantly reselect 
>> the
>>    file to save to when you reload the page. Note that for enhanced security,
>>    I recommend using a specific port for the webserver and/or
>>    "yourwiki.localhost:8000" (any *.localhost domain should just resolve to
>>    localhost, but the browser should treat it as a separate domain).
>>
>> If I need a web server to use the file system api, wouldn't it be better
> to use the nodejs version, which already does save back, without any
> permission problems.
>
> I'm just curious...
> -m
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/IczqdIdC3lE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/896df457-9ac0-4e9d-b187-2a8c43e5b533n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/896df457-9ac0-4e9d-b187-2a8c43e5b533n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJsXKEOvLgcyC%2B7PZ2vB55ZFO-2MW5Xrp1tP%2BbZS83%3DOa4XsYA%40mail.gmail.com.

Reply via email to