Skip to content
프로젝트

소개

Git Wrapped is the API that powers git-wrapped.com (Github Wrapped), a service that generates beautiful visualizations of your GitHub activity.

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+8
in 7 days
+59
in 15 days
+58
in 1 month
+58

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Git Wrapped API

Git Wrapped is the API that powers git-wrapped.com (Github Wrapped), a service that generates beautiful visualizations of your GitHub activity.

Git Wrapped Example

🚀 Quick Start

Prerequisites

  1. Node.js and npm/yarn
  2. GitHub Personal Access Token (Classic)

Environment Setup

Create a .env.local file in the root directory with:

GITHUB_TOKEN=ghp_<your_token_here>

Installation

# Using yarn
yarn install

# Using npm
npm install

Development

Run the development server:

# Using yarn
yarn dev

# Using npm
npm run dev

The application will be available at http://localhost:3000.

📡 API

GET /api/stats?username=<github-username>&year=<year>
  • year is optional. The default is the current year. Every number in the answer is for that year only (for the current year, up to today).
  • topLanguages are the top 3 languages of the repositories you committed to in that year, weighted by your commits there. With fewer than 3 public commits in the year, they fall back to the main language of your repositories.

🛠 Technical Stack

  • Next.js 13
  • TypeScript
  • Main API file: api/stats.ts

🤝 Contributing

We welcome contributions from the community! Here's how you can help:

  1. Open an Issue

    • Found a bug? Have a feature request? Open an issue describing what you'd like to change.
  2. Submit a Pull Request

    • Fork the repository
    • Create a new branch for your feature
    • Make your changes
    • Submit a PR with:
      • Clear description of the changes
      • Link to the related issue
      • Sample result/screenshot if applicable
    • Wait for review

📝 License

The code in this repository is licensed under the MIT License.


Additional Next.js Resources

관련 프로젝트 살펴보기

불러오는 중…