Framework
App host, routing, middleware, results, OpenAPI, auth, sessions, security headers, and health checks.
Build apps
Build TypeScript APIs, CLIs, local tools, and packaged app artifacts from a compiler-visible app model. Public alpha.
Author handlers in TypeScript. sloppyc reads supported source, extracts routes, providers, capabilities, services, and response shapes, and emits a deterministic Plan the runtime executes.
For editor IntelliSense, install the package as a dev dependency in your app workspace:
npm install --save-dev @slopware/sloppy@alpha
@slopware/sloppy ships TypeScript declarations (.d.ts) for the sloppy entry and supported subpath imports. Editor autocomplete and hover come from your project's tsconfig.json. Sloppy compiler diagnostics are reported separately by sloppy build; a dedicated Sloppy language server is not part of the alpha.
Typed parameter bindings like Route<T>, Body<T>, Service<T>, and Sqlite<"main"> drive Plan extraction and OpenAPI output.
import { Sloppy, Results } from "sloppy";
const app = Sloppy.create();
app.get("/health", () => Results.text("ok"));
app.get("/hello/{name}", (ctx) =>
Results.json({ hello: ctx.route.name })
);
export default app;npm install -g @slopware/sloppy@alpha
sloppy create my-api --template minimal-api
cd my-api && sloppy build
sloppy run .sloppy --once GET /healthExact support boundaries and current alpha limits are tracked in the stability matrix.
npm install -g @slopware/sloppy@alpha
sloppy create my-api
cd my-api
sloppy build
sloppy db migrate .sloppy --provider main
sloppy routes .sloppy
sloppy run .sloppy --once GET /health
sloppy run .sloppy --once GET /users
sloppy openapi .sloppy
sloppy package
sloppy db migrate .sloppy/package --provider main
sloppy run .sloppy/package --once GET /healthThat loop creates a project, compiles the supported source into .sloppy/ artifacts, applies the template SQLite migration, inspects routes, runs requests through the runtime, generates OpenAPI from Plan metadata, writes an app package, and proves the package can run outside the source checkout.
api, minimal-api, program, cli, package-api, and node-compat.create, build, dev, run, package, routes, health, metrics, deps, capabilities, doctor, audit, openapi, db status|migrate, orm migration add|script|status|apply, and jobs for SQLite scheduler table administration.node_modules is build input explains the dependency boundary.Sloppy is public alpha software. APIs and artifacts can change between alpha revisions. Package support is limited to compatible installed JavaScript that Sloppy can bundle, and Sloppy is not a full Node runtime.
Supported npm platform packages cover Windows x64, Linux x64 glibc, macOS arm64, and macOS x64. Linux arm64, Windows arm64, and musl/Alpine Linux are source-build paths until matching alpha packages ship.
Start with Examples and demo apps. The api, minimal-api, program, cli, package-api, and node-compat templates are the best first places to copy from.