A Decentralized and Highly Encrypted P2P Chat over Tor
Join the Discord »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
DeProtcol is a decentralized and highly secure peer-to-peer protocol that provides end-to-end encryption and anonymity for its users. It uses Tor as the underlying network layer to ensure that all communications are routed through multiple relays, making it virtually impossible for anyone to trace the communication back to their origin.
DeChat is designed to be highly resilient and resistant to censorship. Since the application is decentralized, there is no central point of control or failure, making it virtually impossible for any entity to shut down the network or censor individual users.
Here's why:
- Decentralized Peer-to-Peer protocol (no server endings)
- Highly secure with end-to-end encryption
- Anonymized communication relayed in Tor Network
- Highly resilient and resistant to censorship
- File sharing (Soon)
To get a local copy up and running follow these simple example steps.
Install Python 3.10: You can download and install Python 3.10 from the official Python website (https://www.python.org/downloads/).
- Verify python installation:
python --version
- Create a virtual environment (recommended):
python -m venv myenv
- Activate your environment:
Linux/MacOS: source myenv/bin/activate
Windows: myenv\Scripts\activate.bat
-
Clone the repo
git clone https://github.com/werogg/deprotocol.git
-
Install requirements
pip install -r requirements.txt
- Run the application
python src/deprotocol/app/main.py
-
Install additional build requirement
pip install build
-
Build the wheel root folder
python -m build . --wheel
-
Install additional pytest requirement
pip install pytest
-
Run the tests
pytest
-
Install additional behave requirement
pip install behave
-
Run the tests
not ready
Basically when the protocol app is ready it will be prompted in the console, you have a help command to guide you. My recommendations to test the usage is using address command to get the onion address, the connect command to connect to an address and finally the msg command to test the encrypted byte transmission.
- Add P2P Protocol
- Add Relay on Tor Network
- Add Custom Communication Protocol (in progress)
- Add 90% testing for continuous integration
- Add Protocol API for external uses as lib (in progress)
- Improve encryption algorithms (in progress)
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Please join our Discord Server if you would like to contribute, it will be great for me to have a community support to chat about it.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License with Aditional Conditions. See LICENSE
for more information.
Joel Otero - @werogg1 - [email protected]
Project Link: https://github.com/werogg/deprotocol
Resources and credits!