{"id":14142872,"url":"https://github.com/liby/recent-languages-box","last_synced_at":"2025-03-16T19:43:45.734Z","repository":{"id":253076820,"uuid":"842152835","full_name":"liby/recent-languages-box","owner":"liby","description":"💻 Update a pinned gist to contain languages of your recent commits in GitHub","archived":false,"fork":false,"pushed_at":"2025-03-01T03:15:58.000Z","size":36,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T14:56:39.224Z","etag":null,"topics":["gists","github","github-pro","linguist","pinned-gist"],"latest_commit_sha":null,"homepage":"https://gist.github.com/liby/914dd217cecdc3bf27960be421c95850","language":"TypeScript","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/liby.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":"2024-08-13T19:24:46.000Z","updated_at":"2025-03-01T03:16:01.000Z","dependencies_parsed_at":"2024-08-14T10:11:58.887Z","dependency_job_id":"23c32203-c3c4-4a7b-977e-e2e6c4b3fdd0","html_url":"https://github.com/liby/recent-languages-box","commit_stats":null,"previous_names":["liby/recent-languages-box"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liby%2Frecent-languages-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liby%2Frecent-languages-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liby%2Frecent-languages-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liby%2Frecent-languages-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liby","download_url":"https://codeload.github.com/liby/recent-languages-box/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243922928,"owners_count":20369457,"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":["gists","github","github-pro","linguist","pinned-gist"],"created_at":"2024-08-16T20:00:45.977Z","updated_at":"2025-03-16T19:43:45.710Z","avatar_url":"https://github.com/liby.png","language":"TypeScript","funding_links":[],"categories":["GitHub"],"sub_categories":[],"readme":"# Recent Languages Box\n\n\u003e ✨ Inspired by [lang-box](https://github.com/inokawa/lang-box)\n\u003e\n\u003e 📌 For more pinned-gist projects, check out: [awesome-pinned-gists](https://github.com/matchai/awesome-pinned-gists)\n\nThis project analyzes your recent GitHub commits using the GitHub API and [Linguist](https://github.com/github-linguist/linguist) to display the percentage of each programming language used. It also calculates the number of lines added/removed per language.\n\n## [Preview](https://gist.github.com/liby/914dd217cecdc3bf27960be421c95850)\n\n## Setup Guide\n\n### 1. Create a GitHub Gist\n\n  1. Go to [https://gist.github.com/](https://gist.github.com/) and create a new public gist.\n\n  2. Name the file (e.g., \"Recent Coding Languages\") and add a description (e.g., \"💻 Recent GitHub Activity Languages\").\n\n### 2. Generate a GitHub Token\n\n  1. [Create a new Personal Access Token](https://github.com/settings/personal-access-tokens/new)\n\n  2. Configure repository access:\n\n     - For public repositories：Select **\"Public Repositories (read-only)\"**\n\n     - For all repositories: Select **\"All repositories\"**\n\n     - For specific repositories:\n\n       1. Choose **\"Only select repositories\"**\n\n       2. Select the desired repositories from the list\n\n  3. Configure permissions:\n\n     - Repository permissions \u003e Metadata: Read-only\n\n        - When selecting **\"Public Repositories (read-only)\"** no configuration is required.\n\n     - Account permissions \u003e Gists: Read and write\n\n  3. Generate and copy the token for use in the next steps.\n\n      Note: Ensure you save the token securely, as it won't be displayed again.\n\n### 3. Set Up the Project\n  1. Fork this repository or create a new one using the [template](https://github.com/new?template_name=recent-languages-box\u0026template_owner=liby).\n\n  2. Ensure GitHub Actions are enabled for your repository.\n\n  3. Go to repository **Settings** \u003e **Security** \u003e **Actions secrets and variables** \u003e **Secrets**, add the following environment variables:\n\n      - `GH_TOKEN`: The GitHub token generated above.\n\n  4. Go to repository **Settings** \u003e **Security** \u003e **Actions secrets and variables** \u003e **Variables**, add the following environment variables:\n\n      - `GIST_ID`: The ID of your gist (e.g., `914dd217cecdc3bf27960be421c95850` from https://gist.github.com/liby/914dd217cecdc3bf27960be421c95850)\n\n### 4. Pin the Gist to Your Profile\n\nFollow GitHub's guide on [pinning items to your profile](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/pinning-items-to-your-profile) to display your language stats.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliby%2Frecent-languages-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliby%2Frecent-languages-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliby%2Frecent-languages-box/lists"}