Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennell/curldrop
:arrow_double_up: web app for for easy file uploads via curl
https://github.com/kennell/curldrop
curl filesharing hosting python upload uploader web
Last synced: about 2 months ago
JSON representation
:arrow_double_up: web app for for easy file uploads via curl
- Host: GitHub
- URL: https://github.com/kennell/curldrop
- Owner: kennell
- License: mit
- Created: 2014-12-10T00:07:21.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T15:34:47.000Z (almost 4 years ago)
- Last Synced: 2024-11-14T16:48:15.002Z (2 months ago)
- Topics: curl, filesharing, hosting, python, upload, uploader, web
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 144
- Watchers: 5
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
⏫ 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 [Transfer.sh](https://transfer.sh/).
## Get started
Simply start the curldrop service...
![Start curldrop](http://i.imgur.com/3mSle1Z.gif)
... and start uploading files with curl:
![Upload a file to curldrop](http://i.imgur.com/cxV9gTH.gif)
Install and run
-------Install via pip:
```
pip install curldrop
```You can now run curldrop:
```
curldrop
```There are also some additional options:
```
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:8000/
--timeout INTEGER Number of seconds before a worker will timeout
--workers INTEGER Number of workers
--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
```