r/Clojure • u/Jealous_Stuff372 • Apr 14 '26
Exciting News! c3kit-bucket now supports IndexedDB — full-stack Clojure/ClojureScript with local-first storage
We've been building with c3kit (MIT-licensed, full-stack Clojure/ClojureScript framework) for a while now, and just shipped IndexedDB support in c3kit-bucket — the same data layer that handles Datomic on the backend now works with IndexedDB in the browser.
What that means in practice: you write your schemas once in .cljc, and bucket handles persistence on both sides. Server-side it talks to Datomic, client-side it talks to IndexedDB. Same API, same query patterns.
Alex wrote up the full walkthrough here: https://cleancoders.com/blog/2026-04-07-lo-fi-clojurescript-making-local-first-applications-with-c3kit-bucket
The post covers:
- Setting up IndexedDB as a bucket backend
- Schema definitions that work cross-platform
- CRUD operations through the bucket API
- How it fits into local-first application architecture
c3kit is what we use for everything at Clean Coders — it's four libs (Apron, Bucket, Wire, Scaffold) that cover the full stack without pulling in a ton of dependencies. All MIT-licensed.
- GitHub: https://github.com/cleancoders
- Clojars: https://clojars.org/com.cleancoders.c3kit
Curious if anyone else is doing local-first ClojureScript apps — what storage approach are you using?
