https://github.com/feluelle/auto-markdown-badges
Auto-generated markdown badges. 🧙🖼
https://github.com/feluelle/auto-markdown-badges
auto-generated badges cli markdown python
Last synced: 5 months ago
JSON representation
Auto-generated markdown badges. 🧙🖼
- Host: GitHub
- URL: https://github.com/feluelle/auto-markdown-badges
- Owner: feluelle
- License: apache-2.0
- Created: 2022-03-10T15:26:56.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T17:58:30.000Z (5 months ago)
- Last Synced: 2024-11-13T18:40:53.372Z (5 months ago)
- Topics: auto-generated, badges, cli, markdown, python
- Language: Python
- Homepage:
- Size: 115 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - feluelle/auto-markdown-badges - Auto-generated markdown badges. 🧙🖼 (Python)
README
# auto-markdown-badges
[](https://results.pre-commit.ci/latest/github/feluelle/auto-markdown-badges/main)


[](https://codecov.io/gh/feluelle/auto-markdown-badges)
[](https://pypi.org/project/auto-markdown-badges/)
[](https://github.com/feluelle/auto-markdown-badges/blob/main/LICENSE)
[](https://pypi.org/project/auto-markdown-badges/)
[](https://pypi.org/project/auto-markdown-badges/)> Auto-generated markdown badges. 🧙🖼
Inspired by [markdown-badges](https://github.com/Ileriayo/markdown-badges), I wanted to have a tool which automatically creates badges for me.
## 🚀 Get started
To install it from [PyPI](https://pypi.org/) run:
```console
pip install auto-markdown-badges
```Then just call it like this:
```console
Usage: auto-markdown-badges generate [OPTIONS] INPUT_FILEGenerates badges from a file.
Options:
INPUT_FILE The file to use for generation of badges.
[required]
-o, --output-file FILE The file to output to.
-p, --placement [header|inplace|footer]
Specify where to place the badge. [default:
Placement.INPLACE]
-h, --help Show this message and exit.
```_Examples of generated badges can be found in the [examples](examples) directory._
## 🤔 How it Works
1. It reads the given file, line by line
2. It tries to find [simple-icons](https://github.com/simple-icons/simple-icons) for every word
3. It replaces the word with a badge## ❤️ Contributing
Contributions are very welcome. Please go ahead and raise an issue if you have one or open a PR. Thank you.