diff --git a/README.md b/README.md index 21d1fe76..1598ea93 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ GitHub Readme Stats

GitHub Stats Extended

Dynamically generate GitHub stats for your READMEs.

- + 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: - ![Harlok's WakaTime stats](https://github-stats-extended.vercel.app/api/wakatime?username=ffflabs&langs_count=6) + [![Harlok's WakaTime stats](https://github-stats-extended.vercel.app/api/wakatime?username=ffflabs&langs_count=6)](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: - ![Gist Card](https://github-stats-extended.vercel.app/api/gist?id=bbfce31e0217a3689c8d961a356cb10d) + [![Gist Card](https://github-stats-extended.vercel.app/api/gist?id=bbfce31e0217a3689c8d961a356cb10d)](https://gist.github.com/Yizack/bbfce31e0217a3689c8d961a356cb10d) - Customize all the cards: - ![Anurag's GitHub stats](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) + [![Anurag's GitHub stats](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)](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). diff --git a/backend/api-renamed/pin.js b/backend/api-renamed/pin.js index 5e409b9f..bed3dd10 100644 --- a/backend/api-renamed/pin.js +++ b/backend/api-renamed/pin.js @@ -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, }, - ), + }), ); } diff --git a/docs/advanced_documentation.md b/docs/advanced_documentation.md index 49442e28..5fa4d8fb 100644 --- a/docs/advanced_documentation.md +++ b/docs/advanced_documentation.md @@ -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 -[![Readme Card](https://github-stats-extended.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats)](https://github.com/stats-organization/github-stats-extended) +[![Readme Card](https://github-stats-extended.vercel.app/api/pin/?username=anuraghazra&repo=type-trident)](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 -[![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=donut)](https://github.com/stats-organization/github-stats-extended) +[![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=donut)](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=donut) * Donut Vertical Chart layout -[![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=donut-vertical)](https://github.com/stats-organization/github-stats-extended) +[![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=donut-vertical)](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=donut-vertical) * Pie Chart layout -[![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=pie)](https://github.com/stats-organization/github-stats-extended) +[![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=pie)](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&layout=pie) * Hidden progress bars -![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&hide_progress=true) +[![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&hide_progress=true)](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&hide_progress=true) * Display bytes instead of percentage -![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&stats_format=bytes) +[![Top Langs](https://github-stats-extended.vercel.app/api/top-langs/?username=anuraghazra\&stats_format=bytes)](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 -[![Harlok's WakaTime stats](https://github-stats-extended.vercel.app/api/wakatime?username=ffflabs)](https://github.com/stats-organization/github-stats-extended) +[![Harlok's WakaTime stats](https://github-stats-extended.vercel.app/api/wakatime?username=ffflabs)](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 - + - + ``` @@ -689,10 +689,10 @@ By default, GitHub does not lay out the cards side by side. To do that, you can
:eyes: Show example - + - + diff --git a/docs/fork.md b/docs/fork.md index f7724558..2fd3bc8e 100644 --- a/docs/fork.md +++ b/docs/fork.md @@ -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. diff --git a/frontend/frontend/src/constants.js b/frontend/frontend/src/constants.js index 7bbe962b..06f9a1f6 100644 --- a/frontend/frontend/src/constants.js +++ b/frontend/frontend/src/constants.js @@ -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`