Private Decentralized Communication Network
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Kevin F 61051d5711 Removed old scripts 5 months ago
.github Create stale.yml 3 years ago
.vscode added sneakernet auto importing 3 years ago
docs work on wot cli 7 months ago
install move centos install 2 years ago
scripts Removed old scripts 5 months ago
src Disconnect peers who stem a bad block 5 months ago
static-data Only expose wot to rpc if rpc is active 5 months ago
tests Added test for multiprocess wrapper 5 months ago
.dockerignore Docker improvements 2 years ago
.env adjusted pythonpath .env 1 year ago
.gitignore add all venvs to gitignore and update changelog 2 years ago
.gitlab-ci.yml added helium test deps to ci 3 years ago
.onionr.yml Rename AUR package to onionr-git 4 years ago add all venvs to gitignore and update changelog 2 years ago fixed everything being executable permission 4 years ago fixed some bugs 4 years ago
Dockerfile Updated dockerfile 8 months ago Use list for version infos in issue template 2 years ago
LICENSE.txt Update LICENSE.txt 4 years ago
Makefile moved to niceware from mnemonic 4 years ago Split up requirements that default official plugins have 9 months ago correct readme to current status 10 months ago moved tests to parent directory 4 years ago Mostly finished with wot command processing 9 months ago bug fixes in block creation and directory security 3 years ago added site lister 3 years ago work on wot cli 7 months ago
requirements-base-x86.txt Add result plugin to reduce confusing use of exceptions 6 months ago Add result plugin to reduce confusing use of exceptions 6 months ago Bumped dependencies 1 year ago
requirements-dev.txt Bumped dependencies 1 year ago
requirements-x86-all-plugins.txt Add result plugin to reduce confusing use of exceptions 6 months ago Work on gossip tests and cleaned up api server some 1 year ago fixed everything being executable permission 4 years ago added script to start many nodes 3 years ago

Privacy Respecting Communication Network 📡

WIP anonymous social platform, mail, file sharing and marketplace

- Discord - Matrix:

Install Features Screenshots
Docs Get involved

The main repository for this software is at

Note that this README reflects the state of the rewrite, and not the original alpha network

Mirrors Gitea

Onionr ("Onion Relay") is a decentralized/distributed peer-to-peer communication network, designed to be anonymous and resistant to (meta)data analysis, spam, and corruption.

Onionr gives the individual the ability to speak freely, without fear of surveillance and censorship.

Onionr internals


At the core, Onionr is an anonymous Distributed Hash Table (DHT) syncing prepackaged blocks using a simple Gossip protocol with Dandelion++ as an overlay network on top of Tor and I2P.

Onionr stores data in independent packages referred to as 'blocks'. The blocks are distributed to all nodes, but are not required to be stored. Blocks and user IDs cannot be easily proven to have been created by a particular user. Even if Dandelion++ is defeated and there is enough evidence to believe that a specific node is linked to a block's creation, nodes still operate behind Tor or I2P and as such cannot be trivially unmasked. Anonymity is achieved by a stateless network, with no given indication of what node a block originates from. In fact, since one is not required to participate in routing or storage to insert a message, blocks often do not originate from any identifiable node, similar to how Bitcoin transactions do not necessarily originate from a wallet directly associated with a node.

Onionr Gossip

Onionr works via epidemic/gossip style routing, with message delivery taking roughly logC(N) cycles where C is the number of nodes to send a message to each cycle and N is the number of connected nodes. So a network of 100 million nodes can deliver messages in a few minutes even with high packet loss and malfunctioning nodes.

Through Dandelion++ message forwarding and key privacy, it is intended to be nigh impossible to discover the identity of a message creator or recipient. Via long-term traffic analysis, a well funded adversary may discover the most probable node(s) to be creating a set of related blocks, however doing so would only lead them to a node behind Tor. As the first node that a block appears on is almost always not the creator of the block, there is plausible deniability regarding the true creator of the block.

Users are identified by ed25519/curve25519 public keys, which can be used to sign blocks or send encrypted data.

Onionr can be used for mail, as a social network, instant messenger, file sharing software, or for encrypted group discussion.

Since Onionr is technically just a data format, any routing scheme can technically be used to pass messages.

The whitepaper is available here.

Main Features

  • 🌐 Fully p2p/decentralized, no trackers or other single points of failure
  • 🕵️ Metadata analysis resistance and anonymity
  • 📡 Transport agnosticism (no internet required)




More docs coming soon.

Install and Run on Linux

The following applies to Ubuntu Bionic. Other distributions may have different package or command names.

Master may be unstable, you should use the latest release tag. (checkout via git: $ git checkout release-latest)

$ sudo apt install python3-pip python3-dev tor

  • Have python3.10, python3-pip, Tor (daemon, not browser) installed. python3-dev is recommended.
  • You may need build-essentials or the equivalent of your platform
  • Clone the git repo: $ git clone --tags
  • cd into install direction: $ cd onionr/
  • Install the Python dependencies (virtualenv strongly recommended): $ pip3 install --require-hashes -r requirements-x86-all-plugins.txt

Require-hashes is suggested for supply-chain security but is optional. The hashes are not correct for ARM machines. If you are just running a node or want a bare-bones install you can use requirements-base-x86.txt and selectively install the requirements.txt files in static-data/official-plugins/ subdirectories

Run Onionr

  • Run Onionr normally: $ ./ start
  • Run Onionr in background as daemon: $ ./
  • Gracefully stop Onionr from CLI $ ./ stop


  • Email: onionr [ at ]
  • Twitter: @onionrnet
  • Matrix:
  • Discord: (Discord is bad for freedom and privacy, this is only provided for convenience)

Help out

Everyone is welcome to contribute. Help is wanted for the following:

  • Development (Get in touch first)
    • Creation of a shared lib for use from other languages and faster proof-of-work
    • Android and IOS development
    • Mac support (testers needed)
    • Bug fixes and development of new features
  • Testing
  • Translations/localizations
  • UI/UX design
  • Running stable nodes
  • Security review/audit
  • I2P support

Watch the talk from BSidesPDX 2019

improving anonymous networking talk link

Contribute money:

Donating at least $3 gets you cool Onionr stickers. Get in touch if you want them.


  • Bitcoin: bc1qpayme9rlpkch0qp3r79lvm5racr7t6llauwfmg (Contact us for a unique address or for other coins)

  • Monero: 4B5BA24d1P3R5aWEpkGY5TP7buJJcn2aSGBVRQCHhpiahxeB4aWsu15XwmuTjC6VF62NApZeJGTS248RMVECP8aW73Uj2ax

  • USD (Card/Paypal (no account required)): Ko-Fi

  • Sign up for (refferal link) to protect your personal information when contributing or shopping elsewhere, we both get $5 USD.

Note: not tax deductible


Onionr is alpha software. This means it is unstable, probably insecure, and experimental.

No matter how good Onionr and other software gets, there will always be ways for clever or well-funded adversaries to break your security.

Onionr does not protect your identity if you associate your user ID with your name either on Onionr or elsewhere.

Do not rely on Onionr or any other software to hold up if your life or liberty are at stake.

Licenses and Branding

Onionr is published under the GNU GPL v3 license, except for the logo.

The Tor Project and I2P developers do not own, create, or endorse this project, and are not otherwise involved.

Tor is a trademark for the Tor Project. We do not own it.

The Onionr logo was created by Anhar Ismail under the Creative Commons Attribution 4.0 International License.

If you modify and redistribute our code ("forking"), please use a different logo and project name to avoid confusion. Please do not use the project name or logo in a way that makes it seem like we endorse you without our permission.