codeSamuraii / transit.sh

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

Home Page:https://transit.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://transit.sh/

License:Other


Languages

Language:Python 58.3%Language:HTML 41.7%