Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Gist "last commit" Badge #7884

Open
smeinecke opened this issue Apr 25, 2022 · 0 comments
Open

GitHub Gist "last commit" Badge #7884

smeinecke opened this issue Apr 25, 2022 · 0 comments
Labels
good first issue service-badge

Comments

@smeinecke
Copy link

@smeinecke smeinecke commented Apr 25, 2022

📋 Description

A badge for the latest update on a GitHub gist would be nice.
Right now it's possible to add a custom badge that shows the full date, but that does not change color based on freshness or shows a short DateTime.

Custom Bade example:
GitHub last update

Normal "Latest commit" badge:
GitHub last commit

🔗 Data

Github API: https://docs.github.com/en/rest/gists/gists#get-a-gist
updated_at field.

🎤 Motivation

Would like to present the "freshness" of a list as it gets updated every now and then:

https://github.com/disposable/disposable#external-sources

@smeinecke smeinecke added the service-badge label Apr 25, 2022
@chris48s chris48s added the good first issue label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue service-badge
Projects
None yet
Development

No branches or pull requests

2 participants