Strava Overlay Trends, but for Developers. Get your monthly GitHub activity summary in a shareable image format.
Report a Bug
·
Request New Features
Gitrava is a web application that allows developers to log in with their GitHub account and automatically generate a monthly activity summary. Inspired by the activity summaries that runners often share on Strava, the project aims to provide a similar “overlay” for developers to showcase their productivity and contributions on GitHub.
The final result of the summary can be downloaded as a 9:16 PNG image, perfect for sharing on social media like Instagram Stories.
- Secure login using GitHub account (OAuth 2.0).
- Shows total monthly statistics:
- LOC (Lines of Code) Additions
- LOC (Lines of Code) Deletions
- Average lines of code changed per day
- Authentic monthly contribution calendar visualization.
- Download summary as PNG image with 9:16 ratio.
List of key technologies used in this project:
To run this project in your local environment, follow these simple steps.
Make sure you have Node.js and npm (or yarn/pnpm) installed on your machine.
- Clone this repository:
git clone [https://github.com/zumaku/gitrava.git](https://github.com/zumaku/gitrava.git)
- Enter the project directory:
cd gitrava - Install all dependencies:
npm install
- Configure Environment Variables:
- Create a
.env.localfile in the project root. - Register a new OAuth application in your GitHub Developer settings.
- Set the Authorization callback URL to
http://localhost:3000/api/auth/callback/github. - Fill the
.env.localfile with your credentials:GITHUB_ID=YOUR_CLIENT_ID GITHUB_SECRET=YOUR_CLIENT_SECRET AUTH_SECRET=A_VERY_SECRET_RANDOM_STRING
- Create a
- Run the development server:
Open http://localhost:3000 in your browser.
npm run dev
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks!
Steps to contribute:
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature). - Commit your Changes (
git commit -m 'Add some AmazingFeature'). - Push to the Branch (
git push origin feature/AmazingFeature). - Open a Pull Request.