Skip to content
/ Pype Public

Simple file sharing server, to upload and download file from cli

License

Notifications You must be signed in to change notification settings

H4ckd4ddy/Pype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pype

License: MIT

Simple file sharing server, to upload and download file from cli

Use the online version

Usage

Show help

curl https://pype.sellan.fr/help

Upload a file

curl -T file.txt https://pype.sellan.fr

Download a file

curl https://pype.sellan.fr/id/file.txt > file.txt

or

wget https://pype.sellan.fr/id/file.txt

Delete file after download

curl https://pype.sellan.fr/id/file.txt?delete > file.txt

or

wget https://pype.sellan.fr/id/file.txt?delete

Get infos about a file

curl https://pype.sellan.fr/id/file.txt?info

For easyest usage, you can add a Pype alias

Install alias

curl -s -L https://pype.sellan.fr/install | $SHELL

Then, to upload a file

pype file.txt

Use your own server

Launch server

./pype.py

Functions

  • Show homepage
  • Easy upload and download with curl
  • Show file infos
  • Delete file after download
  • Auto-cleaning files after expiration