|
il y a 8 mois | |
---|---|---|
templates | il y a 1 an | |
.gitignore | il y a 8 mois | |
LICENSE | il y a 2 ans | |
README.md | il y a 1 an | |
cloudflare.py | il y a 3 ans | |
config.py.example | il y a 2 ans | |
elimage.db.sample | il y a 2 ans | |
elimage.sql | il y a 2 ans | |
main.py | il y a 8 mois | |
models.py | il y a 2 ans |
An image paste service in favor of command line usage.
Before you run it, you should configure the logging database. Rename
elimage.db.sample
to match the one in config.py
.
Run ./main.py
to start the server.
By default it runs at port 8888
, with /tmp
as data directory to store image
files. Try option --help
to know how to change them.
You can change some options in file config.py
.
Use the command line to upload image files and you’ll get result URL printed.
You can specify multiple -F
parameters for multiple image files. The name of
the form field doesn’t matter.
curl -F 'name=@path/to/image' http://<your_host>/
file
commandqrencode
command if you want support for QR-code output