Try it · about two minutes

Don’t take our word for it.

Three steps, and every one of them runs on this page. The site is an ALB’DO app: what you touch below is the product, not a recording of it.

  1. 01 Change a component. The compiler decides where it runs.
  2. 02 Type in one tab. Watch it land in the other.
  3. 03 Count what you stop running.
01 · Write

Change the component. Watch the compiler decide.

Switch things on. The file changes, and so does what ALB’DO does with it: static HTML, rendered by the server, or a small island. You never say which. Every build line here was printed by the real albedo build for exactly the file shown.

src/routes/notes.tsx
export default function Notes() {
  return (
    <main>
      <h1>Notes</h1>
      <ul>
        <li>Write the app.</li>
        <li>Ship one file.</li>
      </ul>
    </main>
  );
}
terminal
$ albedo build
  A Notes   no hooks, no async, no IO, no side effects - static markup
A
Static

JavaScript sent for it: 0 B. It arrives as finished HTML.

  • No directive anywhere saying where this code runs.
02 · Run

Now it’s live. Really.

We just opened a room for you on this server — yours alone. Type a note in one tab and it appears in the other. Open the address on your phone and it appears there too.

Opening your room…
Tab one
Tab two
src/routes/try/room/[id].tsx — the whole room
import { action, useSharedSlot } from "albedo";
import { notes } from "albedo/forge";

export const add = action(({ form }) => {
  const room = String(form.room ?? "");
  const body = String(form.body ?? "").trim().slice(0, 60);
  if (!/^[a-z0-9]{8}$/.test(room)) return { error: { body: "That room does not exist." } };
  if (!body) return { error: { body: "Type something first." } };
  append("notes", { room, body, at: Date.now() });
});

export default function Room({ params }) {
  const rows = useSharedSlot(notes.where({ room: params.id }));
  return (
    <main className="pane">
      <ul className="pane-list">
        {rows.map((row) => (
          <li key={row.id}>{row.body}</li>
        ))}
      </ul>
      <form className="pane-add" action="action:add" method="POST">
        <input type="hidden" name="room" value={params.id} />
        <input name="body" maxlength="60" placeholder="Type a note, press Enter" autocomplete="off" aria-label="New note" />
        <button>Add</button>
      </form>
    </main>
  );
}
  • No component JavaScript.The room is rendered by the server. A new note reaches each tab as one changed row over the connection the page already has.
  • No API, no socket server, no state library.One read, one action. The live channel comes from the collection.
  • The read is the permission.Your room is its own channel. Nobody else’s notes reach your tabs, and yours reach nobody else’s.
03 · Ship

Then it’s one file.

The same notes app, packaged. The database, the server, sign-in and jobs are inside it. Copy it to a machine and run it.

terminal
$ albedo ship --target binary
  ✓ one file, runtime and app
    output   notesapp.albedo-bin.exe
    size     31.1 MB (30.8 MB runtime + 0.3 MB app)

    copy it to any box and run it — no Node, no source tree, no node_modules.
    it unpacks beside itself on first run; forge.db is created next to the binary.

What would you stop running?

Tick what your app runs on today. Add what each costs you a month if you like — the numbers stay in this tab.

Seats1
Today
0 things to run, patch and watch
With ALB’DO
1 binary, on a machine of your choice$59 a month for 1 seat, plus that machine

Tick what you run today.

Early beta

You’ve used it. Now build on it.

Everything on this page, and everything else in the full package, for one early-beta price per seat.

₹6,850per seat / month, GST included

  • The compiler, the server, FORGE and the rest of the backend
  • Every release as it ships
  • Billed monthly through Razorpay; cancel from your account page
Top