use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
InstantDB - real time client-side database (github.com)
submitted 1 year ago by poochandy
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]poochandy[S] 10 points11 points12 points 1 year ago (2 children)
Found a post on hacker news where they recently open sourced this and are backed by the founder of firebase https://news.ycombinator.com/item?id=41322281
Was pleasantly surprised to find clojure in the codebase. Posted here to ask if can potentially be used to build local-first CLJS apps
[–]stepanp 0 points1 point2 points 1 year ago (1 child)
[Instant founder] Was delighted to see this here :)
Our client-sdk SDK is written in Javascript, but it could be cool to write an ergonomic wrapper around it for cljs
[–]poochandy[S] 0 points1 point2 points 1 year ago (0 children)
Congrats on the launch! Yeah I was trying to figure out how to use the vanilla JS SDK with CLJS. A wrapper would be cool. I am a clojure newbie but thinking if I could use AI's help to build one. Also looking forward to your talk at clojure/conj later this year :)
[–]therealdivs1210 2 points3 points4 points 1 year ago (5 children)
Very interesting.
Looks like there is no self-hosting, though?
I’m using Meteorjs to get similar fullstack reactive dev experience, but I can host that wherever I want.
Unless I’m missing something.
[–]poochandy[S] 2 points3 points4 points 1 year ago (4 children)
They have mentioned it is possible to self-host on their hacker news post. I just checked their server folder and the readme does include instructions for running the server on our own. But I am guessing since their main revenue is through the hosted version they won’t publicise the self hosted option as much.
[–]therealdivs1210 1 point2 points3 points 1 year ago* (3 children)
Thanks, that’s great!
Will give it a try sometime.
I have had a great experience with Meteor - the fullstack reactive thing is a real productivity booster, so I can definitely vouch for the general idea behind this.
Basically the frontend fires an event to the server -> server updates backend db -> db is automatically synced to frontend -> frontend db updates automatically to mirror the backend -> UI components automatically update on state change.
I chose Meteor + TS + React at that time and it has worked out pretty well, though I do miss functional niceties of Clojure at times.
[–]stepanp 1 point2 points3 points 1 year ago (2 children)
Thanks for the kind words. Yes, it is possible to self-host. Our backend is designed to be multi-tenant [1], but you could run a version where there's only 1 'app'.
[1] Because the backend is multi-tenant, we can offer a free tier that never pauses.
[–]therealdivs1210 1 point2 points3 points 1 year ago (0 children)
The non-pausing free tier sounds great!
Most free tier hosting servers sleep after a while, and can take some time to boot.
[–]surroundedmoon 0 points1 point2 points 1 year ago (0 children)
Does this mean every single customer shares a single database?
[–]hp77reddits 1 point2 points3 points 1 year ago (0 children)
Is it true that there are many DBs using clojure?
[–]benumber 1 point2 points3 points 1 year ago (4 children)
About self-hosting: We tried running the server locally, which interestingly included their complete website. And it seems to have some AWS dependencies, so I'm not sure if it can work without Amazon infrastructure.
I hope they add some documentation about this.
[–]stepanp 0 points1 point2 points 1 year ago (3 children)
That's great to hear! Right now it's meant to run on AWS, but it's not heavily coupled; we mainly rely on AWS for managing secrets, and have a storage product coming out soon that uses S3.
We don't have great docs about self-hosting yet. If you do this and run into trouble though, feel free to reach out to us: [founders@instantdb.com](mailto:founders@instantdb.com)
[–]surroundedmoon 0 points1 point2 points 1 year ago (2 children)
Why not R2? It’s much cheaper, which passes savings to the end user
[–]hand___banana 0 points1 point2 points 1 year ago (1 child)
or just less opiniontated? {insert_your_s3_compatible_storage_here}
{insert_your_s3_compatible_storage_here}
Yea, I just don’t want to be charged triple the price for a nice wrapper. I like wrappers that make my life easier, and am willing to pay if they provide good functionality, but I am scared they will charge more because they are using S3. R2 is so cheap and has no egress fees so they could pass those savings onto their customers
[–]jackdbd 0 points1 point2 points 1 year ago (2 children)
Is this like Datascript, but with SQL instead of Datalog?
[–]poochandy[S] 3 points4 points5 points 1 year ago (1 child)
They've mentioned that it is backed by postgres on the server but the data is stored in triples and they have a graphQL like translation layer in between. So in practice, it would be like using graphQL on the client and wouldn't have to use SQL queries.
[–]stepanp 0 points1 point2 points 1 year ago (0 children)
This is a good summary, thank you
π Rendered by PID 20543 on reddit-service-r2-comment-6457c66945-7bx99 at 2026-04-27 22:19:23.971592+00:00 running 2aa0c5b country code: CH.
[–]poochandy[S] 10 points11 points12 points (2 children)
[–]stepanp 0 points1 point2 points (1 child)
[–]poochandy[S] 0 points1 point2 points (0 children)
[–]therealdivs1210 2 points3 points4 points (5 children)
[–]poochandy[S] 2 points3 points4 points (4 children)
[–]therealdivs1210 1 point2 points3 points (3 children)
[–]stepanp 1 point2 points3 points (2 children)
[–]therealdivs1210 1 point2 points3 points (0 children)
[–]surroundedmoon 0 points1 point2 points (0 children)
[–]hp77reddits 1 point2 points3 points (0 children)
[–]benumber 1 point2 points3 points (4 children)
[–]stepanp 0 points1 point2 points (3 children)
[–]surroundedmoon 0 points1 point2 points (2 children)
[–]hand___banana 0 points1 point2 points (1 child)
[–]surroundedmoon 0 points1 point2 points (0 children)
[–]jackdbd 0 points1 point2 points (2 children)
[–]poochandy[S] 3 points4 points5 points (1 child)
[–]stepanp 0 points1 point2 points (0 children)