Badgemaker
The Nim badgemaker tool.
[](https://github.com/Ethosa/open-source-badges/blob/master/badges/Languages/Nim/Nim-lang-plastic.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test13.svg)
## Install
- via git: `nimble install https://github.com/Ethosa/badgemaker`
- via nimble: `nimble install badgemaker`
## Now support
- Custom font (change size available).
- Custom icons.
- Custom colors (label, value, text).
- Custom badge size.
- Custom styles (flat, plastic, square, plastic square).
- CLI.
- Text drop shadows.
## Standart badge params
- `style` -- "flat".
- `label` -- "".
- `value` -- "".
- `label_text_color` -- "white".
- `value_text_color` -- "black".
- `label_color` -- "#212121".
- `value_color` -- "#e0e0e0".
- `font` -- "DejaVu Sans,Verdana,Geneva,sans-serif".
- `font_size` -- 12.
- `width` -- 120.
- `height` -- 20.
- `image_path` -- "".
- `image_color` -- "".
- `label_shadow` -- false.
- `value_shadow` -- false.
- `dx` -- 0.
- `dy` -- 0.
## Results
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test1.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test2.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test3.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test4.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test5.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test6.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test7.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test8.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test9.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test10.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test11.svg)
[](https://github.com/Ethosa/badgemaker/blob/master/tests/test13.svg)
## FAQ
*Q*: How I can help to develop this library?
*A*: You can put a star to this repository :3