Skip to content
FOSSBillingPublic

About

API for FOSSBilling release metadata, extensions, central alerts, and preview builds.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

FOSSBilling API

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.

Local Development

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.vars

Fill 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 dev

The API runs at http://127.0.0.1:8787. See the local setup guide for credentials and configuration.

Checks

npm run format:check
npm run lint
npm run typecheck
npm test
npm run build:api

Deployments

GitHub 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.

About

API for FOSSBilling release metadata, extensions, central alerts, and preview builds.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Sponsor this project

Used by

Contributors

Languages