Open source

Open source invoice generator

Infinity Invoices is MIT licensed and on GitHub. Self-host it on your own Vercel and Neon accounts, or use the hosted version and skip the setup. It is the same code either way.

  • MIT licensed
  • Next.js and Postgres
  • Self-host or use ours
What you get

Invoicing software you can read

Nothing is hidden behind an enterprise edition. What runs in production is what is in the repository.

  • MIT licensed

    Use it, change it and run it for your own business, including commercially.

  • A stack you already know

    Next.js, React, Tailwind CSS, Drizzle ORM and Postgres. Nothing exotic to learn before you can change a template.

  • Deploys to Vercel and Neon

    Run the app on Vercel with a Neon Postgres database. Both have free plans to start on.

  • Your data in your database

    Self-hosted, your invoices and client details live in a Postgres database that you control.

  • No lock-in either way

    Every invoice downloads as a PDF, hosted or self-hosted, so your records never depend on us.

  • Open to contributions

    Issues and pull requests are welcome. The contributing guide is in the repository.

Step by step

How to self-host it

  1. Step 1

    Clone the repository

    Clone it from GitHub and run pnpm install. You need Node.js 22 or newer and pnpm.

  2. Step 2

    Create a Neon database

    Create a Neon project with Neon Auth turned on, add its details to apps/web/.env, and push the schema with pnpm --filter @infinity/db db:push.

  3. Step 3

    Run it

    pnpm dev starts the app on localhost:3000. To put it online, deploy apps/web to Vercel.

  4. Step 4

    Add email if you want it

    Add a Resend API key to send invoices and reminders by email. PDF download works without one.

Self-host or hosted?

The code is identical. The difference is who looks after it. Self-hosting costs nothing but your time, and the hosted version costs a little so that you never have to think about a database.

Self-hostedHosted
CostYour own Vercel and Neon accountsFree for 5 invoices a month, then $5 a month or $29 once
SetupClone, configure and deploy it yourselfSign up and send an invoice
UpdatesPull and redeploy when you want themHandled for you
DataIn your own Postgres databaseIn ours, with every invoice downloadable as a PDF

The setup steps, environment variables and project layout are in the README on GitHub.

FAQ

Open source invoice generator: questions, answered

Is Infinity Invoices really open source?

Yes. The full source code is on GitHub under the MIT license, which lets you use, modify and self-host it, including for commercial work.

What is it built with?

Next.js and React with Tailwind CSS, a Neon Postgres database with Drizzle ORM, Neon Auth for sign-in and Resend for email.

Do I have to self-host to use it?

No. The hosted version at infinityinvoices.com runs the same code. It is free for 5 invoices a month, and paying for Pro is what funds the project.

Can I contribute?

Yes. Bug reports, fixes and new templates are welcome. Start with the contributing guide in the repository.

Your next invoice could take 30 seconds.