Show HN: Bebox – back end in a box, inside a single process bebox.run · 8 points · 2 comments · HN thread
TL;DR Bebox is a Show HN project that packs a backend's usual pieces (TLS edge, API gateway, auth, rate limits, HTTP cache, embedded databases, queues, cron, workflows) into one executable configured by a single bebox.toml. Handlers can be written in several languages, mixed within one project. The landing page includes live demos running against the bebox.run server itself.
- Single binary and single bebox.toml configure routing, API keys, JWT auth (Clerk/Auth0/Supabase JWKS), parameter bounds, JSON schemas, CORS, IP rules and durable rate limits; invalid requests fail before handler code runs.
- Embedded in-memory transactional state (dimedb) and disk-paged SQL (rodedb) with SSI transactions, BM25 full-text search, Int8 vector indexes and atomic multi-commit.
- ReadSetCache records the keys and SQL ranges each cached GET reads and evicts only affected responses on commit; [[stream]] pushes SSE updates.
- Background jobs via tx.enqueue, UTC cron schedules, and replay-safe workflows with journal, sleep and waitEvent.
- Deterministic testing under a u64 seed and virtual clock; claims of 3-5 node HA with encrypted replication, live .cartridge deploys in 154 ms, and Let's Encrypt HTTPS with HTTP/3.
- Handlers in TypeScript, Rust, Go, Python, C or Zig share one BoxHost capability ABI; install via a curl script, or run on a VPS, as a stripped binary, or as a container on Fly.io, Railway or Render.
Discussion The thread is very small, with only two comments, and it is mostly a naming joke. One commenter says they expected an emulator for the old BeBox computer rather than a 'Back End' acronym, and a reply points to an existing GitHub project named bebox. There is no technical discussion of the design, performance or claims.
- Name collides with existing BeBox references (some): One commenter expected an emulator for the BeBox computer and was surprised by the backend meaning. Another pointed to an unrelated existing bebox project on GitHub, suggesting the name is already taken in that space.
Links from the comments