{"id":22188926,"url":"https://github.com/qwreey/activity-box","last_synced_at":"2025-03-24T20:16:53.250Z","repository":{"id":132464684,"uuid":"449735641","full_name":"qwreey/activity-box","owner":"qwreey","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-19T15:11:46.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T00:32:09.207Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qwreey.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}},"created_at":"2022-01-19T14:57:15.000Z","updated_at":"2022-01-19T14:57:19.000Z","dependencies_parsed_at":"2023-11-20T19:46:31.722Z","dependency_job_id":"6e3fe87e-ca14-4e88-9928-114f72eecbcc","html_url":"https://github.com/qwreey/activity-box","commit_stats":null,"previous_names":["qwreey/activity-box"],"tags_count":0,"template":false,"template_full_name":"JasonEtco/activity-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwreey%2Factivity-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwreey%2Factivity-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwreey%2Factivity-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwreey%2Factivity-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qwreey","download_url":"https://codeload.github.com/qwreey/activity-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245344006,"owners_count":20599867,"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":"2024-12-02T11:13:32.382Z","updated_at":"2025-03-24T20:16:53.196Z","avatar_url":"https://github.com/qwreey.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"400\" src=\"https://user-images.githubusercontent.com/10660468/54499151-062f8900-48e5-11e9-82c9-767d39c9cbbe.png\"\u003e\n  \u003ch3 align=\"center\"\u003eactivity-box\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e⚡️📌 Update a pinned gist to contain the latest activity of a user\u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/JasonEtco/activity-box\"\u003e\u003cimg alt=\"GitHub Actions status\" src=\"https://github.com/JasonEtco/activity-box/workflows/Node%20CI/badge.svg\"\u003e \u003ca href=\"https://codecov.io/gh/JasonEtco/activity-box/\"\u003e\u003cimg src=\"https://badgen.now.sh/codecov/c/github/JasonEtco/activity-box\" alt=\"Codecov\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n---\n\n## Setup\n\n**activity-box** is a GitHub Action that is designed to work using the [`schedule`](https://developer.github.com/actions/managing-workflows/creating-and-cancelling-a-workflow/#scheduling-a-workflow) event.\n\n### Prep work\n\n1. Create a new public GitHub Gist (https://gist.github.com/)\n2. [Create a token](https://github.com/settings/tokens/new) with the `gist` scope and copy it. The `GITHUB_TOKEN` that comes with GitHub Actions cannot currently use the Gist API.\n\n### Project setup\n\n1. [Create a template repository](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) by clicking [here](https://github.com/JasonEtco/activity-box/generate). Alternatively, you can click the _Use this template_ button:\n\n| \u003cimg alt=\"Screenshot of the GitHub repository UI, with the Use this template button highlighted\" src=\"assets/use-this-template.png\" width=\"600\" /\u003e |\n| --- |\n\nName your repository and click _Create repository from template_.\n\n| \u003cimg alt=\"Screenshot of the GitHub repository creation UI\" src=\"assets/create-repository-from-template.png\" width=\"500\" /\u003e |\n| --- |\n\n2. Create a `.github/workflows/activity-box.yml` file with a workflow like this:\n\n```yml\nname: Activity Box\n\non:\n  schedule:\n    - cron: '*/10 * * * *'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v1\n      - uses: JasonEtco/activity-box@master\n        env:\n          GH_PAT: ${{ secrets.GH_PAT }}\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GH_USERNAME: JasonEtco\n          GIST_ID: 123abc\n```\n\n3. [Create a secret](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) 🔑 by going to **GitHub repo \u003e Settings \u003e Secrets \u003e New secret** with the following:\n- Name: `GH_PAT`.\n- Value: The token with the `gist` scope generated previously.\n\n4. 💰 Profit\n\n### Environment variables \u0026 secrets\n\n- **GIST_ID:** The ID portion from your gist url `https://gist.github.com/matchai/`**`6d5f84419863089a167387da62dd7081`**.\n- **GH_PAT:** The GitHub token generated above.\n- **GH_USERNAME:** The username handle of the GitHub account.\n\n---\n\n_Inspired by [matchai/bird-box](https://github.com/matchai/bird-box)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwreey%2Factivity-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqwreey%2Factivity-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwreey%2Factivity-box/lists"}