1 | # Git Auto badger
|
2 |
|
3 | A npm cli tool that reads your packagejson/project metadata and git config and connects your readme with multiple badge providers (shields.io, badgen.net etc)
|
4 |
|
5 | [//]: <> (start placeholder for auto-badger)
|
6 |
|
7 | [![version](https://img.shields.io/npm/v/git-auto-badger.svg?style=flat-square)](https://npmjs.org/git-auto-badger)
|
8 | [![size](https://img.shields.io/bundlephobia/min/git-auto-badger)](https://bundlephobia.com/result?p=git-auto-badger)
|
9 | [![license](https://img.shields.io/npm/l/git-auto-badger)](https://github.com/technikhil314/auto-badger/blob/master/LICENSE)
|
10 |
|
11 | [![dependancies](https://img.shields.io/librariesio/release/npm/git-auto-badger)](https://libraries.io/npm/git-auto-badger)
|
12 | [![all contributors](https://img.shields.io/github/all-contributors/technikhil314/auto-badger)](https://github.com/technikhil314/auto-badger/graphs/contributors)
|
13 | [![code of conduct](https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square)](https://github.com/technikhil314/auto-badger/blob/master/CODE_OF_CONDUCT.md)
|
14 |
|
15 | [![chat with community](https://img.shields.io/gitter/room/technikhil314/auto-badger)](https://gitter.im/auto-badger)
|
16 | [![stargazers](https://img.shields.io/github/stars/technikhil314/auto-badger?style=social)](https://github.com/technikhil314/auto-badger/stargazers)
|
17 | [![number of forks](https://img.shields.io/github/forks/technikhil314/auto-badger?style=social)](https://github.com/technikhil314/auto-badger/fork)
|
18 | [![Follow twitterUserName on twiter](https://img.shields.io/twitter/follow/technikhil314?label=Follow)](https://www.twitter.com/technikhil314)
|
19 |
|
20 | [//]: <> (end placeholder for auto-badger)
|
21 |
|
22 | ### See the demo running here
|
23 |
|
24 | [![demo](https://raw.githubusercontent.com/technikhil314/my-static-assets/master/terminal-casts/auto-badger.svg)](https://raw.githubusercontent.com/technikhil314/my-static-assets/master/terminal-casts/auto-badger.svg)
|
25 |
|
26 | ## How to use
|
27 |
|
28 | ```
|
29 | npm i -g git-auto-badger
|
30 | ```
|
31 |
|
32 | Add following markdown comment where you want the badges to appear
|
33 |
|
34 | ```
|
35 | [//]: <> (start placeholder for auto-badger)
|
36 | ```
|
37 |
|
38 | then run following in your project root directory
|
39 |
|
40 | ```
|
41 | npx auto-badger
|
42 | ```
|
43 |
|
44 | This cli currently supports following providers from each category
|
45 |
|
46 | 1. VCS
|
47 | - [Github](https://www.github.com/) [:heavy_check_mark:]
|
48 | - [Gitlab](https://www.gitlab.com/) [Coming soon]
|
49 | 1. CI/CD
|
50 | - [Travis CI](https://travis-ci.org/) [:heavy_check_mark:]
|
51 | - [Github Actions (first Job)](https://github.com/features/actions) [:heavy_check_mark:]
|
52 | - [Appveyor](https://www.appveyor.com/) [:heavy_check_mark:]
|
53 | - [Circle CI](https://circleci.com/) [:heavy_check_mark:]
|
54 | 1. Coverage
|
55 | - [Coveralls](https://coveralls.io/) [:heavy_check_mark:]
|
56 | - [CodeCov](https://codecov.io/) [Coming soon]
|
57 | 1. Package Managers
|
58 | - [NPM](https://www.npmjs.com/) [:heavy_check_mark:]
|
59 | - [PyPI](https://pypi.org/) [Coming soon]
|
60 | 1. License
|
61 | - Github License File [:heavy_check_mark:]
|
62 | 1. Code of Conduct
|
63 | - Github CoC File [:heavy_check_mark:]
|
64 | 1. Dependancies
|
65 | - [Libraries.io for NPM](https://libraries.io/) [:heavy_check_mark:]
|
66 | 1. Package size
|
67 | - [Bundelphobia](https://bundlephobia.com/) [:heavy_check_mark:]
|
68 | 1. Download Count
|
69 | - [NPM Per month](https://npmcharts.com/) [:heavy_check_mark:]
|
70 | 1. Social
|
71 | - Github (Repo Stars, Fork) [:heavy_check_mark:]
|
72 | - twitter (Follow user/org) [:heavy_check_mark:]
|
73 | 1. Chat
|
74 | - [Gitter](https://gitter.im/) [:heavy_check_mark:]
|
75 | - [Spectrum](https://spectrum.chat/) [:heavy_check_mark:]
|
76 | - [Discord](https://discord.com/) [:heavy_check_mark:]
|
77 |
|
78 | ### How it works?
|
79 |
|
80 | 1. It looks for different file in your project root directory. To decide what tools are you using. And generates badges based on it.
|
81 | e.g. If you have .travis.yml then it assumes you are using travis for CI/CD and it creates a dynamic badge for travis latest build status
|