Blogcop: A GitHub app that helps you manage your Jekyll blog

At OmbuLabs we use Jekyll to generate our blog. If you are not familiar with it, here is a quick description from the Jekyll site:

“Jekyll is a simple, extendable, static site generator. You give it text written in your favorite markup language and it churns through layouts to create a static website. Throughout that process you can tweak how you want the site URLs to look, what data gets displayed in the layout, and more.”


Jekyll has been working great for us over the years, but one thing that was missing was a way to manage outdated articles. Basically, we wanted the ability to unpublish articles that have not been updated for a few months, so we can review and update them.


Since we didn’t find any existing tool that does such thing we decided to make our own.

Our blog is hosted on GitHub so we thought it would be a good idea to have a GitHub app that does the job. That way anyone can simply install the app in their repo and start using this feature.


Blogcop is a GitHub bot that we built to solve the problem mentioned above.

Blogcop will:

  • Be triggered when you push a commit to master.
  • Look for articles that have not been updated in the last 3 months (by looking at their last commit date).
  • Create an Issue for every outdated article.

Blogcop Issue

  • Create a Pull Request to unpublish every outdated article.

Blogcop PR

Blogcop PR change

If you are interested you can check the GitHub app’s source code in: The bot is a simple Sinatra app that was built using the github-app-template. If you want to learn more about building GitHub apps I recommend you checking at the official documentation.


If you’re currently using Jekyll on your blog or if you were looking for GitHub app examples I hope you find this article useful.

Let us know in the comments section if you have any feedback on this tool.