site: <https://statebase.dev> quickstart: <https://statebase.dev/docs/quickstart> examples: <https://statebase.dev/apps> <https://statebase.dev/games> <https://statebase.dev/examples> arch: <https://statebase.dev/arch> dsl: <https://statebase.dev/dsl>
Hi everyone, I'm Brian. I like frontend a lot. I can do backend, but not every little thing is worth it and I've been making "detached" HTML apps (not even needing a web server) as long as I can remember. I wanted a way to standup some sort of secure way to save data, maybe with a little bit of logic with just a few commands. I didn't want code (TypeScript, Java, C#, etc), but I also didn't want no code either -- maybe it's the devops in me (Terraform?). I was done waiting, and made this. It hosts the logic, permissions and state you need for an agent, application or game with pure curl commands. Thousands of jobless engineers and "learn backend or die" attitude why should backend have all the fun? Besides this might be good for scripting and infrastructure setup too, so it has something for everyone. There's also a Tauri+pglite version for desktop dev (thank you pglite) and a Devvit template for Reddit games (I made a couple, ask) all running on the same engine.
Please give it a shot, and if you like what you see join my team (I got tired of working on it alone so I added a childhood friend and a few ex-coworkers) and I in our Discord. I'm full time on it now so any feedback even negative is more fuel. If it sucks, we want to know about it, so we can make it better.
Now for the big questions
*Is it Open Source?*
Not yet. There's a lot of reasons but the main one is the code is in a giant monorepo that has to be cleaned up. Another reason is I eventually want to make it Fair Source or Open Core, so that a hyperscaler can't just wrap it and charge everyone (including me) a lot of money just to use it. We do have to charge money for serious production use.
*What if you disappear tomorrow?*
Absolutely valid question. That's why I put a lot of effort into the export to SQL (eject) functionality. It's not perfect yet, but you can export all the logic and permissions into your own Postgres database. So if you want to run it 100% standalone from Statebase, you can. The SQL export generates is ugly for now; a lot has to do with nulls. We will improve it but I wanted to avoid forcing a schema to start.
*AI Support?*
MCP is coming very soon (next few days) and x402 payments is in the works. But I wanted to get it in the hands of flesh and bone, to see if it really excites someone as much as it does me. I know it's possible the vast majority of users will be agents, but hoping for at least a few flesh and blood champions.
*Plans?*
It's built on Cloudflare Durable Objects for cost savings and other advantages like built-in tenant isolation and native websockets (honestly scary how well DO mapped to our needs). But it could exist anywhere. We have a node version, a desktop version (Tauri+pglite), a devvit version (Reddit games) and so on. My dream is for this to get big, very big, so anyone making a prototype experiment, throwaway or even basic production loads reach for this. We also want to hold a game jam as soon as possible and eventually I want to make one-click installer plugins for Phaser, Unity, Godot and so on. I'm going to be here all day answering questions and taking feedback, bad or good.
Whatever happens, I'm going to be building with it my entire life. It just "feels" right to me. Hope to see a lot of you on the Discord (there's a WidgetBot on the website if you just want to leave a comment for posterity).
bhldev•26m ago