Inspiration
data data data! Data effects and molds almost everything around us. It helps things sustain, plan for future, take notes and for entertainment purposes as well. For this specific scenario, we decided to use the data of GitHub through its APIs and put it to some nice use. We all have an illusion in mind that more number of likes means better quality of content, more number of followers or subscribers means more popularity, which is true in most cases, including code. If a GitHub repository has more number of stars, then it is usually considered to be good. And of course, for the creators, getting more stars is always a plus point. That is what inspired us for this project, Git-Hit, it lets people see their top performing repositories, well not just theirs but any accounts'.
What it does
Git-Hit is a web application that takes the GitHub username as form input, and then runs the APIs in background to get the top 3 best performing repositories of that account, sorted by the number of stars it has. It displays the top 3 repositories in a table which makes it easy to understand it better. The app also has built in try catch methods to handle wrong queries.
How we built it
- For the design, we used Figma
- Since we needed data from GitHub and wanted to manipulate it (which involved making tupples of repository name and stars, and then sorting them in decreasing order and retrieving the top 3), we used GitHub's amazing APIs to fetch the data.
- To manipulate the response as we wanted to, we used some built in functions on python
- For the web framework and WSGI server, we used Flask.
- For creating the frontend, we used HTML-CSS.
- For hosting the application, we used Heroku cloud services.
Challenges we ran into
We ran into a couple of challenges, which included:-
- reaching rate limits of GitHub which caused us to halt our testing for a while
- sorting the data fast and efficiently
Accomplishments that we're proud of
We're proud that we made a small cute project which is really usable for literally anyone who's into programming. We're also happy that we utilized GitHub's data APIs for the first time, which was an amazing experience.
What we learned
- Using GitHub's APIs
- More in general about GitHub stats
What's next for git hit
We would like to add more features such as finding contributors and showing a pictorial graph and stuff, if only we don't exceed the rate limit anytime soon again ;)


Log in or sign up for Devpost to join the conversation.