Skip to content

plebbit/5chan

Repository files navigation

Telegram group for this repo https://t.me/fivechandev

5chan

5chan is a serverless, adminless, decentralized and open-source 4chan alternative built on the Plebbit protocol. It features the same directory structure as 4chan, but with a crucial difference: anyone can create and own boards, and multiple boards can compete for each directory slot.

Key Features

Decentralized Board Ownership

Unlike traditional imageboards, 5chan has no global admins or central authority. Anyone can create unlimited boards using their own plebbit node. Each board owner runs their own P2P node that users connect to peer-to-peer, giving them complete control over their board's content, moderation, and rules.

Competitive Directory System

5chan maintains the familiar 4chan directory structure (Japanese Culture, Video Games, Interests, Creative, etc.), but introduces competition: multiple boards can compete for each directory slot. For example, there can be unlimited "Business & Finance" boards, but only the highest-voted one appears in the directory on the homepage.

Currently, directory assignments are temporarily handpicked by developers through GitHub pull requests. In the future, this will be fully automated through gasless pubsub voting (see Future Roadmap below), making the process completely decentralized and community-driven.

How It Works

  • Current System: Developers manually curate directory assignments by reviewing pull requests to the 5chan-multisub.json file. This is temporary until DAO curation is implemented.

  • Future System: Directory board assignments will be determined through gasless voting using pubsub. Community members will vote on which board should be assigned to each directory, and the highest-voted board will automatically become the directory board. This creates a competitive marketplace where board quality and community engagement determine directory placement.

  • Accessing Boards: Users can access any board at any time using its address, regardless of directory assignment. Boards can be accessed via the search bar, by subscribing to them (which adds them to the top bar), or by directly navigating to their address.

Future Roadmap

The protocol design for pubsub voting is already drafted in plebbit-js issue #25. This will enable:

  • Gasless voting using pubsub topics
  • Weighted voting based on token balances
  • Automatic directory resolution based on vote tallies
  • Full decentralization without any intermediaries

This feature is on the plebbit-js roadmap but hasn't been implemented yet.

Downloads

Creating a Board

In the plebbit protocol, a 5chan board is called a subplebbit. To create and run a subplebbit, you can choose between two options:

Option 1: Seedit GUI Client (Recommended for beginners)

  1. Download the desktop version of the Seedit client, available for Windows, macOS, and Linux: latest release
  2. Create a subplebbit using the familiar old.reddit-like UI
  3. Modify its settings to your liking
  4. Keep the app running to keep your board online (it runs an IPFS node)

Option 2: plebbit-cli Command Line Interface

  1. Install plebbit-cli, available for Windows, macOS, and Linux: latest release
  2. Follow the instructions in the repo's README
  3. When running the daemon for the first time, it will output WebUI links you can use to manage your subplebbit with a GUI

Once created, anyone can connect to your subplebbit using any plebbit client (such as 5chan or Seedit) by using the subplebbit's address. The address is not stored in any central database—plebbit is a pure peer-to-peer protocol.

Submitting Your Board to a Directory

To have your board appear in a directory on the 5chan homepage:

  1. Ensure your board meets these requirements:

    • Active and well-moderated
    • Relevant to the directory category
    • 99% uptime (since a board acts like its own server—it's a P2P node)
  2. Open a pull request on GitHub by editing the 5chan-multisub.json file

  3. Add your board's entry with:

    • Title
    • Address
    • NSFW status (if applicable)
  4. The developers will review your PR and merge it if approved

Note: Even if your board isn't assigned to a directory, users can still access it at any time using its address. Directory assignment only affects visibility on the homepage.

Development

Prerequisites

Setup

  1. Clone the repository
  2. Install dependencies: yarn install --frozen-lockfile
  3. Start the web client: yarn start

Scripts

  • Web client: yarn start
  • Electron client (must start web client first): yarn electron
  • Electron client (don't delete data): yarn electron:no-delete-data
  • Web client and electron client: yarn electron:start
  • Web client and electron client (don't delete data): yarn electron:start:no-delete-data

Build

The Linux/Windows/macOS/Android build scripts are in .github/workflows/release.yml

License

5chan is open-source software (GPLv2 license) with no owner—anyone can host their own instance on any domain. The operator of any domain is merely hosting the web app and does not own, create, moderate, or control 5chan or any board content, which is stored peer-to-peer and generated by board owners and users.