Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My latest version of my ezInvoice app has a local-first option. It's also offline first.

The user has to install CouchDB on their desktop PC to use the local first option. Basically they just use a different html file to access the local CouchDB instead of the Cloud based CouchDB.

The app is also offline first and doesn't use the internet at all unless you turn on the "Live Sync" function in the app's preferences.

At that point it's still local first but it syncs with my Cloud based CouchDB and users can access that by using a different url. Since Live Sync works both ways whenever the Cloud CouchDB is updated those changes are pushed to the desktop PC if it's connected to the internet, or as soon as it is.

Users can also make backups and snapshots of their DBs on their desktop CouchDB.

I released ezInvoice back in 2002 and this is something I've wanted to do since then. Feels pretty good to have what's needed to get it working.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: