diff options
| author | Gab <24553253+gabrix73@users.noreply.github.com> | 2025-03-08 14:59:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-08 14:59:35 +0100 |
| commit | 4a3ae9929f4657a0f2e9ccf393205655895bb501 (patch) | |
| tree | cc4e8089f178b791875a9a3b34f842cf7466ba4f /test_health.py | |
| parent | 489f247cffd1a63936a884c6d336b318179b39d8 (diff) | |
| download | securewhisper-4a3ae9929f4657a0f2e9ccf393205655895bb501.tar.gz securewhisper-4a3ae9929f4657a0f2e9ccf393205655895bb501.tar.xz securewhisper-4a3ae9929f4657a0f2e9ccf393205655895bb501.zip | |
Add files via upload
Diffstat (limited to 'test_health.py')
| -rw-r--r-- | test_health.py | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/test_health.py b/test_health.py new file mode 100644 index 0000000..23ac584 --- /dev/null +++ b/test_health.py @@ -0,0 +1,61 @@ + +# Secure P2P Chat Application + +A secure P2P chat application with advanced mesh networking capabilities, designed for resilient and private communication. + +## Key Features +- Mesh Networking Protocol +- Tor Integration +- Distributed Hash Table (DHT) +- Secure Communication Channels +- Health Monitoring Services + +## Project Structure +``` +. +├── network/ +│ ├── __init__.py +│ ├── mesh.py +│ └── tor_manager.py +├── security/ +│ ├── __init__.py +│ ├── crypto.py +│ └── memory.py +├── ui/ +│ ├── __init__.py +│ └── chat_window.py +├── mesh_chat.py +├── test_health.py +└── libraries.html +``` + +## Required Dependencies +```python +# Install using pip +aiohttp +kademlia +pynacl +pysocks +pyspx +zstandard +``` + +## Running the Application +1. Install dependencies: +```bash +pip install aiohttp kademlia pynacl pysocks pyspx zstandard +``` + +2. Start the application: +```bash +python mesh_chat.py +``` + +3. Test health check: +```bash +python test_health.py +``` + +## Testing +- HTTP Health Check: Visit http://localhost:12345 +- Health Status: Visit http://localhost:12345/health |
