{"repo":"skroutz/cogy","free":true,"listed":false,"github":"https://github.com/skroutz/cogy","clone":"git clone https://github.com/skroutz/cogy.git","description":"Cog commands from your Rails app","language":"Ruby","stars":20,"topics":["cog","rails","chatops","chatbot","chat-bot","chat","chatbots"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Cogy Cogy integrates Cog with Rails in a way that writing & deploying commands from your application is a breeze. See the API documentation here. Refer to the Changelog to see what's changed between releases. Features - Define commands from your Rails app (see Usage ) - Bundle config is generated automatically - Commands are installed automatically when you deploy (see Deployment ) - Supports JSON responses and Cog Templates (see Returning JSON to COG ) - Customizable error template (see Error template ) ...and more on the way! Why Creating ChatOps commands that talk with a Rails app typically involves writing a route, maybe a controller, an action and code to handle the command arguments and options. This is a tedious and repetitive task and involves a lot of boilerplate code each time someone wants to add a new command. Cogy is an opinionated library that provides a way to get rid of all the boilerplate stuff so you can focus on just the actual commands. Deploying a new command is as simple as writing: ...and deploying! How it works Cogy is essentially three things: 1. An opinionated way to write, manage & ship commands: All Cogy commands are defined in your Rails app and end up invoking a single executable within the Relay (see below). Cogy also provides bundle versioning and dynamically generates the installable bundle config, which is also served by your Rails application and consumed by the cogy:install command that installs the new Cogy-generated bundle when you deploy","default_branch":null,"files":null,"tree":[],"storefront":"/r/skroutz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skroutz/cogy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}