RefRef logo

RefRef

Open source referral marketing platform for launching referral and affiliate programs with rewards and analytics

Repository activity
  • Stars189
  • Forks44
  • Open Issues6
License

AGPL-3.0

Languages
  • TypeScript
  • MDX
  • JavaScript
RefRef screenshot

About RefRef

RefRef is an open source referral management platform for building referral and affiliate programs. It helps teams launch programs in minutes, track referrals, and manage customer acquisition through word-of-mouth marketing.

It includes a JS snippet for referral attribution, customizable rewards, referrer and partner portals, personalized landing pages, nudges, fraud monitoring, manual and automatic reward approval, reward dispersal, engagement analytics, and a testing environment.

RefRef is in alpha and may have bugs and breaking changes. It is self-hosted with Docker Compose, uses PostgreSQL, and is released under AGPLv3. The stack includes TypeScript, React, Next.js, TailwindCSS, Better-Auth, Zod, Vitest, Fumadocs, Drizzle, and Turborepo.

Key features

  • JS snippet for referral attribution
  • Customizable rewards and reward approval rules
  • Referrer portal and partner portal
  • Fraud monitoring and engagement analytics
  • Testing environment for referral programs

Details

On GitHub since
2025
Language
TypeScript
License
AGPL-3.0
Database
PostgreSQL
Install
Docker Compose
Status
Alpha