{"id":16475345,"url":"https://github.com/avinal/profile-readme-wakatime","last_synced_at":"2025-08-18T19:08:10.878Z","repository":{"id":43550307,"uuid":"310915625","full_name":"avinal/Profile-Readme-WakaTime","owner":"avinal","description":"Generate coding activity graph tracked by WakaTime to embed in Readme(s) and webpages.","archived":false,"fork":false,"pushed_at":"2024-04-23T16:24:14.000Z","size":274,"stargazers_count":90,"open_issues_count":2,"forks_count":46,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T11:55:02.249Z","etag":null,"topics":["coding-activity","coding-graph","data-scraped","docker","github","github-actions","github-actions-docker","graph","image-processing","matplotlib","portfolio-graph","profile-readme","profile-readme-wakatime","python","readme","time-tracking","utc","wakatime","wakatime-api","web-widgets"],"latest_commit_sha":null,"homepage":"https://avinal.space/posts/development/wakatime-readme","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/avinal.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":"2020-11-07T19:19:37.000Z","updated_at":"2025-07-23T13:48:19.000Z","dependencies_parsed_at":"2024-06-18T13:37:29.783Z","dependency_job_id":"28b0fb98-3f94-4384-8571-f9ca7aac8497","html_url":"https://github.com/avinal/Profile-Readme-WakaTime","commit_stats":{"total_commits":68,"total_committers":4,"mean_commits":17.0,"dds":0.3970588235294118,"last_synced_commit":"a82690d3f10e78ae6ef275872f3ef038b4a33cb4"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/avinal/Profile-Readme-WakaTime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2FProfile-Readme-WakaTime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2FProfile-Readme-WakaTime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2FProfile-Readme-WakaTime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2FProfile-Readme-WakaTime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avinal","download_url":"https://codeload.github.com/avinal/Profile-Readme-WakaTime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avinal%2FProfile-Readme-WakaTime/sbom","scorecard":{"id":218254,"data":{"date":"2025-08-11","repo":{"name":"github.com/avinal/Profile-Readme-WakaTime","commit":"bd2cab83f9f63b760a6af921c62a818c8df53d45"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":2,"reason":"Found 2/10 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:7: pin your Docker image by updating ghcr.io/avinal/lark:latest to ghcr.io/avinal/lark:latest@sha256:699d7af2ec535f5939f9359d2d2efc31ad7c01e0ace09d77951e126d48f273e3","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T02:02:42.162Z","repository_id":43550307,"created_at":"2025-08-17T02:02:42.162Z","updated_at":"2025-08-17T02:02:42.162Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271043762,"owners_count":24689821,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["coding-activity","coding-graph","data-scraped","docker","github","github-actions","github-actions-docker","graph","image-processing","matplotlib","portfolio-graph","profile-readme","profile-readme-wakatime","python","readme","time-tracking","utc","wakatime","wakatime-api","web-widgets"],"created_at":"2024-10-11T12:37:45.716Z","updated_at":"2025-08-18T19:08:10.826Z","avatar_url":"https://github.com/avinal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**NOTE: This project is complete and requires no additional development at this stage. If you find an issue or have ideas for new features, please open an issue. In the meantime I am trying to migrate it from Python, until that happens this is all the project has to offer.**\r\n\r\n---\r\n\r\n\u003cp align=center\u003e\u003cimg src=\"/waka.png\"\u003e\u003c/p\u003e\r\n\u003cp align=center\u003e\u003ca href=\"https://github.com/avinal/Profile-Readme-WakaTime/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/avinal/Profile-Readme-WakaTime\" alt=\"License\"\u003e\u003c/a\u003e \u003ca href=\"https://github.com/avinal/Profile-Readme-WakaTime/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/avinal/Profile-Readme-WakaTime\" alt=\"Releases\"\u003e\u003c/a\u003e \u003ca href=\"https://github.com/avinal/lark\"\u003e\u003cimg src=\"https://img.shields.io/badge/uses-avinal%2Flark-blueviolet\"\u003e\u003c/a\u003e \u003cimg src=\"https://github.com/avinal/avinal/workflows/Build%20Graph/badge.svg\" alt=\"Build\"\u003e \u003cimg src=\"https://wakatime.com/badge/github/avinal/Profile-Readme-WakaTime.svg\" alt=\"Time Tracked\"\u003e \u003ca href=\"https://github.com/avinal/Profile-Readme-WakaTime/discussions\"\u003e\u003cimg src=\"https://img.shields.io/badge/QnA-Discussions-blueviolet\"\u003e\u003c/a\u003e\u003c/p\u003e\r\n\r\nIf you use WakaTime to track your coding activity. You can add that to your README as a bar graph or embed in your blog/portfolio. Just add this action to any of your repository and there you have it. See mine below.\r\n\r\n## My WakaTime Coding Activity\r\n\r\n\u003cimg src=\"https://github.com/avinal/avinal/blob/main/images/stat.svg\" alt=\"Avinal WakaTime Activity\"/\u003e\r\n\r\n## How to add one to your README.md\r\n\r\n1. First get your WakaTime API Key. You can get it from your [WakaTime](https://wakatime.com) account settings.\r\n2. Save WakaTime API Key to Repository Secret. Find that by clicking the Settings tab. Keep the name of secret as **WAKATIME_API_KEY**.\r\n3. Add following line in your README.md of your repo.\r\n\r\n```html\r\n\u003cimg\r\n  src=\"https://github.com/\u003cusername\u003e/\u003crepository-name\u003e/blob/\u003cbranch-name\u003e/images/stat.svg\"\r\n  alt=\"Alternative Text\"\r\n/\u003e\r\nExample:\r\n\u003cimg\r\n  src=\"https://github.com/avinal/avinal/blob/main/images/stat.svg\"\r\n  alt=\"Avinal WakaTime Activity\"\r\n/\u003e\r\n```\r\n\r\nYou can use this method to embed in web pages too. _Do not use markdown method of inserting images. It does not work some times._\r\n\r\n4. Click **Action** tab and **choose set up a workflow yourself**.\r\n5. Copy the following code into the opened file, you can search for **WakaTime Stat** in marketplace tab for assistance.\r\n\r\n```yml\r\nname: WakaTime status update\r\n\r\non:\r\n  schedule:\r\n    # Runs at 12 am  '0 0 * * *'  UTC\r\n    - cron: \"1 0 * * *\"\r\n\r\njobs:\r\n  update-readme:\r\n    name: Update the WakaTime Stat\r\n    runs-on: ubuntu-latest\r\n    steps:\r\n      # Use avinal/Profile-Readme-WakaTime@\u003clatest-release-tag\u003e for latest stable release\r\n      # Do not change the line below until you have forked this repository\r\n      # If you have forked this project you can use \u003cusername\u003e/Profile-Readme-WakaTime@master instead\r\n      - uses: avinal/Profile-Readme-WakaTime@master\r\n        with:\r\n          # WakaTime API key stored in secrets, do not directly paste it here\r\n          WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}\r\n          # Automatic github token\r\n          GITHUB_TOKEN: ${{ github.token }}\r\n          # Branch - newer GitHub repositories have \"main\" as default branch, change to main in that case, default is master\r\n          BRANCH: \"master\"\r\n          # Manual Commit messages - write your own messages here\r\n          COMMIT_MSG: \"Automated Coding Activity Update :alien:\"\r\n          # Range of fetching data - default is \"last_7_days\". See https://wakatime.com/developers#stats for more options\r\n          STATS_RANGE: \"last_7_days\"\r\n\r\n```\r\n\r\n6. Please wait till 12 AM UTC to run this workflow automatically. Or you can force run it by going to Action tab. Or you can add following lines under `on:` to run with every push. Search for 12 AM UTC to find equivalent time in your time zone.\r\n\r\n```yml\r\non:\r\n  push:\r\n    branches: [master]\r\n  schedule:\r\n    - cron: \"1 0 * * *\"\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinal%2Fprofile-readme-wakatime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favinal%2Fprofile-readme-wakatime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favinal%2Fprofile-readme-wakatime/lists"}