{"id":23416668,"url":"https://github.com/wcy-dt/my-github-2024","last_synced_at":"2025-04-05T21:05:53.341Z","repository":{"id":268089071,"uuid":"901770162","full_name":"WCY-dt/my-github-2024","owner":"WCY-dt","description":"Statistics of your activities on GitHub in 2024. 统计2024年你在GitHub上的活动.","archived":false,"fork":false,"pushed_at":"2025-02-09T16:01:59.000Z","size":1320,"stargazers_count":126,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T20:03:00.446Z","etag":null,"topics":["github","github-api","statistics"],"latest_commit_sha":null,"homepage":"https://2024.ch3nyang.top","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WCY-dt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-11T09:30:56.000Z","updated_at":"2025-03-23T22:11:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"77e61e92-7847-48f3-b9f1-00f1b0142f3c","html_url":"https://github.com/WCY-dt/my-github-2024","commit_stats":null,"previous_names":["wcy-dt/my-github-2024"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WCY-dt%2Fmy-github-2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WCY-dt%2Fmy-github-2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WCY-dt%2Fmy-github-2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WCY-dt%2Fmy-github-2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WCY-dt","download_url":"https://codeload.github.com/WCY-dt/my-github-2024/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399871,"owners_count":20932876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","github-api","statistics"],"created_at":"2024-12-22T22:16:26.623Z","updated_at":"2025-04-05T21:05:53.311Z","avatar_url":"https://github.com/WCY-dt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"logo.png\" alt=\"logo\" /\u003e\n\n  Statistics of your activities on GitHub in 2024.\n\n  [简体中文](README_zh-CN.md) | English\n\n  [![Deploy state](https://github.com/WCY-dt/my-github-2024/actions/workflows/deploy.yml/badge.svg)](https://github.com/WCY-dt/my-github-2024/actions/workflows/deploy.yml) [![Server Status](https://img.shields.io/badge/dynamic/json?logo=linux\u0026color=brightgreen\u0026label=Server%20status\u0026query=%24.status\u0026cacheSeconds=600\u0026url=https%3A%2F%2F2024.ch3nyang.top%2Fstatus)](https://2024.ch3nyang.top)\n\n  [![GitHub issues](https://img.shields.io/github/issues/WCY-dt/my-github-2024)](https://github.com/WCY-dt/my-github-2024/issues) [![GitHub pull requests](https://img.shields.io/github/issues-pr/WCY-dt/my-github-2024)](https://github.com/WCY-dt/my-github-2024/pulls) [![GitHub license](https://img.shields.io/github/license/WCY-dt/my-github-2024)](https://github.com/WCY-dt/my-github-2024/blob/main/LICENSE)\n\n  \u003cstrong style=\"font-size: 24px;\"\u003e👉 Try it now: \u003ca href=\"https://2024.ch3nyang.top\"\u003ehttps://2024.ch3nyang.top\u003c/a\u003e\u003c/strong\u003e\n\u003c/div\u003e\n\n## Example\n\n![example](example.png)\n\n## Usage\n\n\u003e [!TIP]\n\u003e\n\u003e **New feature**: Now you can select any year from 2008 to 2024 to generate a report.\n\n1. Visit [https://2024.ch3nyang.top](https://2024.ch3nyang.top).\n\n2. Click the `Sign in with GitHub` button and authorize login.\n\n3. Select your time zone and the year you want to generate, then click the `Generate` button, wait a few seconds, and you can view your activities on GitHub in 2024.\n\n## Run locally\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e Due to the features of the `datetime` library, this project requires Python-3.12 or above.\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/WCY-dt/my-github-2024.git\n    cd my-github-2024\n    ```\n\n2. Create a Github OAuth App:\n\n    Visit [GitHub Developer Settings](https://github.com/settings/developers) 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.\n\n    Get `Client ID` and `Client Secret`.\n\n3. Configure the environment variable `.env` file in the root directory of the project. The content is as follows:\n\n    ```env\n    CLIENT_ID=your_client_id\n    CLIENT_SECRET=your_client_secret\n    ```\n\n4. Install dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n5. Run the project:\n\n    ```bash\n    python my-github-2024.py\n    ```\n\n6. Visit `http://127.0.0.1:5000` and complete!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwcy-dt%2Fmy-github-2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwcy-dt%2Fmy-github-2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwcy-dt%2Fmy-github-2024/lists"}