GithubHelp home page GithubHelp logo

iampavangandhi / gitwar Goto Github PK

View Code? Open in Web Editor NEW
122.0 5.0 21.0 585 KB

๐Ÿš€ Gitwar - Compete with Github ( โš ๏ธ NOT ACTIVELY MAINTAINED )

Home Page: https://gitwar.up.railway.app

License: MIT License

JavaScript 38.51% CSS 33.28% EJS 28.21%
github github-profile github-stats github-api node node-js express expressjs heroku heroku-deployment

gitwar's Introduction

โš ๏ธ NOT ACTIVELY MAINTAINED


logo

Gitwar - Compete with Github

Version License Deployment Repo Size



Gitwar WebApp

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

Badges are Powered by Shield.io

Check utils/calc.js to Know How Gitwar Score is Calculated

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

Special Thanks to Huchenme for the Github Trending Api

Deployment

Deploy it on your own Heroku Dyno to avoid downtime.

Deploy

Contributing

Feel free to dive in! Open an issue or submit PRs

License

MIT ยฉ Pavan Gandhi


Show some โค๏ธ by starring ๐ŸŒŸ the repository!

gitwar's People

Contributors

ajaykumar97 avatar dependabot[bot] avatar iampavangandhi avatar imgbotapp avatar zeeshan-2k1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gitwar's Issues

Check Score Not Working

Hi @iampavangandhi

There is an issue with the check score. If we want to check the score of the GitHub username then this error page is referring to. Kindly check it.

I attached the screenshot for reference.

image

Compete and Check your Score Functionalities not working

The "Compete" and "Check your Score" functionalities aren't producing the desired outputs and throwing an error 404. I can resolve the issue if you would assign me this issue to work on as well as some enhancement of UI can be made (For ex: Light/Dark Mode)

Getting Inaccessible

Hello,
I don't what kind of issue i am getting in gitwar profile but it is showing Its Inaccessible
Kindly Help Me in that

Improve the UI

Improve the Frontend and Make it Attractive and Responsive ๐ŸŒˆ

`node-fetch` incompatibility with latest CommonJS modules' `require()`

Latest node-fetch is only compatible with ESM modules. Reverting to old node-fetch would work as long as other vulnerable spots are covered.

Error:

> [email protected] start
> node app.js

Gitwar/utils/fetchTrending.js:2
const fetch = require("node-fetch");
              ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /Gitwar/node_modules/node-fetch/src/index.js from /Gitwar/utils/fetchTrending.js not supported.
Instead change the require of index.js in /Gitwar/utils/fetchTrending.js to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/Gitwar/utils/fetchTrending.js:2:15)
    at Object.<anonymous> (/Gitwar/routes/top.js:6:31)
    at Object.<anonymous> (/Gitwar/app.js:40:19) {
  code: 'ERR_REQUIRE_ESM'
}

Reverting to older version of node-fetch should do the job!

Website down

gitwar.herokuapp.com/ down resulting in an application error.

Issue or Bugs

Hello @everyone ๐Ÿ‘‹,

You can post issues and bugs related to Gitwar here. ๐Ÿ›

Pavan Gandhi

Website is Down

Hi, @iampavangandhi I loved your project and a big fan of your project. But for some days I am trying to access your website but it is down. Please check this issue and make it resolve fast. The Current Screenshot of your website where I am facing an error is
image

Error Fetching Resource - 502

The badge seems to have stopped working.
On my profile it appears as broken, while if I click on it, it shows Error Fetching Resource with a 502 bad gateway error in browser's console.

Also the deployed link appears to be broken too => https://gitwar.herokuapp.com/
image

I really like this badge and would really appreciate if you can fix it.

Thank you very much,
Alex

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.