Sharing something I just shipped. OpenPromoter is affiliate and referral software for SaaS products.
If you sell a subscription, it tracks which partner sent each customer and works out the commission. A refund lowers the commission on its own, and odd-looking sales wait for your review before anyone gets paid.
Stack, for anyone curious: Next.js and Postgres. There's no Redis, the job queue is just a Postgres table. It's open source under AGPL-3.0 and runs with one docker compose command.
If you've built anything with partners or referrals in it, what broke first for you?