{"id":26410827,"url":"https://github.com/chadnpc/magf4svs","last_synced_at":"2025-03-17T20:19:30.931Z","repository":{"id":276710540,"uuid":"912996822","full_name":"chadnpc/magf4svs","owner":"chadnpc","description":"Created with StackBlitz ⚡️","archived":false,"fork":false,"pushed_at":"2025-01-06T20:41:11.000Z","size":163,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T01:31:39.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://stackblitz.com/edit/sb1-magf4svs","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/chadnpc.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":"2025-01-06T20:25:57.000Z","updated_at":"2025-01-06T20:57:18.000Z","dependencies_parsed_at":"2025-02-10T01:31:47.601Z","dependency_job_id":"8978ca2d-7ee4-455f-aa68-807faa445287","html_url":"https://github.com/chadnpc/magf4svs","commit_stats":null,"previous_names":["chadnpc/magf4svs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadnpc%2Fmagf4svs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadnpc%2Fmagf4svs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadnpc%2Fmagf4svs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadnpc%2Fmagf4svs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chadnpc","download_url":"https://codeload.github.com/chadnpc/magf4svs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244102819,"owners_count":20398386,"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":[],"created_at":"2025-03-17T20:19:30.383Z","updated_at":"2025-03-17T20:19:30.925Z","avatar_url":"https://github.com/chadnpc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n![wakatime-charts](https://socialify.git.ci/dvjn/wakatime-charts/image?description=1\u0026font=Inter\u0026owner=1\u0026pattern=Charlie%20Brown\u0026theme=Light \"wakatime charts\")\n\n![GitHub Repo stars](https://img.shields.io/github/stars/dvjn/wakatime-charts?color=%23dfb317\u0026style=for-the-badge \"Github Repo stars\")\n![GitHub forks](https://img.shields.io/github/forks/dvjn/wakatime-charts?color=%2397ca00\u0026style=for-the-badge \"Github forks\")\n![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/dvjn/wakatime-charts?color=%23fe7d37\u0026label=PULLS\u0026style=for-the-badge \"Github pull requests\")\n\n---\n\n![Weekly Language Stats](https://raw.githubusercontent.com/dvjn/wakatime-charts/master/images/wakatime_weekly_language_stats.svg \"Weekly Language Stats\")\n![Weekly Project Stats](https://raw.githubusercontent.com/dvjn/wakatime-charts/master/images/wakatime_weekly_project_stats.svg \"Weekly Project Stats\")\n\n\u003c/div\u003e\n\n## How to Use 🚀\n\n### Set it up in your repository ⚙️\n\n1. Add your wakatime api key from [here](https://wakatime.com/settings/api-key), in your repository secrets with the name `WAKATIME_API_KEY`.\n\n2. **Optional:** If you are adding this action to a repository other than your profile repository (`\u003cusername\u003e/\u003cusername\u003e`), add your Github API Token from [here](https://github.com/settings/tokens), in your repository secrets with the name `GITHUB_TOKEN`.\n\n3. Go to actions tab of your repository, click `New workflow`, and then click the link `set up a workflow yourself`.\n\n4. Replace all the file contents with the following:\n\n   ```yaml\n   name: Wakatime Charts\n\n   on:\n     workflow_dispatch:\n     schedule:\n       - cron: \"0 0 * * *\"\n\n   jobs:\n     update-charts:\n       name: Update wakatime stats charts\n       runs-on: ubuntu-latest\n       steps:\n         - uses: dvjn/wakatime-charts@master\n           with:\n             WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}\n             GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # only required if using the action in repository other than profile\n   ```\n\n5. Commit this workflow file.\n\n**Note:** The action will run at 00:00 UTC everyday to update the images.\n\n### Other Parameters 🔧\n\n- `BRANCH_NAME`: Set the branch on which charts are pushed. Defaults to `master`\n- `COMMIT_MESSAGE`: Set the commit message for the changes. Defaults to `📊`\n- `IMAGES_FOLDER`: Set the folder name in which generated images are stored. Defaults to `images`\n- `GIT_USER_EMAIL`: Set the user email for git config. Defaults to Github Action Bot's email `41898282+github-actions[bot]@users.noreply.github.com`\n- `GIT_USER_NAME`: Set the user name for git config. Defaults to `Github Action`\n\n### Using generated images 🔗\n\nLink for the generated images is:\n`https://raw.githubusercontent.com/\u003cusername\u003e/\u003crepository\u003e/\u003cbranch_name\u003e/\u003cimages_folder\u003e/\u003cchart_name\u003e.svg`\n\nWhere, the chart name is one of `wakatime_weekly_language_stats` and `wakatime_weekly_project_stats`.\n\n## Inspiration 😍\n\n- [wakatime-readme](https://github.com/marketplace/actions/waka-readme)\n- [Profile-Readme-WakaTime](https://github.com/marketplace/actions/wakatime-stat-update-action)\n- [github-readme-stats](https://github.com/anuraghazra/github-readme-stats)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadnpc%2Fmagf4svs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchadnpc%2Fmagf4svs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadnpc%2Fmagf4svs/lists"}