The FOSSBilling API serves release metadata, extension data, central alerts and preview build lookups on Cloudflare Workers. See the Worker guide for endpoints and configuration.
Extension packaging and logging live in private npm workspaces.
Use Node.js 26.12.0 or later in the 26.x series. Run the setup from the repository root.
npm ci
npm run cf-typegen
cp -n services/api/.dev.vars.example services/api/.dev.varsFill in the credentials for the features you use in services/api/.dev.vars,
then apply local migrations and start the Worker.
npm run db:migrate:all:local --workspace @fossbilling/api
npm run devThe API runs at http://127.0.0.1:8787. See the local setup guide for credentials and configuration.
npm run format:check
npm run lint
npm run typecheck
npm test
npm run build:apiGitHub Actions validates PRs targeting main. Pushes to main deploy production and refresh the named staging Preview. Branch pushes other than main and the reserved staging branch deploy their own Previews.
CI workflow · Deployment guide
npm run cf-deploy applies remote D1 migrations and deploys production.