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.
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.
export default function Notes() {
return (
<main>
<h1>Notes</h1>
<ul>
<li>Write the app.</li>
<li>Ship one file.</li>
</ul>
</main>
);
}
$ albedo build
A Notes no hooks, no async, no IO, no side effects - static markupJavaScript sent for it: 0 B. It arrives as finished HTML.
- No directive anywhere saying where this code runs.
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.
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.
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.
$ 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.
- 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.
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