Show HN: Autumn – Open-source infra over Stripe

https://news.ycombinator.com/rss Hits: 10
Summary

Autumn Autumn is an open-source layer between Stripe and your application, allowing you to create any pricing model and embed it with a couple lines of code. On Autumn you can build: Subscriptions Credit systems & top ups Usage-based models & overages Custom plans for large customers All this without having to handle webhooks, upgrades/downgrades, cancellations or payment fails. Getting Started Cloud: The quickest way to start using Autumn is through our cloud service. Self Hosted: If you'd like to self-host Autumn: Make sure you have node.js and pnpm installed Install the project dependencies pnpm install Run our set up script: pnpm run setup Run Autumn: docker compose -f docker-compose.prod.yml up That's it! You should be able to see the Autumn dashboard on http://localhost:3000 . ⚠️ To log in, enter an email at the sign in page, and an OTP should appear in your console / terminal. Normally, we use Resend to email an OTP or Google OAuth -- these can be set up by providing your credentials in server/.env ℹ️ Our set up script initializes the required env vars and (optionally) a Supabase instance. If you'd like to use your own Postgres instance, you can do so -- just paste the connection string in the DATABASE_URL env variable at server/.env Troubleshooting If you encounter a SyntaxError: Unexpected end of JSON input error when running pnpm run setup again after previously running it, you may need to clear your database tables first. This is a known issue that can occur when running database migrations multiple times. To resolve this: Connect to your database Drop all existing tables Run the setup script again: Why Autumn 1️⃣ Billing infra gets complex fast More than payments: it's building permission management, metering, usage limits with cron jobs, and connecting it to upgrade, downgrade, cancellation and failed payments states. Race conditions, edge cases, and other bugs will slow you down. 2️⃣ Billing and app logic should be decoupled Growing companies iterate o...

First seen: 2025-06-24 16:12

Last seen: 2025-06-25 01:15