Skip to content

Latest commit

 

History

340 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Invoice logo

Cloud Invoice

Open-source, an invoice manager you own.

CodeRabbit Pull Request Reviews License: AGPL-3.0

Next.js React Prisma PostgreSQL TypeScript

Cloudflare Vercel Netlify

Deploy to Cloudflare Deploy with Vercel Deploy to Netlify


To learn about features, setup, contribution and more, visit docs.

Deploy your own instance

The buttons above clone the latest default branch into your own Git account and wire it up for continuous deploys on Cloudflare, Vercel, or Netlify. The repository must be public. No secrets are embedded in the repo or the link — you are prompted for the environment variables below at deploy time.

Environment variables

Required:

  • DATABASE_URL - a PostgreSQL connection string (Neon, Supabase, RDS, ...)
  • AUTH_SECRET - a random secret: openssl rand -base64 32

Optional (defaults shown):

  • AUTH_SESSION_MAX_AGE - session lifetime in seconds (default 86400)
  • SEED_USER_NAME, SEED_USER_EMAIL, SEED_USER_PASSWORD - pre-provisions an admin user. Without these you cannot sign in, so set them at deploy time.
  • ALGOLIA_APP_ID, ALGOLIA_SEARCH_API_KEY, ALGOLIA_ADMIN_API_KEY, ALGOLIA_INDEX_NAME - global search. Search gracefully degrades when unset; indexing runs via npm run index:algolia.

Database setup & admin seeding

Every build runs npm run db:setup, which automatically:

  1. applies all committed Prisma migrations (prisma migrate deploy),
  2. seeds the admin user from SEED_USER_* (idempotent — existing users are left untouched),
  3. ensures a default company profile row exists.

It is safe to run on every deploy. A database is required: if it is unreachable or migration/seeding fails, the build fails loudly, so a broken deployment is never shipped.

License

GNU Affero General Public License v3.0

Bundled third-party code-

  • vendor/taepdf —> MIT License (browser HTML-to-PDF engine)

Cloud Invoice will never advertise inside your invoices.

About

The open-source invoicing app you actually own forever free.

Topics

Resources

Code of conduct

Contributing

Stars

5 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages