brainstate

ZAK123DSFDF/refearnapp · source

Snapshot 0 · 2026-11-04T12:47:27Z · TypeScript · AGPL-3.0

Content fingerprint64b8bd38b7de33c3f935ab2d549704f30bd3791312c192e429118bfd56bd87ff

GitHub description at capture

🚀 High-scale affiliate tracking & referral management. Open-source & self-hostable alternative to Rewardful, FirstPromoter, and Tolt. Built for speed with Next.js, Cloudflare Edge, Drizzle, and Docker.

README at capture

<p align="center">
  <img src="https://assets.refearnapp.com/refearnapp.svg" alt="RefearnApp Logo" width="120px" />
</p>

<h1 align="center">RefearnApp: Performant High-Scale Affiliate Tracking Tool</h1>

<p align="center">
  <img src="https://img.shields.io/github/license/ZAK123DSFDF/refearnapp?color=indigo" alt="License" />
  <img src="https://img.shields.io/github/stars/ZAK123DSFDF/refearnapp?style=social" alt="Stars" />
</p>
<p align="center">
  <a href="https://www.producthunt.com/posts/refearnapp" target="_blank">
    <img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=refearnapp&theme=light" alt="RefearnApp - Open Source Affiliate Tracking | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" />
  </a>
</p>
<p align="center">
  RefearnApp is an open-source, high-performance platform designed to help you build, track, and scale referral programs with maximum efficiency.
</p>

<p align="center">
  <strong>An open-source and self-hostable alternative to:</strong> Rewardful, FirstPromoter, and Tolt.
</p>

<p align="center">
  <a href="https://refearnapp.com/docs">Explore the Docs »</a> | 
  <a href="https://discord.gg/fHw9j7P3w9">Discord Support</a>
</p>

<p align="center">
  <img src="https://assets.refearnapp.com/demo_updated_v2.gif" alt="RefearnApp Dashboard Demo" width="100%" />
</p>
---

## ✨ Core Features

* **Global Edge Tracking:** Track clicks and conversions with the global Cloudflare Edge network for near-zero latency.
* **Real-time Analytics:** Measure clicks, conversions, and payouts with precision using high-speed data processing.
* **Self-Hosted & Private:** Keep 100% control over your user data, financial records, and tracking logs.
* **High-Scale Infrastructure:** Native support for database synchronization and worker-based tracking designed for high-traffic environments.

---

## ⚖️ Self-Hosted vs. Managed Cloud

**Self-host and track your affiliates on your own platform.** RefearnApp allows you to manage all your transactions and payouts directly, without relying on third-party tracking tools. RefearnApp is 100% open-source under **AGPL-3.0**, and all features are free for self-hosted users.

> [!IMPORTANT]
> ### 🚀 Launch Special: RefearnApp Managed Cloud
> **Don’t want to manage servers, Docker, or infrastructure?**
> Get started instantly with our fully managed, zero-maintenance solution.
>
> 💎 **Limited One-Time Offer (First 50 Users):**
> * **Lifetime Access:** Pay once, own your Cloud instance forever.
> * **Edge-Native Tracking:** Powered by **Cloudflare Workers** & **Upstash Redis** for near-zero latency link tracking worldwide.
> * **Availability:** This one-time deal will transition to a **monthly subscription** once these slots are filled.
>
> 👉 **[Claim your Lifetime Cloud Seat — refearnapp.com](https://refearnapp.com/#pricing)**
---

| Feature | Self-Hosted (Free) | Managed Cloud |
| :--- | :---: | :---: |
| **Hosting** | Self-Hosted | **Zero Maintenance** |
| **Payment Model** | **Free** | **Subscription** |
| **Full Source Code Access** | ✅ | ✅ |
| **Stripe & Paddle Integration** | ✅ | ✅ |
| **PayPal Mass Payouts** | ✅ | ✅ |
| **Advanced Analytics** | ✅ | ✅ |
| **Affiliate Portal Customization** | ✅ | ✅ |
| **Coupon Code Tracking** | ✅ | ✅ |
| **Team Management** | ✅ | ✅ |

---
## 🛠 Tech Stack

RefearnApp is built with a modern, scalable architecture focused on speed and reliability:

* **Frontend & Dashboard:** Next.js & React (Tailwind CSS)
* **Tracking Layer:** Cloudflare Workers (Edge Computing)
* **Caching & Queuing:** Upstash Redis
* **Database:** PostgreSQL (via Drizzle ORM)
* **Package Manager:** Pnpm Workspaces (Monorepo)

---

## 🚀 Quick Start & Deployment

RefearnApp is designed to be easily deployed on your own infrastructure. Docker is our primary deployment engine.

### 🐳 Main Deployment: Docker
The entire RefearnApp dashboard and backend are containerized for simple, one-command setup.
* **Coolify Ready:** Easily deploy via [Coolify](https://coolify.io/) for a hassle-free experience.

### ☁️ Complimentary Integration: Cloudflare
Integrate Cloudflare Workers alongside your Docker setup to handle global click tracking at the edge, ensuring your redirect links are lightning-fast worldwide.

👉 **[Getting Started Guide](https://refearnapp.com/docs#getting-started)**

---

## 📖 Compliance & Privacy

* **Data Sovereignty:** Since RefearnApp is self-hosted, you own 100% of your affiliate and customer data.
* **Financial Independence:** Track your own financial data and commission records directly without relying on third-party tracking tools.
* **Privacy-First Tracking:** Our tracking workers are designed to be lightweight, cookie-compliant, and respect modern privacy standards.

---

## Star History

[![Star History Chart](https://api.star-history.com/image?repos=ZAK123DSFDF/refearnapp&type=date&legend=top-left)](https://www.star-history.com/?repos=ZAK123DSFDF%2Frefearnapp&type=date&legend=top-left)
---

## ⚖️ License

This repository's source code is available under the **AGPL-3.0 license**.

---

<p align="center">
  <img src="https://assets.refearnapp.com/refearnapp.svg" width="40px" />
  <br />
  <strong>Built with ❤️ by the RefearnApp Community.</strong>
</p>

---

![License](https://img.shields.io/github/license/ZAK123DSFDF/refearnapp?color=indigo)
![Stars](https://img.shields.io/github/stars/ZAK123DSFDF/refearnapp?style=social)

RefearnApp is an open-source, high-performance platform designed to help you build, track, and scale referral programs with maximum efficiency.

---

---

## 👨‍💻 About the Author & Project Sustainability

Hi, I'm **Zekariyas Berihun**. I built RefearnApp because I believe founders should have full control over their growth infrastructure without the burden of high monthly subscriptions and scaling overhead.

I am committed to RefearnApp for the long haul. My goal is to build the most stable, performant, and transparent affiliate tracking tool for the indie hacker community.

* **Follow the Journey:** [Connect on X (Twitter)](https://x.com/zekariyasberih4)
* **Get Support:** [Join our Discord Community](https://discord.gg/fHw9j7P3w9)
* **Custom Integration?** If you need help setting up RefearnApp for a high-scale enterprise, please [reach out here](https://refearnapp.com/contact).

---