Skip to content

Direct file transfer in your terminal. No subscription, no storage, no additional tool needed.

License

Notifications You must be signed in to change notification settings

codeSamuraii/transit.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Direct file transfer in your terminal. No subscription, no storage, no additional tool needed.

Leveraging asyncio and queues, the API waits for the receiver to start downloading before accepting more incoming data.

The service is currently deployed as a proof-of-concept without any no guarantees. Access it here.

Usage

# Send
curl -T <file> https://transit.sh/<some-string>/
# Receive
curl -JLO https://transit.sh/<some-string>/
# Example
curl -T /music/song.mp3 https://transit.sh/music-for-dad/
curl -JLO https://transit.sh/music-for-dad/

You can also navigate to the URL with your browser.

Local API

Demonstration

compressed.mp4

Quick set-up

Dependencies :

pip install -r requirements.txt

Start the API :

uvicorn webapp:app --host 0.0.0.0 --port 80

About

Direct file transfer in your terminal. No subscription, no storage, no additional tool needed.

Topics

Resources

License

Stars

Watchers

Forks