fix pin, better image links in docs, minor changes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<img src="docs/appIcon.svg" width="100px" alt="GitHub Readme Stats" />
|
||||
<h1>GitHub Stats Extended</h1>
|
||||
<p>Dynamically generate GitHub stats for your READMEs.</p>
|
||||
<img src="https://github-stats-extended.vercel.app/api?username=anuraghazra">
|
||||
<a href="https://github-stats-extended.vercel.app/api?username=anuraghazra"><img src="https://github-stats-extended.vercel.app/api?username=anuraghazra"></a>
|
||||
</div>
|
||||
|
||||
This project is an [extended version](docs/fork.md) of [github-readme-stats](https://github.com/anuraghazra/github-readme-stats). It generates [various stats cards](#card-types), e.g. about your GitHub contributions, your top languages, etc. You can [customize](#advanced-customization) the cards via multiple parameters.
|
||||
@@ -38,7 +38,7 @@ As more comfortable alternative, use the [GitHub-Stats-Extended Wizard](https://
|
||||
|
||||
- ...and development time:
|
||||
|
||||

|
||||
[](https://wakatime.com/@ffflabs)
|
||||
|
||||
- Pin more than 6 repos in your GitHub profile:
|
||||
|
||||
@@ -46,11 +46,11 @@ As more comfortable alternative, use the [GitHub-Stats-Extended Wizard](https://
|
||||
|
||||
- Pin Gists in your GitHub profile:
|
||||
|
||||

|
||||
[](https://gist.github.com/Yizack/bbfce31e0217a3689c8d961a356cb10d)
|
||||
|
||||
- Customize all the cards:
|
||||
|
||||

|
||||
[](https://github-stats-extended.vercel.app/api/?username=anuraghazra&show_icons=true&theme=calm&rank_icon=github&include_all_commits=true&custom_title=Anurag's+Stats&disable_animations=true&number_format=long&show=prs_merged_percentage,prs_reviewed)
|
||||
|
||||
# Advanced Customization
|
||||
The [GitHub-Stats-Extended Wizard](https://github-stats-extended.vercel.app/frontend) offers some essential customization options. For more advanced customization check out the [advanced documentation](docs/advanced_documentation.md).
|
||||
|
||||
@@ -84,17 +84,17 @@ export default async (req, res) => {
|
||||
(repo && !safePattern.test(repo))
|
||||
) {
|
||||
return res.send(
|
||||
renderError(
|
||||
"Something went wrong",
|
||||
"Username or repository contains unsafe characters",
|
||||
{
|
||||
renderError({
|
||||
message: "Something went wrong",
|
||||
secondaryMessage: "Username or repository contains unsafe characters",
|
||||
renderOptions: {
|
||||
title_color,
|
||||
text_color,
|
||||
bg_color,
|
||||
border_color,
|
||||
theme,
|
||||
},
|
||||
),
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -309,10 +309,10 @@ Yay! You are no longer limited to 6 pinned repositories.
|
||||
|
||||
Copy-paste this code into your readme and change the links.
|
||||
|
||||
Endpoint: `api/pin?username=anuraghazra&repo=github-readme-stats`
|
||||
Endpoint: `api/pin?username=anuraghazra&repo=type-trident`
|
||||
|
||||
```md
|
||||
[](https://github.com/stats-organization/github-stats-extended)
|
||||
[](https://github.com/anuraghazra/type-trident)
|
||||
```
|
||||
|
||||
### Options
|
||||
@@ -523,24 +523,24 @@ You can use the `&stats_format=bytes` option to display the stats in bytes inste
|
||||
|
||||
* Donut Chart layout
|
||||
|
||||
[](https://github.com/stats-organization/github-stats-extended)
|
||||
[](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=donut)
|
||||
|
||||
* Donut Vertical Chart layout
|
||||
|
||||
[](https://github.com/stats-organization/github-stats-extended)
|
||||
[](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=donut-vertical)
|
||||
|
||||
* Pie Chart layout
|
||||
|
||||
[](https://github.com/stats-organization/github-stats-extended)
|
||||
[](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=pie)
|
||||
|
||||
* Hidden progress bars
|
||||
|
||||

|
||||
[](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&hide_progress=true)
|
||||
|
||||
|
||||
* Display bytes instead of percentage
|
||||
|
||||

|
||||
[](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&stats_format=bytes)
|
||||
|
||||
## WakaTime Stats Card
|
||||
|
||||
@@ -553,7 +553,7 @@ You can use the `&stats_format=bytes` option to display the stats in bytes inste
|
||||
Change the `?username=` value to your [WakaTime](https://wakatime.com) username.
|
||||
|
||||
```md
|
||||
[](https://github.com/stats-organization/github-stats-extended)
|
||||
[](https://wakatime.com/@ffflabs)
|
||||
```
|
||||
|
||||
### Options
|
||||
@@ -678,10 +678,10 @@ By default, GitHub does not lay out the cards side by side. To do that, you can
|
||||
### Stats and top languages cards
|
||||
|
||||
```html
|
||||
<a href="https://github.com/anuraghazra/github-readme-stats">
|
||||
<a href="https://github-stats-extended.vercel.app/api?username=anuraghazra">
|
||||
<img height=200 align="center" src="https://github-stats-extended.vercel.app/api?username=anuraghazra" />
|
||||
</a>
|
||||
<a href="https://github.com/anuraghazra/convoychat">
|
||||
<a href="https://github-stats-extended.vercel.app/api/top-langs?username=anuraghazra&layout=compact&langs_count=8&card_width=320">
|
||||
<img height=200 align="center" src="https://github-stats-extended.vercel.app/api/top-langs?username=anuraghazra&layout=compact&langs_count=8&card_width=320" />
|
||||
</a>
|
||||
```
|
||||
@@ -689,10 +689,10 @@ By default, GitHub does not lay out the cards side by side. To do that, you can
|
||||
<details>
|
||||
<summary>:eyes: Show example</summary>
|
||||
|
||||
<a href="https://github.com/anuraghazra/github-readme-stats">
|
||||
<a href="https://github-stats-extended.vercel.app/api?username=anuraghazra">
|
||||
<img height=200 align="center" src="https://github-stats-extended.vercel.app/api?username=anuraghazra" />
|
||||
</a>
|
||||
<a href="https://github.com/anuraghazra/convoychat">
|
||||
<a href="https://github-stats-extended.vercel.app/api/top-langs?username=anuraghazra&layout=compact&langs_count=8&card_width=320">
|
||||
<img height=200 align="center" src="https://github-stats-extended.vercel.app/api/top-langs?username=anuraghazra&layout=compact&langs_count=8&card_width=320" />
|
||||
</a>
|
||||
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@ To include stars from repos which are not owned by you, but where you are a coll
|
||||
|
||||
See [here](advanced_documentation.md#filtering-by-repository-and-owner) for full feature documentation.
|
||||
|
||||
The resolution of this most requested feature in github-readme-stats was [originally implemented](https://github.com/anuraghazra/github-readme-stats/issues/1#issuecomment-855681098) by @developStorm.
|
||||
The resolution of this most requested feature in github-readme-stats was [originally implemented](https://github.com/anuraghazra/github-readme-stats/issues/1#issuecomment-855681098) by [@developStorm](https://github.com/developStorm).
|
||||
|
||||
### Improved performance and latency
|
||||
|
||||
@@ -62,7 +62,7 @@ GitHub-Stats-Extended adds various other, minor improvements. For example, the r
|
||||
|
||||
[github-readme-stats](https://github.com/anuraghazra/github-readme-stats) is a great project, which unfortunately saw its development slow down in the past years, with [highly requested features](https://github.com/anuraghazra/github-readme-stats/issues/1935) getting delayed for a long time.
|
||||
|
||||
One of the lovely contributors [wrote](https://github.com/anuraghazra/github-readme-stats/pull/3911#issuecomment-3377726545):
|
||||
One of the valued maintainers [wrote](https://github.com/anuraghazra/github-readme-stats/pull/3911#issuecomment-3377726545):
|
||||
> I joined the project as collaborator in the middle of 2023 and there was just a few guys in the team while hundreds of PRs, issues and discussions pending to be reviewed.
|
||||
>
|
||||
> The volume is overwhelming for the small team, especially taking into account that right now I'm alone online and working only sometimes when I have a free hours, so it took some time to get to your PR.
|
||||
|
||||
@@ -7,7 +7,7 @@ export const CLIENT_ID = 'Ov23liZSweT9LJrck9i8';
|
||||
|
||||
export const HOST = PROD
|
||||
? 'github-stats-extended.vercel.app'
|
||||
: 'localhost:3000';
|
||||
: 'github-stats-extended-preview.vercel.app';
|
||||
|
||||
export const REDIRECT_URI = PROD
|
||||
? `https://${HOST}/frontend`
|
||||
|
||||
Reference in New Issue
Block a user