Skip to content

Fully version of github profile trophy, more modifications and improvements are added

License

Notifications You must be signed in to change notification settings

haringuyen01/github-trophies

 
 

Repository files navigation

Quick Start

Do you know a version of Github Profile Trophy (ryo-ma), this version will allows you to show all secret trophies instead of hidden it.

Moreover, in this file some modifications and improvements are added! (see Change logs)

![](https://github-trophies.vercel.app/?username=yourusername)

About fully usage, you can check How to use.

Current Rank System

Base Trophies require

Name of trophy C B A AA AAA S SS SSS difficult rates
TotalStarTrophy 1 10 20 50 100 200 500 1000 Normal
TotalCommitTrophy 1 10 100 200 500 700 1000 2000 Normal
TotalFollowerTrophy 1 10 20 50 100 200 500 1000 Very Hard
TotalIssueTrophy 1 5 10 20 50 100 200 500 Hard
TotalPullRequestTrophy 1 5 10 20 50 100 200 500 Hard
TotalRepositoryTrophy 1 10 20 30 40 50 70 100 Easy

Secret Trophies require

Name of trophy want (actived) default
MultipleLangTrophy 5 10
AchieveSuperRankTrophy 0 1
NewAccountTrophy 0 1
AncientAccountTrophy 0 1
LongTimeAccountTrophy 0 5
MultipleOrganizationsTrophy 1 3

Self-modify

You'll have to deploy yourself, for Vercel or localhost

If you want to configure which trophies you automatically get, configure these booleans in src/card.ts at line 13

let wantAchieveSuperRank = false;
let wantMultipleLang = true;
let wantLongTimeAccount = true;
let wantAncientAccount = false;
let wantNewAccount = false;
let wantMultipleOrganizations = true;

Change logs

  • show all trophies including secret and unreached (conditions remain the same)
  • renewing trophy "AchieveSuperRankTrophy" instead of "AllSuperRankTrophy"
  • condition of "AchieveSuperRankTrophy" from every to at least one
  • renewing trophy "NewAccountTrophy" instead of "Joined2020Trophy"
  • condition of "NewAccountTrophy" from ==2020 to >=2020
  • unit system of "LongTimeAccountTrophy" from pt to year(s)
  • condition of "LongTimeAccountTrophy" from 10years to 5years
  • Open the "wantAllSuperRank" and "wantMultipleLang" trophies by default (conditions is 0)
  • conditions of "MultipleOrganizations" from 3 to 1 (open by default)
  • change the distance between conditions and reduce the difficulty of "TotalStarTrophy"
    • A Rank from 30 to 20
    • SS Rank from 700 to 500
    • SSS Rank from 2000 to 1000
  • change the distance between conditions and reduce the difficulty of "TotalCommitTrophy"
    • S Rank from 1000 to 700
    • SS Rank from 2000 to 1000
    • SSS Rank from 4000 to 2000
  • change condition of "TotalFollowerTrophy"
    • SS Rank from 400 to 500
  • change the distance between conditions and reduce the difficulty of "TotalIssueTrophy"
    • B Rank from 10 to 5
    • A Rank from 20 to 10
    • AA Rank from 50 to 20
    • AAA Rank from 100 to 50
    • S Rank from 200 to 100
    • SS Rank from 500 to 200
    • SSS Rank from 1000 to 500
  • change the distance between conditions and reduce the difficulty of "TotalPullRequestTrophy"
    • B Rank from 10 to 5
    • A Rank from 20 to 10
    • AA Rank from 50 to 20
    • AAA Rank from 100 to 50
    • S Rank from 200 to 100
    • SS Rank from 500 to 200
    • SSS Rank from 1000 to 500
  • change the distance between conditions and reduce the difficulty of "TotalRepositoryTrophy"
    • AAA Rank from 50 to 40
    • S Rank from 80 to 50
    • SS Rank from 90 to 70

If you choose to use my deployment, it would be really appreciated if you gave me a star 🙃.

About

Fully version of github profile trophy, more modifications and improvements are added

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%