Add Star History section to README#65
Merged
Merged
Conversation
Added Star History section with visual representation.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a “Star History” section to the repository README to display an embedded star growth chart and link out to the full chart on star-history.com.
Changes:
- Introduces a new “Star History” README section.
- Embeds a theme-aware (dark/light) star-history chart via a
<picture>element. - Adds an external link to the chart page on star-history.com.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+91
to
+95
| <a href="https://www.star-history.com/?repos=Devlaner%2Fdevlane&type=date&logscale=&legend=top-left"> | ||
| <picture> | ||
| <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/image?repos=Devlaner/devlane&type=date&theme=dark&logscale&legend=top-left" /> | ||
| <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/image?repos=Devlaner/devlane&type=date&logscale&legend=top-left" /> | ||
| <img alt="Star History Chart" src="https://api.star-history.com/image?repos=Devlaner/devlane&type=date&logscale&legend=top-left" /> |
There was a problem hiding this comment.
The star-history href and the embedded image URLs use slightly different query-string formats (e.g., logscale= in the href vs logscale in the image URLs, and Devlaner%2Fdevlane vs Devlaner/devlane). Normalizing these so they match exactly will avoid confusion and reduce the chance that the link opens a chart configured differently than the embedded image.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.