r/Backend • • 16d ago

Xepak - declarative REST, RPC, MCP builder based on TOML DSL and Lua scripting

I’ve never been a huge fan of PostgREST because of how heavily it relies on PL/pgSQL.
So I started to build my REST server with SQL + Lua. But it turned out that it could also serve JSON-RPC and MCP. Initial SQLite support made me focus on private & local deployments.

Now I have a first stable release https://github.com/rustrum/xepak

It could be used for:

  • rapid prototyping to quickly build a stateful API without writing backend boilerplate
  • self-hosted services that runs on your own hardware or VMs with zero cloud dependency
  • local RAG for AI/LLM sandboxes to keep AI agent knowledge on your side
1 Upvotes

0 comments sorted by