Deprotocol
DeChat is a decentralized and highly secure peer-to-peer chat application that provides end-to-end encryption and anonymity for its users. The application 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 messages back to their origin
Install / Use
/learn @werogg/DeprotocolREADME
<a name="readme-top"></a>
<!-- *** Thanks for checking out the Best-README-Template. If you have a suggestion *** that would make this better, please fork the repo and create a pull request *** or simply open an issue with the tag "enhancement". *** Don't forget to give the project a star! *** Thanks again! Now go create something AMAZING! :D --> <!-- PROJECT SHIELDS --> <!-- *** I'm using markdown "reference style" links for readability. *** Reference links are enclosed in brackets [ ] instead of parentheses ( ). *** See the bottom of this document for the declaration of the reference variables *** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use. *** https://www.markdownguide.org/basic-syntax/#reference-style-links --> <!-- PROJECT LOGO --> <br /> <div align="center"> <!-- LOGO DISABLE FOR NOW <a href="https://github.com/othneildrew/Best-README-Template"> <img src="images/logo.png" alt="Logo" width="80" height="80"> </a> --> <h3 align="center">DeProtocol</h3> <p align="center"> A Decentralized and Highly Encrypted P2P Chat over Tor <br /> <a href="https://discord.gg/ZsWt5RdS5E"><strong>Join the Discord »</strong></a> <br /> <br /> <a href="https://github.com/werogg/deprotocol"><del>View Demo</del></a> · <a href="https://github.com/werogg/deprotocol/issues">Report Bug</a> · <a href="https://github.com/werogg/deprotocol/issues">Request Feature</a> </p> </div> <!-- TABLE OF CONTENTS --> <details> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> <li><a href="#built-with">Built With</a></li> </ul> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> </ul> </li> <li><a href="#usage">Usage</a></li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#contributing">Contributing</a></li> <li><a href="#license">License</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#acknowledgments">Acknowledgments</a></li> </ol> </details> <!-- ABOUT THE PROJECT -->About The Project
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)
Built With
<p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED -->Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
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
Installation
-
Clone the repo
git clone https://github.com/werogg/deprotocol.git -
Install requirements
pip install -r requirements.txt
Execute
- Run the application
python src/deprotocol/app/main.py
Build
-
Install additional build requirement
pip install build -
Build the wheel root folder
python -m build . --wheel
Run unit tests
-
Install additional pytest requirement
pip install pytest -
Run the tests
pytest
Run behaviour tests (not ready)
-
Install additional behave requirement
pip install behave -
Run the tests
not ready
Usage
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.
<p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ROADMAP -->Roadmap
- [x] Add P2P Protocol
- [x] 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).
<p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- CONTRIBUTING -->Contributing
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
License
Distributed under the MIT License with Aditional Conditions. See LICENSE for more information.
Contact
Joel Otero - @werogg1 - supwer00@gmail.com
Project Link: https://github.com/werogg/deprotocol
<p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- ACKNOWLEDGMENTS -->Acknowledgments
Resources and credits!
<p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- MARKDOWN LINKS & IMAGES --> <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
