https://github.com/bearyinnovative/alohomora
a file uploader for qiniu cdn
https://github.com/bearyinnovative/alohomora
Last synced: 2 months ago
JSON representation
a file uploader for qiniu cdn
- Host: GitHub
- URL: https://github.com/bearyinnovative/alohomora
- Owner: bearyinnovative
- Created: 2016-01-18T18:00:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-19T03:10:25.000Z (over 9 years ago)
- Last Synced: 2023-11-16T08:10:16.237Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alohomora
A spell in Harry Potter world.
Used to open and/or unlock doors, but doors can be bewitched so that this spell has no effect.
A script upload file to qiniu cloud storage.
## USAGE
1. create a soft link to /usr/bin
`sudo ln -s [absolute path of alohomora.sh ] /usr/bin/alohomora`
2. setup qiniu upload env
`QINIU_ACCESS` is your qiniu account access key.
`QINIU_SECRET` is your qiniu account secrect key.
`QINIU_BUCKET` is your bucket name
`QINIU_URL` is the public url for your bucket
3. use it
`alohomora file_name`
## LICENSE
[WTFPL](https://en.wikipedia.org/wiki/WTFPL)