Skip to content

Instantly share code, notes, and snippets.

@aymerick
Last active August 29, 2015 13:56
Show Gist options
  • Save aymerick/9134111 to your computer and use it in GitHub Desktop.
Save aymerick/9134111 to your computer and use it in GitHub Desktop.
Activr introduction blog post

Manage Activity Feeds on your web site

We just released Activr, the ruby gem that manages News Feeds on fotopedia.

activity feeds

Photo by SMU Central University Libraries

With Activr you can create:

  • a Global Activity Feed to display all activities in your website in a single feed
  • a User Activity Feed to display all actions performed by a specific user
  • a User News Feeds so that each user can get news from friends they follow, from albums they own or follow, etc.
  • an Album Activity Feed to display what happens in a specific album
  • ...

Activities are stored in a MongoDB database.

Some magic is invoked when running inside a Rails application but Activr can be used without Rails.

If Resque is detected in a Rails application then it is automatically used to run some parts of Activr code asynchronously.

A demo app is available on heroku, feel free to create an account and try it. Demo source code is on github too.

See the documentation for more infos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment