Coder Social home page Coder Social logo

saberzero1 / github-trophies Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lucthienphong1120/github-trophies

0.0 0.0 0.0 120 KB

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

Home Page: https://github-trophies.vercel.app

License: GNU General Public License v3.0

TypeScript 100.00%

github-trophies's Introduction

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 ๐Ÿ™ƒ.

github-trophies's People

Contributors

lucthienphong1120 avatar luluhoward avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.