NewSwarms replicate SQLite pages, checked end to end

Sluurp is a whole backend & app server. All in one binary.

A database, sign-in, files, live updates, background jobs, AI agents and an admin, from the first minute. Write your pages and server code beside it, or point it at the app you have.

Install Sluurp v0.3

$ curl -fsSL https://raw.githubusercontent.com/SluurpHQ/releases/main/install.sh | sh
Then follow the quickstart

Everything an app needs. Built in.

Normally this takes several services, a week of setup and a lot of glue code. Here it's already running when you start.

Write it once.

Keep a page, its data and the server code it needs together in one file. The server code never leaves the server, and the page calls it like any other function.

How server functions work
routes/todos.tsx
export async function addTodo(title: string) {
  "use server";
  "allow: @request.auth.id != null";
  return server.collection("todos").create({ title });
}

export default async function Todos() {
  const todos = new Sluurp().collection("todos");
  const { items } = await todos.list();
  return <ul>{items.map((t) => <li>{t.title}</li>)}</ul>;
}

An agent is a short file.

An agent watches a collection and reacts to each change the way a teammate would. It might answer a question, write a summary or send an email. Agents run on the server under the same rules as everyone else, and they work without an AI model too.

How agents work
agents/tutor.ts
export const watch = { collection: "study_events" };

export async function act({ change, server, ai, agent }) {
  const said = change.record;
  // skip its own messages
  if (said.author === `agent:${agent}`) return;
  const ask = "Ask one short question.";
  const q = await ai(ask, said.text, schema);
  // no AI model set up: fall back to a default question
  const text = q?.question ?? "What do you know?";
  server.collection("study_events").create({ text });
}

The parts you need, baked in.

Each is a page of the docs, and none is a service to run beside it.

Try it on a folder you have open right now.

One binary and one folder. The rest of the afternoon is yours.

$ curl -fsSL https://raw.githubusercontent.com/SluurpHQ/releases/main/install.sh | sh