https://github.com/f321x/bolt8-playground
Python script for the chunked transmission of arbitrary data via the Bolt 8 noise protocol
https://github.com/f321x/bolt8-playground
Last synced: over 1 year ago
JSON representation
Python script for the chunked transmission of arbitrary data via the Bolt 8 noise protocol
- Host: GitHub
- URL: https://github.com/f321x/bolt8-playground
- Owner: f321x
- Created: 2024-12-23T15:12:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-23T17:41:44.000Z (over 1 year ago)
- Last Synced: 2025-04-15T02:46:43.096Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Python script to transfer data over the bolt 8 noise protocol.
This has no actual use and is just a hack to learn about bolt 8.
Server:
```bash
$ python3 ./src/main.py
serving on 03b76bd6824a1966998a1308072b4e5b4eaf2fc935be0f8d85b613abe21dbccbf8@127.0.0.1:8080
```
Client:
```bash
echo "hello world!" | python3 ./src/main.py 03b76bd6824a1966998a1308072b4e5b4eaf2fc935be0f8d85b613abe21dbccbf8@127.0.0.1:8080
```
or
```bash
python3 ./src/main.py ~/Videos/largeVideo.mp4 03b76bd6824a1966998a1308072b4e5b4eaf2fc935be0f8d85b613abe21dbccbf8@127.0.0.1:8080
```