Skip to content

fosslife/u

Repository files navigation

up

a fast and minimal command line client for sprk api

XO Code Style used Latest version on npm Project license

Usage

$ 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.

Install

$ 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'

Uninstall

It's sad to see you go :(

$ npm uninstall -g @pavanjadhaw/up

Depends

License

MIT © Pavan Jadhaw

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •