a fast and minimal command line client for sprk api
$ up cutecats.png
# ✔ File uploaded... https://pwnj.pw/koyqd.png
This command uploads image(cutecats.png) and returns url of uploaded file https://pwnj.pw/koyqd.png and if you are dog person like @spark then here's doggo pic for ya.
$ npm i -g @pavanjadhaw/up
Export sprk environment variables, add this to your .bashrc or .zshrc, you can get these by setting up sprk-api
export SPRK_SERVER_URL='https://pwnj.pw'
export SPRK_API_KEY='Yhhsnr8kJUmPhjS30ilmd9mCTLQ6pAg0'
It's sad to see you go :(
$ npm uninstall -g @pavanjadhaw/up
- sprk-api - api for this package
MIT © Pavan Jadhaw