RefEarnApp logo

RefEarnApp

Self-hostable affiliate tracking and referral management for SaaS with edge tracking and real-time analytics

Repository activity
  • Stars23
  • Forks1
  • Open Issues8
License

AGPL-3.0

Languages
  • TypeScript
  • MDX
  • Vue
RefEarnApp screenshot

About RefEarnApp

RefEarnApp is an open-source platform for building, tracking, and scaling referral programs. It is designed for SaaS teams that want to run affiliate tracking on their own infrastructure and keep control of user data, financial records, and tracking logs.

It uses Cloudflare Edge and Cloudflare Workers for global click and conversion tracking, with real-time analytics for clicks, conversions, and payouts. The stack includes Next.js, React, Tailwind CSS, Upstash Redis, PostgreSQL, Drizzle ORM, and Docker, with native support for database synchronization and worker-based tracking.

RefEarnApp is AGPL-3.0 licensed and built for self-hosted use, with Docker as the main deployment path. A managed cloud option is also offered, but the core product is self-hostable and free for self-hosted users.

Key features

  • Global edge tracking for clicks and conversions
  • Real-time analytics for clicks, conversions, and payouts
  • Self-hosted control of user data and tracking logs
  • Database synchronization and worker-based tracking
  • Docker-based deployment

Details

On GitHub since
2025
Language
TypeScript
License
AGPL-3.0
Platforms
Web · Docker
Stack
Next.js · Cloudflare Workers · Drizzle