Skip to content

Statistics of your activities on GitHub in 2024. 统计2024年你在GitHub上的活动.

License

Notifications You must be signed in to change notification settings

WCY-dt/my-github-2024

Repository files navigation

logo

Statistics of your activities on GitHub in 2024.

简体中文 | English

Deploy state Server Status

GitHub issues GitHub pull requests GitHub license

👉 Try it now: https://2024.ch3nyang.top

Example

example

Usage

  1. Visit https://2024.ch3nyang.top.

  2. Click the Sign in with GitHub button and authorize login.

  3. Select your time zone, then click the Generate button, wait a few seconds, and you can view your activities on GitHub in 2024.

Run locally

Important

Due to the features of the datetime library, this project requires Python-3.12 or above.

  1. Clone the repository:

    git clone https://github.com/WCY-dt/my-github-2024.git
    cd my-github-2024
  2. Create a Github OAuth App:

    Visit GitHub Developer Settings to create a new OAuth App. In it, fill in Homepage URL and Authorization callback URL with http://127.0.0.1:5000 and http://127.0.0.1:5000/callback respectively.

    Get Client ID and Client Secret.

  3. Configure the environment variable .env file in the root directory of the project. The content is as follows:

    CLIENT_ID=your_client_id
    CLIENT_SECRET=your_client_secret
  4. Install dependencies:

    pip3 install -r requirements.txt
  5. Run the project:

    python3 my-github-2024.py
  6. Visit http://127.0.0.1:5000 and complete!

Statistics

Star History Chart

About

Statistics of your activities on GitHub in 2024. 统计2024年你在GitHub上的活动.

Topics

Resources

License

Stars

Watchers

Forks