Social Stream is a plugin for Ruby on Rails. It provides your application with social networking features and activity streams.
Social networks are a new paradigm on web application design. Social networking platforms stand among the most popular websites, while many content oriented applications are supporting social networking features in order to improve engagement, enhance user awareness and stimulate communities around the website.
Activity Streams is a format for syndicating social activities around the web. It has already been adopted by some of the major social networking platforms.
Add to your Gemfile:
rails generate social_stream:install
This will generate the following:
A migration providing the database schema
An initializer configuration file for Social Stream.
A database seeds file for defining Social Stream relations. You must add:
to your db/seeds.rb
A devise:install generation for authentication support
Actors and Activity Objects
You must include an actor_id column in the user's migration. Then add user to config/initializers/social_stream.rb
You must do the same with Activity Objects, like posts, comments or photos. Don't forget to add a activity_object_id column in the migration and add them to the initializer.
It is at an early stage of development. Feel free to add an issue or send a message at github.