I made a service-worker plugin https://github.com/linonetwo/tiddlywiki-plugins/tree/master/plugins/linonetwo/service-worker
But it requires additional setup, and only work in nodejs wiki that is bundled to HTML wiki when publish to github pages or vercel. It surely boost the open speed of my wiki onetwo.ren/wiki , but no additional feature. I think it is somehow useless. Jeremy Ruston <[email protected]> 于2020年12月7日周一 下午10:39写道: > Hi Nick > > Are you perhaps generating a static rendering of the wiki, and then > uploading that? The process I described works with an ordinary TiddlyWiki > standalone HTML file, you don't need to export anything. If you're using > the Node.js configuration you can save a snapshot of the wiki as an HTML > file by clicking the "save" icon in the sidebar. > > Best wishes > > Jeremy > > -- > Jeremy Ruston > [email protected] > https://jermolene.com > > On 7 Dec 2020, at 14:28, Nick <[email protected]> wrote: > > Hi Tone, > > Yep, looking for the TW5 internal search. I'll give this a go > > Cheers > Nick > > On Sunday, 6 December 2020 at 23:25:47 UTC TW Tones wrote: > >> Nick, >> >> Perhaps you can find the search due to mobile layout, create a tiddler >> and transclude the sidebar search in it and see if that works. >> >> I assume you are talking about the TW5 internal search. >> >> {{$:/core/ui/SideBarSegments/search}} >> >> Tones >> >> On Monday, 7 December 2020 at 01:04:05 UTC+11 Nick wrote: >> >>> It doesen't seem to work for me, with getting an offline screen. >>> >>> I can export all the tiddlers and upload this to a host, then save as >>> app on the homescreen which works offline. However no search. You can use >>> 'Find on page' but this doesn't give the app like feel i'm after. >>> >>> I'll keep looking, and maybe its a cache problem with my device. >>> >>> Thanks for all the suggestions >>> >>> On Sunday, 6 December 2020 at 10:56:44 UTC [email protected] wrote: >>> >>>> Hi Nick >>>> >>>> To make life easier, I only require a read-only only version for this >>>> case. So no changes will be needed. But for a solution for others, it would >>>> I guess. This is why I thought just loading the TW to read offline would be >>>> a simple affair! >>>> >>>> >>>> I misunderstood, and thought you were wanting to make changes while >>>> offline. >>>> >>>> In my tests, adding a TW to the iOS/iPadOS home screen does >>>> subsequently work while offline. Here’s what I tried on iOS 14: >>>> >>>> 1. Visit https://tiddlywiki.com in Safari while online >>>> 2. Tap the export button in the bottom toolbar, and scroll down to find >>>> the “Add to home screen” action >>>> 3. You’ll be taken back to the homescreen where there will be a new icon >>>> 4. Tap the icon to launch TW as a standalone app and verify that it >>>> works >>>> 5. Engage airplane mode >>>> 6. Use the task switcher to quit the TW standalone app >>>> 7. Return to the home screen and tap the TW shortcut again >>>> >>>> Best wishes >>>> >>>> Jeremy >>>> >>>> >>>> >>>> >>>> >>>> @Ed Thanks, yes I use Quine alot for my TW on my phone, and it's >>>> excellent. But I need a separate branded PWA/APP on the home screen. I have >>>> the PWA part, and now need the storage/cache part. >>>> >>>> >>>> Best >>>> Nick >>>> >>>> On Sunday, 6 December 2020 at 04:48:44 UTC Ed Heil wrote: >>>> >>>>> Nick, >>>>> >>>>> Have you looked at Quine2? >>>>> >>>>> https://apps.apple.com/us/app/quine-2/id1450128957 >>>>> >>>>> >>>>> On Saturday, December 5, 2020 at 12:15:34 PM UTC-5 Nick wrote: >>>>> >>>>>> Thanks to all, It seems SWs' are really not the way forward. The >>>>>> 'offline' feature was the appeal of TW, but as an app on my home screen, >>>>>> the offline function is not working. It does not open from files either >>>>>> on >>>>>> IOS. Its works in apps like quine but I need it to be its own app. Maybe >>>>>> i've missed something, but there must be a way to view a TW file offline >>>>>> on >>>>>> mobiles with only the .html file"? >>>>>> >>>>>> Thanks >>>>>> Nick >>>>>> >>>>>> On Saturday, 5 December 2020 at 16:36:05 UTC [email protected] >>>>>> wrote: >>>>>> >>>>>>> Indeed. Service workers were intended to help re-engineer existing >>>>>>> server-based applications to work offline. The main feature is a >>>>>>> background >>>>>>> thread that can fake network requests when the system is offline. It >>>>>>> still >>>>>>> uses the same LocalStorage as an ordinary web page. So there’s not >>>>>>> really >>>>>>> anything to be gained for an application like TiddlyWiki that was >>>>>>> designed >>>>>>> from the ground up to work offline. It’s a shame. >>>>>>> >>>>>>> Best wishes >>>>>>> >>>>>>> Jeremy >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 5 Dec 2020, at 15:52, Saq Imtiaz <[email protected]> wrote: >>>>>>> >>>>>>> I have similar feelings about service workers as Jed... >>>>>>> That said, I know LinOneTwo has done some work with service worker >>>>>>> and TW but I am not familiar with the details: >>>>>>> https://github.com/linonetwo/tiddlywiki-plugins >>>>>>> >>>>>>> -- >>>>>>> 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/d9724b43-6651-48f9-b966-a4af79f97853n%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/d9724b43-6651-48f9-b966-a4af79f97853n%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/31837f05-becb-45f3-acd3-3dcc252f8a9dn%40googlegroups.com >>>> <https://groups.google.com/d/msgid/tiddlywiki/31837f05-becb-45f3-acd3-3dcc252f8a9dn%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/e4559558-b03d-46d0-9e44-0205858a3eb7n%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/e4559558-b03d-46d0-9e44-0205858a3eb7n%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/0C2EDC19-5697-4637-80EE-B2214FD69B11%40gmail.com > <https://groups.google.com/d/msgid/tiddlywiki/0C2EDC19-5697-4637-80EE-B2214FD69B11%40gmail.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/CA%2BmF0D9BWQUcixfm-aDgVz3rMuw2WFk5Z7NZd-vRJYNoZCukeg%40mail.gmail.com.

