Skip to content
Simple Rails plugin implements synchronization of comments
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
cackle.gemspec integration

Simple Rails plugin implements synchronization of comments. is a real-time comment system with the ability to login via popular social networks such as Google+, Facebook, Twitter, LinkedIn, Vkontakte, Odnoklassniki, and many others.

Storing in local database make comments visible to search robots.


Add to Gemfile

gem 'cackle', github: 'iRet/cackle'

Generate and run migration

rails g cackle:migration
rake db:migrate

Copy views to app/views for customization (optional)

rails g cackle:views

Create config file config/cackle.yml See to find your keys

site_id:         12345          # Site ID
site_api_key:    blah-blah-blah # Account API Key
account_api_key: blah-blah-blah # Site API Key

Helper methods

Insert comments widget


Recent comments widget


You can easily specify ammount of comments to show and other params. For example:

cackle_recent_comments 10, avatar_size: 32, text_size: 150, title_size: 40 

Rake tasks

First time import. Warning clears all comments in base.

rake cackle:import

Syncronize changes. Should be called every 5 minutes by cron.

rake cackle:fetch


This project rocks and uses MIT-LICENSE.

You can’t perform that action at this time.