├── README.md └── index.html /README.md: -------------------------------------------------------------------------------- 1 | 2 |

🛡️ Repo Badge Generator

3 |

4 | Quick script to generate embedable badges for a repository
5 | repo-badges.as93.net 6 |

7 |

8 | 9 | 10 | 11 |

12 | 13 | ## About 14 | I made this to quickly generate the project links, for this post: [CLI tools you won't be able to live without 🔧 ](https://dev.to/lissy93/cli-tools-you-cant-live-without-57f6) 15 | 16 | Just a simple script to quickly generate embedable markdown badges to show repository info.
17 | Data is fetched from the GitHub API, and badges are served up using the Shields.io API.
18 | Includes a badge for + link to: the author, the repo + star count, and the language used.
19 | Paste in the URL to a repo, hit 'Generate', and results will be copied to your clipboard. 20 | 21 | ## Deployment 22 | It's just a static HTML page, so serve it with any web server, CDN or static host.
23 | There's a demo hosted on GH Pages, at: [lissy93.github.io/repo-badge-maker](https://lissy93.github.io/repo-badge-maker/) 24 | 25 | ## Report an Issue 26 | Found something that's not working? [Open an issue](https://github.com/Lissy93/repo-badge-maker/issues/new/choose), and describe the problem, steps to reproduce alond with expected and actual output. If relevant, also include details about your environment. I'll try and fix / respond to any tickets within 48-hours. 27 | 28 | ## Contributing 29 | Contributions of any kind are very welcome, and would be much appreiciated. 30 | For Code of Conduct, see [Contributor Convent](https://www.contributor-covenant.org/version/2/1/code_of_conduct/). 31 | 32 | To get started, fork the repo, make your changes, add, commit and push the code, then come back here to open a pull request. If you're new to GitHub or open source, [this guide](https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3#let-s-make-our-first-pull-request-) or the [git docs](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) may help you get started, but feel free to reach out if you need any support. 33 | 34 | ## License 35 | 36 | > _**[Lissy93/repo-badge-maker](https://github.com/Lissy93/repo-badge-maker)** is licensed under [MIT](https://gist.github.com/Lissy93/143d2ee01ccc5c052a17) © [Alicia Sykes](https://aliciasykes.com) 2022._
37 | > For information, see TLDR Legal > MIT 38 | 39 |
40 | Expand License 41 | 42 | ``` 43 | The MIT License (MIT) 44 | Copyright (c) Alicia Sykes 45 | 46 | Permission is hereby granted, free of charge, to any person obtaining a copy 47 | of this software and associated documentation files (the "Software"), to deal 48 | in the Software without restriction, including without limitation the rights 49 | to use, copy, modify, merge, publish, distribute, sub-license, and/or sell 50 | copies of the Software, and to permit persons to whom the Software is furnished 51 | to do so, subject to the following conditions: 52 | 53 | The above copyright notice and this permission notice shall be included install 54 | copies or substantial portions of the Software. 55 | 56 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 57 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANT ABILITY, FITNESS FOR A 58 | PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 59 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 60 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 61 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 62 | ``` 63 | 64 |
65 | 66 | --- 67 | 68 | 69 |

70 | © Alicia Sykes 2023
71 | Licensed under MIT
72 |
73 | Thanks for visiting :) 74 |

75 | 76 | 77 | 89 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Repo Badges 6 | 7 | 8 | 9 | 10 | 11 | 12 |

Repo Badges

13 | 14 |
15 |

Input

16 | 17 | 18 | 19 |
20 | 21 |
22 |

Output

23 | 24 |

Preview

25 |
26 |
27 | 28 |
29 |

About

30 |

31 | Just a very simple script to generate badges for a repository, outputted in markdown format. 32 | The badges are generated using the Shields.io API. 33 | Includes a badge for + link to the author, the repo + star count, and the language used. 34 | Paste in the URL to a repo, hit 'Generate', and results will be copied to your clipboard. 35 |

36 |

37 | Code available on GitHub at 38 | Lissy93/repo-badge-maker 39 |
40 | Licensed under MIT, © Alicia Sykes 2023 41 |

42 |
43 | 44 | 132 | 133 | 213 | 214 | 215 | 216 | --------------------------------------------------------------------------------