ryo-ma / github-profile-trophy Goto Github PK
View Code? Open in Web Editor NEWπ Add dynamically generated GitHub Stat Trophies on your readme
Home Page: https://github-profile-trophy.vercel.app
License: MIT License
π Add dynamically generated GitHub Stat Trophies on your readme
Home Page: https://github-profile-trophy.vercel.app
License: MIT License
I've been looking at adding this to my portfolio, but the fact it's a singular image in a col*row
arrangement makes this poor for responsiveness. There is a hacky way where you can have several images and filter for each trophy. But I feel that misses something and could break ordering in the future.
It would be nice if there were 2 more parameters:
limit
- limits the total amount of trophies in an imagespage
- cycles through the list, aka paginationFor example if you had 8 trophies (A,B,C,D,E,F,G,H). To get just the first 3 (A,B,C), you could set limit=3
and nothing for page
, which can be done with row*col
. For a second set (D,E,F) of 3, which would be limit=3
and page=2
, which can't be achieved with row*col
.
Additionally, one could add an offset, but I personally see no value in it in this case.
Make the "points" actually meaningfull at a glance. Off the top of my head this would be done by replacing "pt" with the actual metric used in each trophy. Like "issues" or "stars", etc.
github-profile-trophy/src/trophy.ts
Line 138 in 5e6027e
Please remove Joined 2020 ( everything started ) and remove ancient user and add as years.
Like this python code
if year < 1:
description = "everything started"
elif year > 1 and year < 10:
description = "next description"
else:
description = "Ancient user"
I think it would be neat if this project supported an optional theme
param.
For example ?theme=gruvbox
could change rank bar from #0366d6
to #fabd2f
.
What do you think?
Sorry... cleaning out spam, and accidentally deleted your post. Feel free to repost.
Special trophy should be animated, it is rainbowy, please, animate :)
I see that the repo is quite engaging
I would love to see a github - action welcoming all the new contributors on their issues and Prs
If you love the idea , assign me
How about adding a trophy type for the number of repositories that someone contributed to. It's also there on the Github Readme Card in the last row. So, Definitely, it can be fetched from API. Also, there's another trophy type can be added for number of code reviews.
Just the two new themes that I've noticed that are still undocumented.
I'd do it myself but it seem's you have a documentation convention I don't want to mess up ;P.
After finding out that the new secret trophy requires the person to be in [REDACTED] organizations, the first reaction would be to make [REDACTED] organizations to get it. Unsurprisingly this works, however it doesn't seem right. Instead there should be checking and requirements on the organizations before awarding the trophy:
Proposals:
* I believe this one might be controversial. Any thoughts?
** Dropped this
I just discovered your project, and I think it's fantastic! I immediately applied it to my own profile, and I couldn't be happier!
But I did want to point out that if you allow users to determine their own rank, then naturally they will want to assign themselves a higher rank to make themselves look better. This will hurt your project's credibility, because there is nothing stopping someone from being deceptive. I believe you may have been inspired by the letter grade produced by the github-readme-stats project?
However, if you adapt this idea to make achievement-style badges that cannot simply be faked by users, then I believe your project will have a very prosperous future. There will no longer be a need to serve precisely 6 trophies, you can serve as many achievements as the user's profile has earned according to your system.
I thank you for your effort, and I have starred and watched your repo.
Please add code review trophy
I created a new theme named gitdimmed, so, @ryo-ma , can you update README.md and, add my theme??
Theme Name: GitDimmed
Author: MrBlueBird2 (Badri Vishal)
Theme Example: https://github-profile-trophy.vercel.app/?username=MrBlueBird2&row=2&column=6&theme=gitdimmed&column=8&no-frame=false&no-bg=false%22
Make that clicking the trophies explains what they are and what the points mean.
Change rank system from C B A AA AAA S SS SSS to F E D C B A S SS. The rationale is purely to make it more readable, as more people would understand the US grading system, than the current implementation. This is similar to OSU!'s rating system.
This trophy would be given to users who have contributed to this repository. It would be called something like "Power Contributor",
If there are any details that I forgot to add, let me know!
Here's the theme: anuraghazra/github-readme-stats@2b0efb8
I think that it would be best if the template was to include more filtered words.
Wrong repo I do apologise!
This project is great, but the trophies sticking to the other stuff doesn't seem to look very nice. I think adding a (changeable) gap would make it better!
Please Add one more query for including private repos and forked repos count In Repositories Trophy.
I have a project under an organization which has a lot of stars, but it doesn't show up on my profile unfortunately for stars. Is there a way to add a fix for this?
thank you!
The commit trophy counts the commits of public + private repos, but, the pull request trophy counts only public pull requests, can anybody fix this??
Please support repository of a user and the repository of the organization to which the user joins.
I think it is mainly suitable for users who are working within the organization.
Add a translation mechanism, and a way to use it in the profile, maybe Transifex is useful for this?
There are still a few trophy color themes.π
Waiting for your contributions.
You can add a new theme to the following file.
https://github.com/ryo-ma/github-profile-trophy/blob/master/src/theme.ts
How to run.
https://github.com/ryo-ma/github-profile-trophy#contribution-guide
Heya!
So there is no reasonable way to get the Multiple Language User trophy unless you make repositories purely coded in one language. Instead of querying for the first most used language in a repository could you possibly check for the top 3 most used languages in a repository? That way languages that don't really get used a lot in bytecode can also be factored into consideration.
Thanks!
Also, congrats on 1000 stars! π
We want a trophy demonstrating summation of forks of all repository. There is one javascript project counting total forks.
Would be nice to have an option to have a transparent background, cause github now supports dark theme.
Make it possible for the trophies to be graded on a curve, maybe as an option: C and B would be below the mean, and A AA AAA, would be above, maybe > 50% > 90% and > 95% respectively, S SS SSS would be >99%, >99.9% and on the first 1000 respectively.
There is some bug
If you have any ideas please let us know.
The target of aggregation is preferable to be able to obtain it using GitHub API.
Multilanguage of GitHub trophy is giving wrong results I have 16 unique languages public repos but it showing only 14 kindly help.
Thank You.
I know the project currently takes stats from GitHub, but sometimes some developers use both GitHub and GitLab (or Bitbucket, etc.) Is there a possibility to optionally merge the stats with GitLab?
Since the readme tries to show the time spent on development, I think it would be nice to show the totality and not just one platform. (Although I also understand that, if accepted, it is an improvement that does not happen overnight π ).
Thank you! π
It is helpful when the image is rendered within p
that is aligned center.
For compatibility, this can be set to be false by default.
Example use case is here: https://github.com/Penguinlay/Penguinlay
website link in repo description is not working, is says "Can not find a query parameter: username"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.