AccountGo
Self-hosted accounting and ERP with a .NET API on Cloudflare Containers, a React interface and external PostgreSQL.
AccountGo is an open-source, multi-tenant accounting and ERP platform for small and medium enterprises, multi-company groups, and non-profits. It combines a .NET 10 ASP.NET Core backend running in Cloudflare Containers with a React 19 single-page application served via Cloudflare Workers static assets. Features include double-entry general ledger, chart of accounts, sales and accounts receivable, purchasing and accounts payable, inventory, donations with tax receipts, passwordless OTP authentication, and role-based access control.
AccountGo is an open-source accounting and ERP application for small and medium businesses, multi-company groups and non-profits. It includes a double-entry general ledger, sales and receivables, purchasing and payables, inventory, donations and tax receipts, passwordless OTP sign-in, and role-based access. The current source is licensed under AGPL-3.0-only. For self-hosting on Cloudflare, the .NET 10 API runs in Containers behind a Worker, and the React frontend is served by a separate Worker with static assets and an API service binding. Data lives in externally hosted PostgreSQL, not Cloudflare D1. Containers require Workers Paid, and Docker must be running locally for the image build. PostgreSQL must be reachable over IPv4; the guide recommends the session pooler for Supabase. The API applies database migrations on startup. Use the public wrangler.example.jsonc templates for both src/Api and src/Web. Set your own Worker names, public URLs, API binding, CORS origins and production environment values. Store SECRET_KEY, a distinct INTERNAL_SYNC_KEY and the PostgreSQL connection string as secrets. Production OTP sign-in needs a configured email provider and sender identity. Development defaults such as Console email and localhost URLs are not a ready production configuration. AccountGo Cloud is operated separately from this documented self-hosting path.
Built for: Small to medium enterprises, multi-company groups, and non-profit organizations needing open-source accounting software.
What you can use it for
- double-entry accounting and general ledger
- sales invoicing and accounts receivable
- purchasing and accounts payable
- inventory management
- donor tracking and tax receipts for non-profits
- multi-tenant company and workspace management
Deploy
CLI
Branch main, requires Workers Paid
After cloning: copy and configure both wrangler.example.jsonc templates. Requires Docker running, IPv4-reachable PostgreSQL, production email, own URLs/CORS/API binding and API secrets SECRET_KEY, INTERNAL_SYNC_KEY and ConnectionStrings__PostgresConnection. Do not deploy the Development/Console/localhost defaults unchanged.
cd src/Api && pnpm install && npx wrangler deploy && cd ../Web && pnpm install && pnpm build && pnpm wrangler deploy
Prepare API and Web Wrangler templates, own URLs/CORS/service binding, PostgreSQL and production email. Set the API secrets; deploy the API container and then build/deploy the Web Worker. Docker must be running.
What it needs to run
- D1 databasesaccountgo-db
- Durable ObjectsAccountGoApiContainer
Secrets and variables to set
INTERNAL_SYNC_KEY(secret): Dedicated internal API secret; must differ from SECRET_KEY.SECRET_KEY(secret): API signing/OTP secret, at least 32 bytes. Set on the API Worker.
Good to know
Requires Workers Paid/Containers, Docker for the build and external PostgreSQL reachable over IPv4. Production OTP email needs a configured provider and sender. Replace Development, Console-email and localhost defaults in both public Wrangler templates with your own production settings. The AGPL-3.0-only license applies to the current source; consult its terms for modified network deployments.
Cost on Cloudflare
Paid Cloudflare plan required
The Cloudflare deployment uses Containers and requires Workers Paid. Container usage, externally hosted PostgreSQL and production email can add separate costs.
The estimate is based on Cloudflare’s documented limits and the app’s configuration. What you pay depends on your usage and plan.
Where this comes from
- Repositoryhttps://github.com/AccountGo/accountgo
- App websitehttps://app.accountgo.dev/
- Demohttps://app.accountgo.dev/login
- Documentationhttps://github.com/AccountGo/accountgo/blob/ab69d4dffecf960ac4ecfb1b8faddf93326d74a0/docs/DEPLOYMENT.md
Listing history
- Nov 7, 2026 · AccountGo listed