https://github.com/ryo-ma/github-profile-trophy
π Add dynamically generated GitHub Stat Trophies on your readme
https://github.com/ryo-ma/github-profile-trophy
deno github github-profile github-profile-readme github-profile-trophy github-readme github-readme-trophy github-trophy hacktoberfest rank readme typescript
Last synced: 6 days ago
JSON representation
π Add dynamically generated GitHub Stat Trophies on your readme
- Host: GitHub
- URL: https://github.com/ryo-ma/github-profile-trophy
- Owner: ryo-ma
- License: mit
- Created: 2020-08-22T16:21:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-25T11:31:22.000Z (7 months ago)
- Last Synced: 2024-10-29T14:54:10.410Z (6 months ago)
- Topics: deno, github, github-profile, github-profile-readme, github-profile-trophy, github-readme, github-readme-trophy, github-trophy, hacktoberfest, rank, readme, typescript
- Language: TypeScript
- Homepage: https://github-profile-trophy.vercel.app
- Size: 270 KB
- Stars: 5,247
- Watchers: 54
- Forks: 781
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-github-profile - GitHub Profile Trophy - π Add dynamically generated GitHub Trophy on your readme (Tools)
- awesome - ryo-ma/github-profile-trophy - π Add dynamically generated GitHub Stat Trophies on your readme (TypeScript)
- fucking-awesome-github-profile-readme - GitHub Profile Trophy - π Add dynamically generated GitHub Trophy on your readme (Tools)
- awesome-ccamel - ryo-ma/github-profile-trophy - π Add dynamically generated GitHub Stat Trophies on your readme (TypeScript)
- awesome-deno-cn - @github-profile-trophy
- awesome-github-profile-readme - GitHub Profile Trophy - π Add dynamically generated GitHub Trophy on your readme (Tools)
- awesome-ubc-profile-readme - GitHub Profile Trophy - π Add dynamically generated GitHub Trophy on your readme (Tools)
- awesome-deno - GitHub Profile Trophy - π Add dynamically generated GitHub Trophy on your readme (Showcases / XML)
- awesome-bd-readme-profile - Github Profile Trophy - π Add dynamically generated GitHub Trophy on your readme (Tools / Images Gifs:)
- awesome-bd-readme-profile - Github Profile Trophy - π Add dynamically generated GitHub Trophy on your readme (Tools / Images Gifs:)
- stars - github-profile-trophy - ma | 5682 | (TypeScript)
- awesome-github-profile - Github Profile Trophy
- stars - github-profile-trophy - ma | 5361 | (TypeScript)
- awesome-readme-tools - GitHub Profile Trophy - π Add dynamically generated github trophy on your readme. (Miscellaneous)
README
![]()
GitHub Profile Trophy
π Add dynamically generated GitHub Stat Trophies on your README
[](https://github.com/ryo-ma/github-profile-trophy/stargazers)
[](https://github.com/ryo-ma/github-profile-trophy/network/members)
[](https://github.com/ryo-ma/github-profile-trophy/issues)
[](https://github.com/ryo-ma/github-profile-trophy/blob/master/LICENSE)
[](https://twitter.com/intent/tweet?text=Add%20dynamically%20generated%20GitHub%20Trophy%20on%20your%20readme%0D%0A&url=https%3A%2F%2Fgithub.com%2Fryo-ma%2Fgithub-profile-trophy)
You can use this service for free. I'm looking for sponsors to help us keep up with this serviceβ€οΈ
# Quick Start
Add the following code to your readme. When pasting the code into your profile's
readme, change the `?username=` value to your GitHub's username.```
[](https://github.com/ryo-ma/github-profile-trophy)
```
![]()
## Use theme
Add optional parameter of the theme.
```
[](https://github.com/ryo-ma/github-profile-trophy)
```
![]()
**[More detail](#apply-theme)**
# About Rank
Ranks are `SSS` `SS` `S` `AAA` `AA` `A` `B` `C` `UNKNOWN` `SECRET`.
| Rank | Description |
| ---------- | ------------------------------------------------------------------------------------------ |
| SSS, SS, S | You are at a hard to reach rank. You can brag. |
| AAA, AA, A | You will reach this rank if you do your best. Let's aim here first. |
| B, C | You are currently making good progress. Let's aim a bit higher. |
| UNKNOWN | You have not taken action yet. Let's act first. |
| SECRET | This rank is very rare. The trophy will not be displayed until certain conditions are met. |**NOTE: The `UNKNOWN` rank is denoted by `?`**
## Secret Rank
The acquisition condition is secret, but you can see this.
![]()
There are only a few secret trophies. Therefore, if you come up with interesting
conditions, I will consider adding a trophy. I am waiting for contributions.# About Display details
![]()
1. Title name of aggregation target.
2. Current rank.
3. Title according to rank.
4. Target aggregation result.
5. Rank progress bar.# Optional Request Parameters
- [title](#filter-by-titles)
- [rank](#filter-by-ranks)
- [column](#specify-the-maximum-row--column-size)
- [row](#specify-the-maximum-row--column-size)
- [theme](#apply-theme)
- [margin-w](#margin-width)
- [margin-h](#margin-height)
- [no-bg](#transparent-background)
- [no-frame](#hide-frames)## Filter by titles
You can filter the display by specifying the titles of trophy.
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&title=Followers
```
![]()
If you want to specify multiple titles.
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&title=Stars,Followers
```
![]()
You can also exclude the trophies you don't want to display.
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&title=-Stars,-Followers
```## Filter by ranks
You can filter the display by specifying the ranks.\
`Available values: SECRET SSS SS S AAA AA A B C````
https://github-profile-trophy.vercel.app/?username=ryo-ma&rank=S
```
![]()
If you want to specify multiple ranks.
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&rank=S,AAA
```
![]()
You can also exclude ranks.
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&rank=-C,-B
```**NOTE: Since `UNKNOWN` is denoted by `?`, in order to include or exclude it you
will have to use `rank=?` and `rank=-?` respectively**## Specify the maximum row & column size
You can specify the maximum row and column size.\
Trophy will be hidden if it exceeds the range of both row and column.`Available value: number type`\
`Default: column=6 row=3`Restrict only row
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&row=2
```Restrict only column
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&column=2
```Restrict row & column
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&row=2&column=3
```
![]()
Adaptive column
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&column=-1
```You can set `column` to `-1` to adapt the width to the number of trophies, the
parameter `row` will be ignored.## Apply theme
Available themes.
| theme |
| --------------------------- |
| [flat](#flat) |
| [onedark](#onedark) |
| [gruvbox](#gruvbox) |
| [dracula](#dracula) |
| [monokai](#monokai) |
| [chalk](#chalk) |
| [nord](#nord) |
| [alduin](#alduin) |
| [darkhub](#darkhub) |
| [juicyfresh](#juicyfresh) |
| [buddhism](#buddhism) |
| [oldie](#oldie) |
| [radical](#radical) |
| [onestar](#onestar) |
| [discord](#discord) |
| [algolia](#algolia) |
| [gitdimmed](#gitdimmed) |
| [tokyonight](#tokyonight) |
| [matrix](#matrix) |
| [apprentice](#apprentice) |
| [dark_dimmed](#dark_dimmed) |
| [dark_lover](#dark_lover) |
| [kimbie_dark](#kimbie_dark) |### flat
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=flat
```
![]()
### onedark
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=onedark
```
![]()
### gruvbox
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=gruvbox
```
![]()
### dracula
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=dracula
```
![]()
### monokai
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=monokai
```
![]()
### chalk
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=chalk
```
![]()
### nord
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=nord
```
![]()
### alduin
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=alduin
```
![]()
### darkhub
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=darkhub
```
![]()
### juicyfresh
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=juicyfresh
```
![]()
### buddhism
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=buddhism
```
![]()
### oldie
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=oldie
```
![]()
### radical
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=radical
```
![]()
### onestar
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=onestar
```
![]()
### discord
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=discord
```
![]()
### algolia
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=algolia
```
![]()
### gitdimmed
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=gitdimmed
```
![]()
### tokyonight
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=tokyonight
```
![]()
### matrix
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=matrix
```
![]()
### apprentice
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=apprentice
```
![]()
### dark_dimmed
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=dark_dimmed
```
![]()
### dark_lover
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=dark_lover
```
![]()
### kimbie_dark
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&theme=kimbie_dark
```
![]()
## Margin Width
You can put a margin in the width between trophies.\
`Available value: number type`\
`Default: margin-w=0````
https://github-profile-trophy.vercel.app/?username=ryo-ma&margin-w=15
```
![]()
## Margin Height
You can put a margin in the height between trophies.\
`Available value: number type`\
`Default: margin-h=0````
https://github-profile-trophy.vercel.app/?username=ryo-ma&margin-h=15
```
![]()
## Example layout
```
https://github-profile-trophy.vercel.app/?username=ryo-ma&column=3&margin-w=15&margin-h=15
```
![]()
## Transparent background
You can turn the background transparent.\
`Available value: boolean type (true or false)`\
`Default: no-bg=false````
https://github-profile-trophy.vercel.app/?username=ryo-ma&no-bg=true
```
![]()
## Hide frames
You can hide the frames around the trophies.\
`Available value: boolean type (true or false)`\
`Default: no-frame=false````
https://github-profile-trophy.vercel.app/?username=ryo-ma&no-frame=true
```
![]()
# Contribution Guide
Check [CONTRIBUTING.md](./CONTRIBUTING.md) for more details.
# License
This product is licensed under the
[MIT License](https://github.com/ryo-ma/github-profile-trophy/blob/master/LICENSE).