{"id":15682968,"url":"https://github.com/tspascoal/stale-repos","last_synced_at":"2026-01-20T03:33:51.427Z","repository":{"id":39036697,"uuid":"281449846","full_name":"tspascoal/stale-repos","owner":"tspascoal","description":"A GitHub App built with Probot (https://github.com/probot/probot) to help you find stale repos in an easy fashion.","archived":false,"fork":false,"pushed_at":"2023-03-05T08:56:10.000Z","size":1504,"stargazers_count":3,"open_issues_count":22,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T08:53:55.648Z","etag":null,"topics":["probot","probot-app"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/tspascoal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-07-21T16:32:19.000Z","updated_at":"2023-01-11T12:48:05.000Z","dependencies_parsed_at":"2024-12-20T16:42:30.970Z","dependency_job_id":"0ce63fa6-f13e-413e-8ef4-1754fe877069","html_url":"https://github.com/tspascoal/stale-repos","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.045454545454545414","last_synced_commit":"04949c99590db790722c6b0d8c33f2a6a38409d5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tspascoal%2Fstale-repos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tspascoal%2Fstale-repos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tspascoal%2Fstale-repos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tspascoal%2Fstale-repos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tspascoal","download_url":"https://codeload.github.com/tspascoal/stale-repos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595376,"owners_count":20963941,"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":["probot","probot-app"],"created_at":"2024-10-03T17:01:44.580Z","updated_at":"2026-01-20T03:33:51.382Z","avatar_url":"https://github.com/tspascoal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stale Repos\n\n\u003e A GitHub App built with [Probot](https://github.com/probot/probot) to help you find stale repos in an easy fashion.\n\nThe bot scans your reps in regular intervals (default is once a day) and if they lack activity for a configurable amount of time they will be marked as staled.\n\nPushes to the repo, creating or update issues or pull requests are considered activity.\n\nWhen a repository is considered stale, a [topic](https://docs.github.com/en/github/administering-a-repository/classifying-your-repository-with-topics) is added to the repository so you can easily find all stale repos by [searching](https://docs.github.com/en/github/searching-for-information-on-github/searching-topics) for repos who have the `stale`\n\nIf a repository has been marked as stale and there is activity after that the application automatically removes the stale topic as well (this is not done in real time, so it may take a few hours for the topic to be removed)\n\n\u003e This is just a sample application, it is not offered as a service so if you wish to use it then you need to host it yourself\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=stale-repos\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=stale-repos) ![CI](https://github.com/tspascoal/stale-repos/workflows/CI/badge.svg)\n\n## Setup\n\n```sh\n# Install dependencies\nnpm install\n\n# Run with hot reload\nnpm run build:watch\n\n# Compile and run\nnpm run build\nnpm run start\n```\n\n### Configuring the application\n\nThe application is only provided in source code form as a sample, you need to register and host it yourself.\n\nThe application can be registered manually or using the provided [application manifest](app.yml).\n\nLearn how to register the [application](https://docs.github.com/en/developers/apps/creating-a-github-app-from-a-manifest)\n\n\u003e Note: The manifest marks the application as **private**, so it can be installed by the application onwer on it's own repos, if you are installing it on your own private server then it's better if you make it public.\n\nIf you are going to register the application manually these are the required permissions\n\n* **administration** -  read \u0026 write (required to manage a repo topics)\n* **contents** - read\n* **issues** - read\n* **metadata** - read\n* **pull requests** - read\n\n#### Configuration settings\n\nThe application has the following parameters (they are configure as environment variables)\n\n* STALE_TOPIC (optional, default value `stale`) The name of the topic that is used to mark stale repo.\n* INACTIVITY_HOURS (optional, default 4320 (180 days))) The maximum time of hours a repo can be inactive until it is considered stale.\n* INTERVAL_HOURS (optional, default 24 hours) - At which interval should the repo(s) be scanned (either to mark or unmark them as stale)\n* GHE_HOST (optional, defaults to github.com)\n\n#### Installation\n\nAfter the application has been configured and running you will need to install it on the repo(s) or organizations that you want to check for staleness\n\n### Learning More\n\nIf you wish to learn more about GitHub Applications you can learn more at [Getting Started with apps](https://docs.github.com/en/developers/apps/getting-started-with-apps)\n\n## Contributing\n\nIf you have suggestions for how stale-repo could be improved, or want to report a bug, open an issue! We'd love all and any contributions.\n\nFor more, check out the [Contributing Guide](CONTRIBUTING.md).\n\n## License\n\n[ISC](LICENSE) © 2020 Tiago Pascoal \u003ctiago@pascoal.net\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftspascoal%2Fstale-repos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftspascoal%2Fstale-repos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftspascoal%2Fstale-repos/lists"}