A cinematic journey through your year in code.
GitHub Yearly Recap processes your GitHub timeline to create an interactive, personalized presentation. Inspired by the "Wrapped" format, it combines detailed activity analysis with fluid animations and AI-generated insights to tell the story of your open-source contributions.
-
Activity Analysis: Deep dives into your contribution history, identifying patterns, peak productivity day, and language preferences.
-
Cinematic Visualization: Data is presented through a series of auto-playing slides, utilizing Framer Motion for smooth transitions and immersive interactions.
-
AI Insights: Powered by Google Gemini, the application generates personalized commentary on your coding habits, achievements, and unique style.
-
Interactive Heatmap: A fully responsive, explorative view of your contribution graph, providing an immersive experience for analyzing your best months, weeks, days, and streaks.
Frontend
- React 19
- TypeScript
- Tailwind CSS v4
- Framer Motion
- Shadcn UI
Backend
- Vercel Serverless Functions
- GitHub GraphQL API
- Google Gemini API
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated!
Before you begin, ensure you have the following installed:
- Node.js (v18 or higher)
- Vercel CLI (
npm i -g vercel) - A GitHub Personal Access Token (PAT)
- A Google Gemini API Key
- A Firebase Project
-
Fork the Project Create your own fork of the repository by clicking the "Fork" button at the top of the page.
-
Clone the Repository
git clone https://github.com/your-username/github-yearly-recap.git cd github-yearly-recap -
Install Dependencies
cd github-yearly-recap/ npm install cd api npm install cd ..
-
Configure Environment Variables Create a
.env.localfile in the root directory. Use.env.exampleas a template to add yourGITHUB_TOKENandGEMINI_API_KEY. -
Create a Feature Branch
git checkout -b feature/amazing-feature
-
Start Local Development Launch the development environment using the Vercel CLI to ensure serverless functions are active:
vercel dev
The app will be available at
http://localhost:3000. -
Commit Your Changes
git commit -m 'Add some amazing feature' -
Push to the Branch
git push origin feature/amazing-feature
-
Open a Pull Request Navigate to the original repository and open a pull request from your feature branch.
This project is built to run on Vercel. Connect your repository, add the required environment variables in the dashboard, and deploy.
This project is open source and available under the MIT License.
