tiddly-gittly / service-worker

Use service worker to cache content, make it works even offline, and can be add to the desktop as an App.
https://tiddly-gittly.github.io/service-worker/
MIT License
3 stars 0 forks source link

Could there be a better explanation of what this plugin does? #3

Open autolyticus opened 7 months ago

autolyticus commented 7 months ago

I'm trying to understand what it would take to have tiddlywiki run in the background as a background thread for reminders and notifications on my phone by making it into a PWA

So I came across this discussion https://talk.tiddlywiki.org/t/how-to-make-tiddlywiki-an-installable-pwa-progressive-web-app/7237

Great, seems your approach is easier to be pack as a plugin. I have created GitHub - tiddly-gittly/service-worker: Use service worker to cache content, make it works even offline, and can be add to the desktop as an App. 17 , but it require manually add a manifest.webmanifest to the /public folder, and use github action to deploy to gh-pages.

Which brought me here :)

I'm more of a cloud/devops person so I'm not very familiar with the front-end world, I've seen that you are very active in this plugin space, with trying to "modernize" TiddlyWiki to be more in line with best practices in front-end stuff.

So I was wondering whether you could better explain what exactly this plugin is supposed to do which might be helpful for a beginner like me :)

linonetwo commented 6 months ago

I'm not using that plugin, so it is out-of-mantain now.

I'm using TidGi-Desktop as server, and not using HTML version any more. service-worker is a browser side cache that cache the .js file (system tiddlers) and HTML (user tiddlers). So user can load fast and use it offline.

But I think user can use https://github.com/tiddly-gittly/TidGi-Mobile for offline use, and use https://github.com/tiddly-gittly/TidGi-Desktop for fast blogging now. https://tidgi.fun/#TidGi%20Feature%20Handbook%2FBlogging%20With%20NAT%20Traversal