I read the tutorial of PWA today, and created a manifest.webmanifest : https://github.com/linonetwo/Tiddlywiki-NodeJS-Github-Template/blob/master/PublicWiki/public/manifest.webmanifest to test if it can turn my wiki into an APP that can be installed in my mobile phone, and I succeed!
Then I use workbox <https://developers.google.com/web/tools/workbox/modules/workbox-precaching> (it allows me to write service worker easily) to create a service worker: https://github.com/linonetwo/Tiddlywiki-NodeJS-Github-Template/blob/master/PublicWiki/public/service-worker.js it make my wiki work offline, so that app really feels like an offline app, instead of a website. Now my wiki can serve as a quick manual APP for me to search in mobile, it can open fullscreen, and open in lightening fast speed, and work offline! The content of the wiki will get updated only if I deploy a new version of wiki, and close the website tab, then reopen the tab (so a service worker with new precache content will install <https://medium.com/better-programming/let-users-know-when-you-have-updated-your-service-worker-in-create-react-app-b0c2701995b3> ) Please try it out in your phone https://tiddlywiki-nodejs-github-template.now.sh The code is here: https://github.com/linonetwo/Tiddlywiki-NodeJS-Github-Template I will write a post about the detail later. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev/dd6050cb-925b-4059-a467-21f31581ca72%40googlegroups.com.
