Gitwar WebApp
https://gitwar.herokuapp.com/
Website :
Features
- Check your Github Score. Based on -
- Your Public Repos
- Stars on Public Repos
- Forks on Public Repos
- Github Followers
- Joined Github Organisations
- Compete with Friends and Other Github Users
- View Trending Repos of 5 Different Languages
Gitwar Score in README
Add Gitwar Score to GitHub Profile README
Shield.io
Badges are Powered byutils/calc.js to Know How Gitwar Score is Calculated
Check
You need to add this in README.md file in your profile repository via Markdown syntax:
![](https://gitwar.herokuapp.com/badge?username=your-github-username)
NOTE: Don't forget to replace example
your-github-username
parameter with real value.
Make it personal
Color
You can use any valid HEX color or pick from a predefined set of named colors (blue
is the default).
color | demo |
---|---|
brightgreen |
|
green |
|
yellow |
|
orange |
|
red |
|
blue |
|
grey |
|
lightgrey |
|
blueviolet |
|
ff69b4 |
Named color
![](https://gitwar.herokuapp.com/badge?username=your-github-username&color=green)
Hex color
![](https://gitwar.herokuapp.com/badge?username=your-github-username&color=dc143c)
NOTE: HEX colors should be used without
#
symbol prefix.
Styles
The following styles are available (flat
is the default).
style | demo |
---|---|
plastic |
|
flat |
|
flat-square |
|
for-the-badge |
![](https://gitwar.herokuapp.com/badge?username=your-github-username&style=flat-square)
Label
You can overwrite default Gitwar Score
text with your own label.
![](https://komarev.com/ghpvc/?username=your-github-username&label=PROFILE+VIEWS)
NOTE: Replace whitespace with
+
character in multi-word labels.
Local Setup
# install dependencies
npm install
# serve at localhost:3000
npm start
# serve with hot reload at localhost:3000
npm run dev
Tech Stack
- Expressjs (Nodejs)
- Axios (HTTP client)
- EJS (Template Engine)
- Github API
- Heroku for deployment
API Credits
Huchenme for the Github Trending Api
Special Thanks toDeployment
Deploy it on your own Heroku Dyno to avoid downtime.
Contributing
Feel free to dive in! Open an issue or submit PRs
License
MIT © Pavan Gandhi