{"id":13716879,"url":"https://github.com/sindresorhus/gh-latest-repos","last_synced_at":"2025-05-09T00:04:52.306Z","repository":{"id":55414508,"uuid":"104388162","full_name":"sindresorhus/gh-latest-repos","owner":"sindresorhus","description":"Microservice to get the latest public GitHub repos from a user","archived":false,"fork":false,"pushed_at":"2024-04-30T19:04:10.000Z","size":333,"stargazers_count":149,"open_issues_count":0,"forks_count":14,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-28T13:23:53.086Z","etag":null,"topics":["api-server","github","graphql","javascript","microservice","nodejs","repository"],"latest_commit_sha":null,"homepage":"gh-latest-repos-sindresorhus.vercel.app","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/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"},"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":"2017-09-21T19:09:46.000Z","updated_at":"2025-03-24T00:18:51.000Z","dependencies_parsed_at":"2024-05-01T23:31:10.155Z","dependency_job_id":"d144b524-be9d-414e-a35c-78f3e6a520b5","html_url":"https://github.com/sindresorhus/gh-latest-repos","commit_stats":{"total_commits":23,"total_committers":8,"mean_commits":2.875,"dds":0.5652173913043479,"last_synced_commit":"186eff9fc84027d36440998310091fd95e0966f0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgh-latest-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgh-latest-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgh-latest-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fgh-latest-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/gh-latest-repos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252841461,"owners_count":21812481,"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":["api-server","github","graphql","javascript","microservice","nodejs","repository"],"created_at":"2024-08-03T00:01:15.307Z","updated_at":"2025-05-09T00:04:52.277Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["Built with Micro","nodejs"],"sub_categories":["Utilities"],"readme":"# gh-latest-repos\n\n\u003e Microservice to get the latest public GitHub repos from a user\n\nI currently use this on [my website](https://sindresorhus.com/#projects).\n\nIt returns the latest repos along with some metadata. The result is cached for a day.\n\n[Example response](example-response.json)\n\n## Usage\n\n### With [`vercel`](https://vercel.com)\n\n```sh\ngit clone https://github.com/sindresorhus/gh-latest-repos.git\nvercel gh-latest-repos --env GITHUB_TOKEN=xxx --env GITHUB_USERNAME=xxx --env ACCESS_ALLOW_ORIGIN=xxx --env MAX_REPOS=xxx\n```\n\n### Manual\n\nTo deploy on your own hosting provider, check out [11e01ac](https://github.com/sindresorhus/gh-latest-repos/commit/11e01acb0d0fd40d69c03155e9862b4cdc71b6f2), set the below environment variables, and start it with `npm start`.\n\n## Environment variables\n\nDefine the following environment variables:\n\n- `GITHUB_TOKEN` - [Personal access token.](https://github.com/settings/tokens/new?description=gh-latest-repos)\n- `GITHUB_USERNAME` - The username you like to get repos from.\n- `ACCESS_ALLOW_ORIGIN` - The URL of your website or `*` if you want to allow any origin (not recommended), for the `Access-Control-Allow-Origin` header.\n- `MAX_REPOS` - The number of repos returned. Optional. Defaults to 6.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgh-latest-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fgh-latest-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fgh-latest-repos/lists"}