Get your badge showing your current nationwide position realtime from GitHub.
Add the following code to your readme. When pasting the code into your profile's
readme, change the ?name=
value, and the &country=
value to your GitHub's username and your country name respectively.
[![nation-wide-position](https://toppers-nation.vercel.app/?name=isaka-james&country=tanzania)](https://github.com/isaka-james/top)
Toppers Nation is an API-driven web application that generates badges displaying a user's position in the nation according to their GitHub statistics. Users can simply input their GitHub username and country and receive a badge showcasing their position among other developers nationwide.
- Badge Generation: Quickly generate badges indicating a user's position in the nation based on GitHub statistics.
- User-Friendly Interface: Simple and intuitive user interface for ease of use.
- Real-Time Data: Utilizes real-time GitHub statistics to provide accurate positioning information.
- Fast : Tested it brings the trophy very fast even in slow internet connections.
Let use this guy as example, @adamwreuben , He is at the first position since 2019.
The readme code:
[![nation-wide-position](https://toppers-nation.vercel.app/?name=adamwreuben&country=tanzania)](https://github.com/isaka-james/top)
To utilize this API, you will need to provide two pieces of information:
- Your GitHub username
- The name of your country
For example my usernameπ€΅ββοΈ is isaka-james and my countryπΉπΏ is Tanzania, so I put this to my README:
[![nation-wide-position](https://toppers-nation.vercel.app/?name=isaka-james&country=tanzania)](https://github.com/isaka-james/top)
So the trophy will come like this:
Please ensure that the name of your country is entered without spaces or uppercase letters. Below is the complete list of countries, each formatted accordingly:
afghanistan | albania | algeria |
---|---|---|
angola | argentina | armenia |
australia | austria | azerbaijan |
bahrain | bangladesh | belarus |
belgium | benin | bolivia |
botswana | brazil | bulgaria |
burkina_faso | burundi | cambodia |
cameroon | canada | chad |
chile | china | colombia |
congo_brazzaville | congo_kinshasa | croatia |
cuba | cyprus | czech_republic |
denmark | dominican_republic | ecuador |
egypt | el_salvador | estonia |
ethiopia | finland | france |
gabon | germany | ghana |
greece | guatemala | guinea |
haiti | honduras | hong_kong |
hungary | india | indonesia |
iran | iraq | ireland |
israel | italy | ivory_coast |
japan | jordan | kazakhstan |
kenya | kyrgyzstan | laos |
latvia | lebanon | libya |
lithuania | luxembourg | macau |
macedonia | malawi | malaysia |
mali | malta | mauritania |
mexico | moldova | morocco |
mozambique | myanmar | nepal |
netherlands | new_zealand | nicaragua |
niger | nigeria | norway |
oman | pakistan | palestine |
panama | papua_new_guinea | paraguay |
peru | philippines | poland |
portugal | qatar | romania |
russia | rwanda | saudi_arabia |
senegal | serbia | sierra_leone |
singapore | slovakia | slovenia |
somalia | south_africa | republic_of_korea |
south_sudan | spain | sri_lanka |
sudan | sweden | switzerland |
syria | taiwan | tajikistan |
tanzania | thailand | the_bahamas |
togo | tunisia | turkey |
turkmenistan | uae | uganda |
uk | ukraine | united_states |
uruguay | uzbekistan | venezuela |
vietnam | worldwide | yemen |
zambia | zimbabwe |
I used the millitary badge from the USA, after calculating your position then the badge come automatically.. Here are the sample badges; Also if you see that you can add something then you are warmly welcomed to the contribution:
Their readme code:
[![nation-wide-position](https://toppers-nation.vercel.app/?name=iamdastani&country=tanzania)](https://github.com/isaka-james/top)
[![nation-wide-position](https://toppers-nation.vercel.app/?name=Baltazar-Christian&country=tanzania)](https://github.com/isaka-james/top)
[![nation-wide-position](https://toppers-nation.vercel.app/?name=Samweli&country=tanzania)](https://github.com/isaka-james/top)
[![nation-wide-position](https://toppers-nation.vercel.app/?name=issyzac&country=tanzania)](https://github.com/isaka-james/top)
[![nation-wide-position](https://toppers-nation.vercel.app/?name=bcmmbaga&country=tanzania)](https://github.com/isaka-james/top)
[![nation-wide-position](https://toppers-nation.vercel.app/?name=ahmad1284&country=tanzania)](https://github.com/isaka-james/top)
[![nation-wide-position](https://toppers-nation.vercel.app/?name=vincent-laizer&country=tanzania)](https://github.com/isaka-james/top)
- Frontend: svg
- Backend: Flask, commiters.top, github
- Deployment: Vercel
Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.