Project allows to secretly without any dependencies other than ngrok to send directly text / file / directory.
Only dependencies are installed on your local:
- python3 (no dependencies, only builtins)
- ngrok for creation of tunnel with https
usage:
# sharing text python3 main.py "client_id: 123 client_secret: 321" # sharing longer text via default editor in shell python3 main.py # sharing file python3 main.py ~/Desktop/your_file.txt # sharing folder python3 main.py ~/Desktop/something_to_share example run:
| ~/PycharmProjects/send-it (main) | => python3 main.py "client_id=12345, client_secret=321" Created temporary directory: /var/folders/ty/v5g_gm0x0sv7dtxrh28tg_yc0000gn/T/tmpsc5ekv18 Detected text input, creating index.html Starting HTTP server on port 8080... Send this url to access message: https://f5b9-2a09-bac1-5bc0-38-00-39b-5d.ngrok-free.app Press Ctrl+C to stop the server and exit 127.0.0.1 - - [21/Feb/2025 13:19:31] "GET / HTTP/1.1" 200 - -
install ngrok: https://ngrok.com/docs/getting-started/
-
clone repository:
git clone git@github.com:PythonicNinja/send-it.git cd send-it python3 main.py "client_id: 123 client_secret: 321"optional, register alias on bash:
function send_it() { python3 ~/PycharmProjects/send-it/main.py $@; }
