Using the indieweb easily from my phone has been hobby horse of mine for a while now. A few of us brainstormed the indieweb’s next big thing over the weekend, and one idea that caught my eye was an “offline first” mobile client that’s fully functional without connectivity and syncs to your site when it is connected. This is a small but growing pattern among modern mobile apps, and it’s great.
We could build this as a native mobile app or library, maybe using an existing mobile offline sync platform, but the indieweb community prefers the mobile web to native apps. So, let’s consider it a challenge!
- You load it in your phone’s browser, then save it so it’s usable offline.
- When you’re connected, it fetches your site, crawls your feeds, and stores your posts locally. Maybe all of them, maybe just the most recent or another heuristic. Could use Web Workers (well supported) and/or Service Workers (less supported).
- You can compose new posts and edit existing posts offline, using only localStorage.
- When you’re connected, it publishes your updates via micropub.
- Easily post pictures, videos, links, and other content by sharing/sending them to the editor via deep linking (aka intents aka app links).
- Download your site’s nicknames-cache, venue database, syndication targets, and other data to provide a better posting UX.
- Register for web actions so you can use it to easily indie reply, like, etc.
- Download your moderation queue, ie pending webmentions and native comments, and let you approve or reject them. (We don’t yet have a standard for this.)
There are plenty of example apps with good UXes for managing posts offline and updating when connected: WordPress, Tumblr, SimpleNote, Quip, and most email and messaging clients, just to name a few. They’re worth studying for UI ideas and techniques.