duing
v1.0.0
Published
The status bar / image / badge of SVG generator server
Downloads
4
Readme
The progress bar / status badge of SVG generator server
Features
| Type | Config | Url | Preview | | ------------- | ------------- | ----- | ----- | | Bar | percent, width, height | https://img.lishengcn.cn/progress?percent=25 | | | Circle | percent, width | https://img.lishengcn.cn/progress?percent=35&type=circle | | | Checkbox | checked, size, color | https://img.lishengcn.cn/checkbox?checked=1 | | | Label | key, value, keyColor, valueColor, keyBgColor, valueBgColor, size | https://img.lishengcn.cn/label?key=解决率&value=99% | | | Seal | value, size, valueBgColor, valueColor, ghost | https://img.lishengcn.cn/seal?value=FIXED | | | Dot | width, color | https://img.lishengcn.cn/dot | | | Count (WIP) | ... | ... | ... | | ... | ... | ... | ... |
Deploy Run
$ docker build -t duing-image .
$ docker run --rm --name duing -p 3000:3000 duing-image
I used caddy to make it in product environment well! (HTTPS, HTTP/2)
Dev
$ npm install
$ npm run dev
Contributing
Welcome~
Donate
You can get all "duing"s by img.lishengcn.cn. If it make you convenience, you may help me to get one or two stable and better server. (I don't mean now is not stable, now is stable enough for the current user. But the service will be disable when deploying. It doesn't master by 200 from cache)
License
MIT License
Copyright (c) 2017 ls
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
很强