Skip to content

PythonicNinja/send-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

send it

Project allows to secretly without any dependencies other than ngrok to send directly text / file / directory.

usage

Only dependencies are installed on your local:

  1. python3 (no dependencies, only builtins)
  2. 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 -

Example Screenshot

install

  1. install ngrok: https://ngrok.com/docs/getting-started/

  2. clone repository:

git clone [email protected]: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 $@; }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published