Built on Free Pascal.
ion7's apps compile with FPC into one static binary: fcl-web routes, Mustache templates, HTMX pages and SQLite. Here's what it generates.
Free to start · Pro $99/mo for heavy use
Architecture
A technical page, not a pitch.
- 1
fcl-web, no framework zoo
Routes on httproute and fphttpapp, Mustache templates, HTMX partials. No Node, no npm on the server.
- 2
One static binary
FPC 3.2.2 compiles the app; the binary runs in its own container with a SQLite database.
- 3
Checked before you see it
Every build is compiled, deployed to a preview, opened in a browser and re-tested by the agent.
program app;
{$MODE DELPHI}{$H+}
// ion7 builds with FPC 3.2.2, which has no anonymous methods / closures.
// cthreads must be the first unit so the HTTP worker threads run; cwstring
// sets DefaultSystemCodePage to UTF-8 — without it fpjson mangles every
// accented character it parses. Keep both whatever else changes here.
uses
{$IFDEF UNIX}cthreads, cwstring,{$ENDIF}
SysUtils, Classes, fphttpapp,
Router in 'src/Router.pas';
begin
Router.RegisterRoutes; // every route lives in src/Router.pas
Application.Port := 9000;
Application.Threaded := True;
Application.Initialize;
WriteLn('ion7 · listening on :9000');
Application.Run;
end.The entry point every generated app grows from: routes in Router.pas, handlers in Views.pas, Mustache templates under templates/, static files under public/ embedded into the binary at build time.
Questions
Can I read the source?+
Yes. Every project's .pas files are browsable in the editor, exportable, and can be pushed to GitHub.
Delphi?+
The generated code is Free Pascal in Delphi mode ({$MODE DELPHI}), so it reads like Delphi; the web stack is fcl-web rather than a Delphi framework.
PHP too?+
PHP with HTMX is available in beta for teams that prefer it.
See what FPC builds for the web.
Build something