Builderloo
Forum

Builderloo runs on aweft, a full-stack TypeScript toolkit I build alongside it. It's MIT licensed, on npm as @aweftjs/*, and the source is at github.com/torrinworx/aweft. The idea: an app's state is an observable document. You assign to it, and that change is one commit. The page redraws from it, the other end of the socket receives it, and the store saves it. The same document is the model, the wire format and the storage format. It's split into 23 small packages, each with one job: core (the documents), sync, store (memory or Postgres), server, client, ui, ssg, jobs, and "batteries" for auth, uploads, email and notifications, health checks and logs. A package that doesn't need another one doesn't import it. How Builderloo uses it: - The whole server boot is one createServer call. It gets a folder of modules (the directory, news, events, jobs, the forum, the MCP server) plus the batteries for accounts, uploads, mail, notifications, logs and static files. Every other thing the server does is a module in that folder. - The store keeps accounts, sessions and live documents in Postgres. The directory, news, events and jobs live in their own tables in the same database. - A page opens one socket, and it carries both the shared documents and the calls. The admin pipeline tab watches a scrape run live by reading a shared document, so a reload picks it back up. - The scheduler that runs the scrapers every day is the jobs package. - On deploy, the ssg package writes every page as a static file: about 700 startup profiles, news, events and forum posts. The browser takes over the written page in place instead of drawing it again. Builderloo carries aweft as a git submodule and runs the TypeScript source directly, with no build step between them. When Builderloo finds a bug in the stack, the fix and its test go into aweft, and Builderloo moves to the new version. Builderloo moved onto aweft in mid-September. This forum is the newest part built on it. Happy to answer questions about any of it.

Sign in to comment
Sign in