Skip to content
@ReffoAI

Reffo AI

Decentralized Commerce

Reffo

The open-source protocol for decentralized commerce.

Website · About · Download Beacon

Protocol License Beacon License GitHub Stars


What is Reffo?

Today's online marketplaces charge sellers 10-20% in fees, harvest your data, and dictate what you can sell. Reffo is the alternative: an open protocol that lets anyone trade directly with anyone else — no platform taking a cut.

Think of it like email for commerce. Anyone can run a node, anyone can trade with anyone, regardless of provider.

image

How it works

  1. Run a beacon — Download the app or run npx create-reffo-beacon. Your beacon is your personal storefront on the open network.
  2. List your items — Products, rentals, services, things to trade. Your inventory, your rules.
  3. Trade directly — Buyers discover your items through search, send offers, and you negotiate peer-to-peer.

Repositories

Repo Description License
reffo-protocol Shared type system, Schema.org extensions, and category schemas that let beacons speak the same language. CC0-1.0
reffo-beacon Self-hosted inventory server. SQLite database, Express API, Hyperswarm DHT peer discovery. AGPL-3.0
reffo-webapp Search and discovery layer at reffo.ai. Next.js, React, Supabase. Proprietary
create-reffo-beacon One-command scaffold: npx create-reffo-beacon — sets up a beacon project in seconds. AGPL-3.0

Get started

Set up with npm

npx create-reffo-beacon
cd my-reffo-beacon
npm run dev

Open http://localhost:3000 — your beacon is live.

Download a prebuilt bundle

Grab the latest release from reffo-beacon/releases — extract, double-click, done. Includes an embedded Node.js runtime so nothing else is needed.

Connect to Reffo.ai (optional)

Generate an API key at reffo.ai/account and paste it into your beacon's Settings page. This syncs your listings to the Reffo.ai discovery network. It's entirely optional — your beacon works independently without it.

Architecture

┌──────────────────────────────────────────────┐
│           @reffo/protocol (CC0)              │
│        Shared types, schemas, utilities       │
└────────────┬─────────────────┬───────────────┘
             │                 │
     ┌───────▼───────┐ ┌──────▼──────┐
     │  reffo-beacon │ │ reffo-webapp │
     │  Self-hosted  │ │  Discovery   │
     │  Express +    │ │  Next.js +   │
     │  SQLite +     │ │  Supabase    │
     │  Hyperswarm   │ │              │
     └───────┬───────┘ └──────────────┘
             │
             ▼
     Hyperswarm DHT
     (peer-to-peer network)

Principles

  • The protocol, beacon, and core tooling are free and open source — always.
  • Peer-to-peer trading will never require a Reffo.ai account or fee.
  • Optional Reffo.ai services (API, managed integrations, enhanced search) are always opt-in.
  • We will never insert ourselves into transactions between independent beacons.

Status

Reffo is in early alpha. Star the repos to follow progress.

Contributing

We welcome contributions to all Reffo projects. See our Contributing Guide and Code of Conduct.

License

Each project is licensed independently — see the table above. The protocol is CC0 (public domain). The beacon and CLI are AGPL-3.0. The webapp is proprietary.

Popular repositories Loading

  1. pelagora pelagora Public

    TypeScript 1

  2. pelagora-cli-installer pelagora-cli-installer Public

    CLI installer for Reffo beacon

    JavaScript

  3. .github .github Public

    Organization-wide community health files and templates for Reffo projects

  4. pim-protocol pim-protocol Public

    TypeScript

  5. docs docs Public

    Pelagora developer documentation

  6. pelagora-org pelagora-org Public

    Pelagora.org community site

    TypeScript

Repositories

Showing 7 of 7 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…