DocsGet started

Welcome to Sluurp

Sluurp is a whole backend and app server, in one binary, for building web apps.

Get started

What’s inside

  • A database. Collections in SQLite, one file per project, with access rules, history and search.
  • Sign-in. Passwords, magic links, passkeys, two-factor and OAuth, with users and roles.
  • An API. REST, realtime and sync for every collection, and a typed client for the browser.
  • An app server. Pages rendered on the server, islands for what moves, and functions you call from the page.
  • Background work. Scheduled jobs, queues, workflows that survive restarts, and mail.
  • AI. Agents that react to changes, and one call to any model.
  • An admin. Collections, records, rules, logs, SQL, backups and jobs, at /_/.

What is Sluurp?

Sluurp ships as one executable, sluurp. It stores data in a folder of SQLite files and serves an API, an admin and your app. There is nothing else to install and no service to run beside it.

sluurp create my-app                 # a new app
sluurp serve --public .              # serve it, with the API and the admin
sluurp push . --deploy production    # save it as a version, and serve that

You write the parts only your app has: its pages, its data model and the server code it needs. Sluurp does the rest, under the same access rules everywhere.

How it’s built

Sluurp’s core is written in Rust and keeps your data in SQLite. It runs on Bun, which runs your server code, bundles your pages and installs your packages. Several servers can run as one swarm, each keeping the same copy of the data.

Design goals

  • One binary. Everything an app needs comes in one file. To deploy, you copy it.
  • Secure by default. Access rules are written once and enforced in SQL, for every request.
  • Fast. Pages render on the server, queries run in SQLite, and only the parts that move run in the browser.
  • Little to configure. Where a file lives decides what it does, and the defaults are the ones you’d pick.
  • Yours. Your data stays in plain SQLite files that any tool can open.

Found a bug, or missing something? Report a bug or suggest a feature.

View as Markdown