Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.06 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.06 KB

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