{"id":24708078,"url":"https://github.com/pungrumpy/lang-box","last_synced_at":"2025-03-22T06:13:23.488Z","repository":{"id":234744502,"uuid":"789445497","full_name":"PunGrumpy/lang-box","owner":"PunGrumpy","description":"💻 Update a pinned gist to contain languages of your recent commits in GitHub","archived":false,"fork":false,"pushed_at":"2024-04-20T15:19:01.000Z","size":64,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-27T06:32:16.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/PunGrumpy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["inokawa"]}},"created_at":"2024-04-20T15:13:53.000Z","updated_at":"2024-09-01T21:15:15.000Z","dependencies_parsed_at":"2024-04-20T17:00:39.771Z","dependency_job_id":"45150924-6bbd-49f4-b637-aeee26cf7e08","html_url":"https://github.com/PunGrumpy/lang-box","commit_stats":null,"previous_names":["pungrumpy/lang-box"],"tags_count":0,"template":false,"template_full_name":"inokawa/lang-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Flang-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Flang-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Flang-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PunGrumpy%2Flang-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PunGrumpy","download_url":"https://codeload.github.com/PunGrumpy/lang-box/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244913330,"owners_count":20530817,"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-01-27T06:27:43.265Z","updated_at":"2025-03-22T06:13:23.470Z","avatar_url":"https://github.com/PunGrumpy.png","language":"JavaScript","funding_links":["https://github.com/sponsors/inokawa"],"categories":[],"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%2Fpungrumpy%2Flang-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpungrumpy%2Flang-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpungrumpy%2Flang-box/lists"}