{"id":13529762,"url":"https://github.com/inokawa/lang-box","last_synced_at":"2025-10-13T23:32:59.397Z","repository":{"id":43458989,"uuid":"334643111","full_name":"inokawa/lang-box","owner":"inokawa","description":"💻 Update a pinned gist to contain languages of your recent commits in GitHub","archived":false,"fork":false,"pushed_at":"2024-05-03T04:39:15.000Z","size":82,"stargazers_count":57,"open_issues_count":5,"forks_count":159,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-08T19:04:32.428Z","etag":null,"topics":["gist","github","linguist","pinned-gist"],"latest_commit_sha":null,"homepage":"https://github.com/inokawa/lang-box","language":"JavaScript","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/inokawa.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},"funding":{"github":["inokawa"]}},"created_at":"2021-01-31T11:51:58.000Z","updated_at":"2025-06-01T03:17:34.000Z","dependencies_parsed_at":"2023-01-30T13:31:33.307Z","dependency_job_id":"fc55c9e8-eef4-4cc3-b9de-d54fe4faffba","html_url":"https://github.com/inokawa/lang-box","commit_stats":{"total_commits":30,"total_committers":5,"mean_commits":6.0,"dds":"0.30000000000000004","last_synced_commit":"4b4c614691e212213e3aa9dd22fe3fbd41ad210d"},"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/inokawa/lang-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Flang-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Flang-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Flang-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Flang-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inokawa","download_url":"https://codeload.github.com/inokawa/lang-box/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inokawa%2Flang-box/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017237,"owners_count":26086015,"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-10-13T02:00:06.723Z","response_time":61,"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":["gist","github","linguist","pinned-gist"],"created_at":"2024-08-01T07:00:39.181Z","updated_at":"2025-10-13T23:32:59.370Z","avatar_url":"https://github.com/inokawa.png","language":"JavaScript","funding_links":["https://github.com/sponsors/inokawa"],"categories":["github","GitHub"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"400\" src=\"./example.png\"\u003e\n  \u003ch3 align=\"center\"\u003elang-box\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e💻 Update a pinned gist to contain languages of your recent commits in GitHub\u003c/p\u003e\n\u003c/p\u003e\n\n---\n\n\u003e This project is inspired by [waka-box](https://github.com/matchai/waka-box), [productive-box](https://github.com/maxam2017/productive-box) and [metrics](https://github.com/lowlighter/metrics).\u003cbr/\u003e\n\u003e 📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists\n\nThis project gets your recent commits from your activities fetched from GitHub API, and process them with [linguist](https://github.com/github/linguist) to show the percentage of each languages used. This project also calculate how many lines of codes were added/removed per language.\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)\n\n   - And if you would like to include commits in private repos, also add `repo` scope.\n\n     \u003e Enable `repo` scope seems **DANGEROUS**, but secrets are not passed to workflows that are triggered by a pull request from a fork (https://docs.github.com/en/actions/reference/encrypted-secrets)\n\n### Project setup\n\n1. Fork this repo, or [create a repository from template](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) by clicking [here](https://github.com/inokawa/lang-box/generate) or the **Use this template** button on this project.\n   - If you added `repo` scope above, it's recommended to create private repository.\n1. Open the \"Actions\" tab of your fork and click the \"enable\" button.\n1. Edit the [environment variable](https://github.com/inokawa/lang-box/blob/master/.github/workflows/run.yml#L32-L33) in `.github/workflows/run.yml`:\n\n   - **GIST_ID:** The ID portion from your gist url: `https://gist.github.com/inokawa/`**`64dacee1c6c93cdbcf48548f6598f823`**.\n\n1. Go to the repo **Settings \u003e Secrets**\n1. Add the following environment variables:\n   - **GH_TOKEN:** The GitHub token generated above.\n1. [Pin the newly created Gist](https://help.github.com/en/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finokawa%2Flang-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finokawa%2Flang-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finokawa%2Flang-box/lists"}