{"id":19724179,"url":"https://github.com/fastruby/blogcop","last_synced_at":"2025-04-29T22:31:15.216Z","repository":{"id":40400188,"uuid":"208922729","full_name":"fastruby/blogcop","owner":"fastruby","description":"Blogcop is GitHub bot made with Sinatra that helps you manage the outdated articles of your Jekyll blog","archived":false,"fork":false,"pushed_at":"2023-09-11T19:59:39.000Z","size":44,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-05T20:03:18.346Z","etag":null,"topics":["bot","github-app","jekyll","ruby","sinatra"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/outdated-article","language":"Ruby","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/fastruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-09-17T00:23:09.000Z","updated_at":"2023-04-10T08:56:29.000Z","dependencies_parsed_at":"2024-11-11T23:28:14.060Z","dependency_job_id":"1dcbbda2-44c5-4367-b144-a9a44b7fdf76","html_url":"https://github.com/fastruby/blogcop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fblogcop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fblogcop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fblogcop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastruby%2Fblogcop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastruby","download_url":"https://codeload.github.com/fastruby/blogcop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251593025,"owners_count":21614460,"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":["bot","github-app","jekyll","ruby","sinatra"],"created_at":"2024-11-11T23:24:47.377Z","updated_at":"2025-04-29T22:31:14.742Z","avatar_url":"https://github.com/fastruby.png","language":"Ruby","readme":"# Blogcop\n\nBlogcop is a simple GitHub bot made with [Sinatra](http://sinatrarb.com/) that helps you manage the outdated articles of your [Jekyll](https://jekyllrb.com) blog.\n\nCheck out the article on the [OmbuLabs blog](https://www.ombulabs.com/blog) for more details.\n\n## Installation\n\nThe bot is available to install on the [GitHub Marketplace](https://github.com/marketplace/outdated-article).\n\n## Development\n\n### Requirements\n\n- Ruby \u003e= 2.2.0\n\n- Have a [GitHub app](https://developer.github.com/apps/building-github-apps/creating-a-github-app/) with these settings:\n  - Repository permissions\n    - Contents (Read \u0026 Write)\n    - Issues (Read \u0026 Write)\n    - Pull requests (Read \u0026 Write)\n  - Subscribe to events\n    - Issues\n    - Pull request\n    - Push\n\n### Steps\n\n1. Clone the repository to your local machine: `git clone git@github.com:ombulabs/blogcop.git`\n2. Go to the new directory and run `bundle`\n3. Create a copy of the environment variables: `cp .env.sample .env`\n4. Add your GitHub App's private key, app ID, and webhook secret to the `.env` file.\n5. Run `ruby server.rb`\n\n## Task\n\nTo check blogposts on all installations on demand, run the command `ruby check_outdated_posts.rb`. This can be triggered with a cronjob.\n\n## Testing\n\nrun `ruby tests.rb`\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at [https://github.com/fastruby/blogcop](https://github.com/fastruby/blogcop). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\nWhen Submitting a Pull Request:\n\n* If your PR closes any open GitHub issues, please include `Closes #XXXX` in your comment\n\n* Please include a summary of the change and which issue is fixed or which feature is introduced.\n\n* If changes to the behavior are made, clearly describe what changes.\n\n* If changes to the UI are made, please include screenshots of the before and after.\n\n## Support\n\nYou can contact hello@ombulabs.com if you have any question about this repository.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastruby%2Fblogcop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastruby%2Fblogcop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastruby%2Fblogcop/lists"}