lin One two,

I was very keen to see if TiddlyWiki could become a PWA. I used your link 
on my android and the save, saved locally to a tiddlers(n).html file. Can 
the changes be saved locally so the app can be accessed at the same address 
or as a native icon on the phone?.

What other imitations do you see?

I love your contributions to the Tiddlywiki community, very innovative.

Regards
Tony  

On Wednesday, April 15, 2020 at 4:41:20 AM UTC+10, LinOnetwo wrote:
>
> 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/23ba9437-e481-4584-a134-126d647d0faa%40googlegroups.com.

Reply via email to