Add shields for Github projects #118
Draft
+591
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As I look through projects to see if they will be of use to me, there's a few things that I want to know right away: language, license, and project activity. Right now, I have to click on each project to check it out on Github (for the vast majority), so I wondered if there was a way to present that information directly on this page.
This PR demos a way of doing this with shields.io. You can see the end result here: https://github.com/rschroll/awesome-reMarkable/blob/shields/README.md. It's probably a bit too busy, but I wanted to show several options. If it were up to me, I'd probably dump the issue count and possibly the language for things other than libraries. But I'm curious what other people would find useful.
There's no way I'd do all of this by hand, and
shields.py
is the short Python script I wrote to manage the process. Presumably this could be put into some sort of CI process to automate the addition of these badges as new entries are added.We could manually add badges for the few non-Github projects, but we'd probably only want to do this for properties that don't often change.
If this is interesting, let me know and I'm happy to iterate on the design a bit.