{"id":17951781,"url":"https://github.com/superman66/wakatime-sync","last_synced_at":"2025-04-07T10:29:35.083Z","repository":{"id":34792614,"uuid":"145696236","full_name":"superman66/wakatime-sync","owner":"superman66","description":"Update Wakatime summary data to your gist every day","archived":false,"fork":false,"pushed_at":"2024-08-21T02:14:54.000Z","size":933,"stargazers_count":116,"open_issues_count":5,"forks_count":107,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T08:12:18.380Z","etag":null,"topics":["gist","javascript","sync","wakatime","wakatime-apikey","wakatime-dashboard","wakatime-sync"],"latest_commit_sha":null,"homepage":"http://wakatime.chenhuichao.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/superman66.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-08-22T10:55:18.000Z","updated_at":"2025-02-07T19:40:51.000Z","dependencies_parsed_at":"2024-06-18T18:35:30.523Z","dependency_job_id":"e90d4264-c607-4598-9de2-15524e889ebb","html_url":"https://github.com/superman66/wakatime-sync","commit_stats":{"total_commits":84,"total_committers":3,"mean_commits":28.0,"dds":0.1071428571428571,"last_synced_commit":"6bc8f16b8f24f508b00a4f3421d5a826b3bc95fe"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superman66%2Fwakatime-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superman66%2Fwakatime-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superman66%2Fwakatime-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superman66%2Fwakatime-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/superman66","download_url":"https://codeload.github.com/superman66/wakatime-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247635354,"owners_count":20970723,"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":["gist","javascript","sync","wakatime","wakatime-apikey","wakatime-dashboard","wakatime-sync"],"created_at":"2024-10-29T09:51:01.836Z","updated_at":"2025-04-07T10:29:35.058Z","avatar_url":"https://github.com/superman66.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003ewakatime-sync\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eUpdate Wakatime summary data to your gist every day\u003c/p\u003e\n\u003c/p\u003e\n\n---\n\n\u003e If you only need notify wakatime daily report, you can check out [wakatime-notify](https://github.com/superman66/wakatime-notify)\n\n## Setup\n\n### Prep work\n\n1. Create a new public GitHub Gist (https://gist.github.com/)\n1. Create a token with the `gist` scope and copy it. (https://github.com/settings/tokens/new)\n1. Create a WakaTime account (https://wakatime.com/signup)\n1. In your account settings, copy the existing WakaTime API Key (https://wakatime.com/settings/account)\n\n### Project setup\n\n1. Fork this repo\n2. Go to the repo **Settings \u003e Secrets**\n3. Add the following environment variables:\n   - **GH_TOKEN:** The GitHub token generated above.\n   - **WAKATIME_API_KEY:** The API key for your WakaTime account.\n   - **GIST_ID:** The ID portion from your gist url: `https://gist.github.com/superman66/`**`75f3b2ec23c7f69594ca3d9e8b7ea81d`**..\n4. Run workflow manually. Because workflows aren’t being run on forked repository.\n\n\n### Push Daily Report to Wechat\n\nif you are using Wechat, you can use **ServerChan(http://sc.ftqq.com/)** to push wakatime daily report to your Wechat.\n\n#### Settting\n\n1. Create a ServerChan account (https://sct.ftqq.com/)\n2. Copy SCKEY (https://sct.ftqq.com/sendkey)\n3. Bind your micromessage in ServerChan\n4. Add SCKEY to repo **Secrets**: **SCU_KEY**\n\nafter that, you will receive Wakatime daily report everyday.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"400\" src=\"./screenshot/daily-report.jpg\"\u003e\n\u003c/p\u003e\n\n## Warning\nIn addition to a specific file's contents being truncated, the entire files list may be truncated if the total number exceeds 300 files. If the top level truncated key is true, only the first 300 files have been returned in the files list. If you need to fetch all of the gist's files, you'll need to clone the gist via the URL provided by git_pull_url.\n\n[Gist Truncation](https://docs.github.com/en/rest/gists/gists?apiVersion=2022-11-28#truncation)\n\n## More Usage\n\nyou can send the daily report to you email, telegram, Slack or other IM.\nIf you are interest in it, take a issue or PR.\n\n## How can I use this data\n\nYou can use this data in Wakatime Dashboard(http://wakatime.chenhuichao.com).\n\nYou input the Gist ID, then you can see the report.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./screenshot/wakatime-dashboard.jpg\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperman66%2Fwakatime-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperman66%2Fwakatime-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperman66%2Fwakatime-sync/lists"}