Skip to content
forked from kennell/curldrop

⏫ web app for for easy file uploads via curl

License

Notifications You must be signed in to change notification settings

paulcmal/curldrop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏫ curldrop

curldrop is a simple (less than 100 LOC) web app that allows you to upload files straight from your terminal with curl. It is inspired by services like curl.io and Transfer.sh.

Maintainability

Donations

Your contribution keeps this project going ❤️

  • BTC 121QcrzmFsYfxpJYneTS4N6yKDdU8GGfXa
  • ETH 0x56Aab3cDA7Ea02953aE394F9ffA3f7b80ed8b6DE
  • LTC LerFT8YP7Q9etp2M3EsJxLZJYeFCZLV6wQ

Get started

Simply start the curldrop service...

Start curldrop

... and start uploading files with curl:

Upload a file to curldrop

Install and run

Install via pip:

pip install curldrop

You can now run curldrop:

Usage: curldrop [OPTIONS]

Options:
  --port INTEGER     Port to listen on, default is 8000
  --upload-dir TEXT  Directory where uploads are stored, if not specified the
                     current working directory will be used
  --baseurl TEXT     Base URL, e.g. http://example.com/
  --help             Show this message and exit.

Uploading files

You can now upload files to your curldrop, here are some basic examples.

Upload a single file

curl --upload-file cat.jpg example.com

Upload multiple files

curl --upload-file "{path/to/file1,path/to/file2}" example.com

About

⏫ web app for for easy file uploads via curl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%