2019-01-30 06:10:29 +00:00
< p align = "center" >
2018-03-03 09:38:27 +00:00
2019-02-01 19:55:59 +00:00
< img src = "./docs/onionr-logo.png" width = '250' >
2019-01-30 06:10:29 +00:00
< / p >
2019-02-01 06:38:12 +00:00
< p align = "center" >
2019-11-07 00:03:38 +00:00
Privacy Respecting Communication Network 📡
2019-02-01 06:38:12 +00:00
< / p >
2020-02-04 06:59:52 +00:00
< p align = "center" >
Anonymous social platform, mail, file sharing.
< / p >
2019-02-01 06:38:12 +00:00
2020-08-12 08:22:52 +00:00
< img src = 'https://img.shields.io/github/license/beardog108/onionr' > < img src = "https://img.shields.io/github/repo-size/beardog108/onionr" > < img src = 'https://img.shields.io/badge/python%20version%20%F0%9F%90%8D-3.7+-blue' > < img src = 'https://img.shields.io/github/commit-activity/m/beardog108/onionr' >
2019-08-30 09:47:23 +00:00
2021-01-16 01:40:37 +00:00
< a href = 'https://www.reddit.com/r/onionr' >< img src = 'https://img.shields.io/reddit/subreddit-subscribers/onionr?style=social' ></ a > < a href = 'https://twitter.com/onionrnet' >< img src = 'https://img.shields.io/twitter/follow/onionrnet?style=social' ></ a > - [Discord ](https://discord.gg/DVF2bEAzrt ) - Matrix: #onionr:amorgan .xyz
2019-08-30 09:47:23 +00:00
| | | |
| ----------- | ----------- | ----------- |
| [Install ](#install-and-run-on-linux ) | [Features ](#main-features ) | [Screenshots ](#screenshots )|
2020-01-29 19:44:35 +00:00
| [Docs ](#documentation )/[web copy](https://beardog108.github.io/onionr/) | [Get involved ](#help-out ) | [Onionr.net ](https://onionr.net/ )/[.onion](http://onionrbak72t5zhbzuey2fdkpczlvhowgcpqc6uoyrd3uxztzxwz5cyd.onion/) |
2018-09-07 04:57:10 +00:00
2018-04-01 06:40:31 +00:00
2021-02-01 04:58:07 +00:00
---
2018-01-05 09:16:21 +00:00
2020-06-26 00:42:02 +00:00
**The main repository for this software is at https://git.VoidNet.tech/kev/onionr/**
2019-08-30 00:37:39 +00:00
2020-06-26 00:42:02 +00:00
Mirrors: [Github ](https://github.com/beardog108/onionr ), [Gitlab ](https://gitlab.com/beardog/onionr )
2018-01-05 09:16:21 +00:00
2018-08-14 05:02:34 +00:00
2019-10-04 21:49:35 +00:00
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.
2018-08-14 05:02:34 +00:00
2021-02-01 04:58:07 +00:00
Onionr gives the individual the ability to speak freely, without fear of surveillance and censorship.
2019-10-16 06:32:14 +00:00
2021-02-01 04:58:07 +00:00
---
2020-01-28 06:57:33 +00:00
2021-02-01 04:58:07 +00:00
Onionr stores data in independent packages referred to as 'blocks'. The blocks are distributed to all nodes interested in their data type. Blocks and user IDs cannot be easily proven to have been created by a particular user. Even if there is enough evidence to believe that a specific user created a block, nodes still operate behind Tor 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.
Onionr works primarily via epidemic/gossip style routing, with message delivery taking roughly log< sub > F< / sub > (N) cycles where F 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 message mixing 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.
2018-08-14 05:02:34 +00:00
2019-05-11 18:32:56 +00:00
Users are identified by ed25519/curve25519 public keys, which can be used to sign blocks or send encrypted data.
2019-01-30 06:10:29 +00:00
Onionr can be used for mail, as a social network, instant messenger, file sharing software, or for encrypted group discussion.
2018-02-21 03:17:24 +00:00
2021-02-01 04:58:07 +00:00
Due to the nature of anonymity, the graph as implemented in this reference network is dense, undirected, cyclic and can be disconnected. Since Onionr is technically just a data format, any routing scheme can be used to pass messages.
2019-04-09 17:30:54 +00:00
2020-10-09 06:39:32 +00:00
The whitepaper is available [here ](docs/whitepaper.md ).
2019-05-15 23:25:36 +00:00
2021-02-01 04:58:07 +00:00
---
2019-01-30 06:10:29 +00:00
## Main Features
2018-08-14 05:02:34 +00:00
2019-03-05 06:06:49 +00:00
* [X] 🌐 Fully p2p/decentralized, no trackers or other single points of failure
* [X] 🔒 End to end encryption of user data
* [X] 📢 Optional non-encrypted blocks, useful for blog posts or public file sharing
2019-06-12 06:44:15 +00:00
* [X] 💻 Easy HTTP API for integration to websites
2019-03-05 06:06:49 +00:00
* [X] 🕵️ Metadata analysis resistance and anonymity
* [X] 📡 Transport agnosticism (no internet required)
2018-08-14 05:02:34 +00:00
2019-06-12 06:44:15 +00:00
Onionr ships with various application plugins ready for use out of the box:
Currently usable:
2021-02-01 04:58:07 +00:00
* 📨 Mail
* 💬 Public anonymous chat/message board
* 📃 Simple webpage hosting - Will be greatly extended
2019-06-12 06:44:15 +00:00
* File sharing (Work in progress)
Not yet usable:
* Instant messaging
2020-01-28 06:47:15 +00:00
2019-03-05 06:06:49 +00:00
# Screenshots
< img alt = 'Node statistics page screenshot' src = 'docs/onionr-1.png' width = 600 >
2019-07-13 06:35:49 +00:00
Home screen
2019-03-05 06:06:49 +00:00
< img alt = 'Friend/contact manager screenshot' src = 'docs/onionr-2.png' width = 600 >
Friend/contact manager
< img alt = 'Encrypted, metadata-masking mail application screenshot' src = 'docs/onionr-3.png' width = 600 >
2019-05-07 17:56:20 +00:00
Encrypted, metadata-masking mail application. One of the first distributed mail systems to have basic forward secrecy.
2019-03-05 06:06:49 +00:00
2019-04-12 17:14:16 +00:00
# Documentation
More docs coming soon.
2020-08-08 17:52:02 +00:00
* [Block specification ](docs/dev/specs/block-spec.md )
* [HTTP API ](docs/dev/http-api.md )
2019-04-12 17:14:16 +00:00
2019-01-30 06:10:29 +00:00
# Install and Run on Linux
2018-01-05 09:16:21 +00:00
2020-08-08 03:41:56 +00:00
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` )
2019-01-30 06:10:29 +00:00
2019-06-07 05:09:14 +00:00
`$ sudo apt install python3-pip python3-dev tor`
2019-09-29 02:59:13 +00:00
* Have python3.7+, python3-pip, Tor (daemon, not browser) installed. python3-dev is recommended.
2021-01-16 01:40:37 +00:00
* You may need build-essentials or the equivalent of your platform
2020-09-10 20:50:41 +00:00
* Clone the git repo: `$ git clone https://gitlab.com/beardog/onionr --tags`
2019-01-30 06:10:29 +00:00
* cd into install direction: `$ cd onionr/`
2021-01-15 22:24:21 +00:00
* Install the Python dependencies ([virtualenv strongly recommended](https://virtualenv.pypa.io/en/stable/userguide/)): `$ pip3 install --require-hashes -r requirements.txt` (on ARM64 devices like Raspberry Pi 4's use requirements-ARM.txt instead.)
2019-09-09 22:29:29 +00:00
* (Optional): Install desktop notification dependencies: `$ pip3 install --require-hashes -r requirements-notifications.txt`
2019-03-09 06:37:57 +00:00
2019-06-07 05:09:14 +00:00
(--require-hashes is intended to prevent exploitation via compromise of PyPi/CA certificates)
2018-01-20 07:23:09 +00:00
2019-08-11 02:11:26 +00:00
## Run Onionr
* Run Onionr normally: `$ ./onionr.sh start`
* Run Onionr in background as daemon: `$ ./start-daemon.sh`
* Open Onionr web interface `$ ./onionr.sh openhome`
2019-09-09 18:26:11 +00:00
* Gracefully stop Onionr from CLI `$ ./onionr.sh stop`
2019-08-11 02:11:26 +00:00
2019-10-17 10:00:50 +00:00
2021-01-11 04:55:39 +00:00
# Contact/Community
2019-10-17 10:00:50 +00:00
2021-01-11 04:55:39 +00:00
* Email: beardog [ at ] mailbox.org
* Twitter: [@onionrnet ](https://twitter.com/onionrnet )
* Onionr Mail: decentralized-fiery-freehearted-skimmer-yodling-topstitch-divorceable-ojibwa-resettlement-infracted-lessor-noninstinctual-leaseholder-counterpoised-couture-skinful
2021-01-16 01:40:37 +00:00
* Matrix: #onionr:amorgan .xyz
2021-01-11 04:55:39 +00:00
* Discord: https://discord.gg/DVF2bEAzrt (Discord is bad for freedom and privacy, this is only provided for convienience)
2019-10-17 10:00:50 +00:00
2019-06-11 03:19:31 +00:00
# Help out
2018-02-07 09:04:58 +00:00
2019-06-11 03:19:31 +00:00
Everyone is welcome to contribute. Help is wanted for the following:
2019-01-30 06:10:29 +00:00
* Development (Get in touch first)
2019-03-05 06:06:49 +00:00
* Creation of a shared lib for use from other languages and faster proof-of-work
2019-02-01 19:55:59 +00:00
* Android and IOS development
2020-08-12 22:21:11 +00:00
* Mac support (already partially supported, testers needed)
2019-09-09 00:21:36 +00:00
* Bug fixes and development of new features
2019-01-30 06:10:29 +00:00
* Testing
2019-07-02 23:55:09 +00:00
* Translations/localizations
2019-03-05 06:06:49 +00:00
* UI/UX design
2019-01-30 06:10:29 +00:00
* Running stable nodes
* Security review/audit
2020-06-26 00:42:02 +00:00
* I2P support
2018-04-01 06:40:31 +00:00
2021-01-16 01:40:37 +00:00
## Watch the talk from BSidesPDX 2019
< a href = "https://www.youtube.com/watch?v=mrULtmSkKxg" >
< img src = "docs/talk.png" alt = "improving anonymous networking talk link" width = "600" >
< / a >
2019-06-17 07:40:32 +00:00
## Contribute money:
2019-03-05 06:06:49 +00:00
2019-10-17 10:00:50 +00:00
Donating at least $3 gets you cool Onionr stickers. Get in touch if you want them.
2019-10-16 08:20:07 +00:00
![sticker ](docs/sticker.png )
2019-03-05 06:06:49 +00:00
2021-01-11 04:55:39 +00:00
* Bitcoin: [1onion55FXzm6h8KQw3zFw2igpHcV7LPq ](bitcoin:1onion55FXzm6h8KQw3zFw2igpHcV7LPq ) (Contact us for a unique address or for other coins)
2019-06-07 05:09:14 +00:00
2021-01-11 04:55:39 +00:00
* Monero: 4B5BA24d1P3R5aWEpkGY5TP7buJJcn2aSGBVRQCHhpiahxeB4aWsu15XwmuTjC6VF62NApZeJGTS248RMVECP8aW73Uj2ax
2019-03-05 06:06:49 +00:00
2021-02-01 04:58:07 +00:00
* USD (Card/Paypal (no account required)): [Ko-Fi ](https://www.ko-fi.com/beardogkf )
2021-01-11 04:55:39 +00:00
2021-02-01 04:58:07 +00:00
* Sign up for [privacy.com (refferal link) ](https://privacy.com/join/FNNDF ) to protect your personal information when contributing or shopping elsewhere, we both get $5 USD.
2019-03-05 06:06:49 +00:00
2019-03-05 15:57:07 +00:00
Note: probably not tax deductible
2019-08-30 09:47:23 +00:00
# Security
2020-02-04 06:59:52 +00:00
Onionr is alpha software. This means it is unstable, probably insecure, and experimental.
2019-05-13 05:01:37 +00:00
2019-08-08 06:25:48 +00:00
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.
2019-06-16 06:36:38 +00:00
*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.
2018-01-20 07:23:09 +00:00
2019-03-09 06:37:57 +00:00
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.
2018-04-01 06:40:31 +00:00
2019-06-17 07:40:32 +00:00
## Onionr Logo
2019-03-13 21:10:11 +00:00
2020-01-28 06:47:15 +00:00
The Onionr logo was created by [Anhar Ismail ](https://github.com/anharismail ) under the [Creative Commons Attribution 4.0 International License ](https://creativecommons.org/licenses/by/4.0/ ).
2019-03-13 21:10:11 +00:00
2019-06-11 03:19:31 +00:00
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.