Statistics of your activities on GitHub in 2024.
简体中文 | English
👉 Try it now: https://2024.ch3nyang.top
-
Visit https://2024.ch3nyang.top.
-
Click the
Sign in with GitHub
button and authorize login. -
Select your time zone, then click the
Generate
button, wait a few seconds, and you can view your activities on GitHub in 2024.
Important
Due to the features of the datetime
library, this project requires Python-3.12 or above.
-
Clone the repository:
git clone https://github.com/WCY-dt/my-github-2024.git cd my-github-2024
-
Create a Github OAuth App:
Visit GitHub Developer Settings to create a new OAuth App. In it, fill in
Homepage URL
andAuthorization callback URL
withhttp://127.0.0.1:5000
andhttp://127.0.0.1:5000/callback
respectively.Get
Client ID
andClient Secret
. -
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
-
Install dependencies:
pip3 install -r requirements.txt
-
Run the project:
python3 my-github-2024.py
-
Visit
http://127.0.0.1:5000
and complete!