Figured I'd open source the little preact+signals mastodon client I wrote a few years ago, in case the code is useful to folks. It's called Mastodawn.com - a streaming, offline-first installable Mastodon web app that weighs under 100kb. github.com/developit/mastodawn
Post
It's all done via the Cache API instead of letting the SW cache network requests on its own. That's the neat part - it uses the Cache API as a database for network requests. It even mutates previously-cached requests to update them when realtime data comes in.
0 reposts1 like
No replies yet.