I am looking for a gem to provide basic social network functionalities, which are:
User Authentication
Profile Management
Private messaging
In the future, a mini-blog maybe but not essential
I have been looking into currently active projects like Community Engine and Social Stream. I like Social Stream in particular as you can choose the component you want. However, none of these gems are support RoR 4.0+
Is there any other solutions I can consider? Or else, is there any gem which are like devise + something else for messaging? I like devise so I don't mind adding messaging function via another gem. Any ideas? Thank you!
There are actually quite a few :
Social Stream : A complete social network that includes everything you would want from a social network.
Diaspora : Same features as social stream, more active.
Here's a complete list
Or, you can quickly create your own with the following gems:
1) Devise : User authentication
2) Mailboxer: Messaging
3) Activity Stream : public/private activities
4) Socialization : Friendship model
Use devise for authentication and mailboxer gem for implementing messaging feature which is a part of social_stream project. This gem is compatible with rails 4+ . You don't actually need a gem for profile management. Also take a look at faye gem which you can use to publish and subscribe to real-time events. First use mailboxer to implement core messaging system and then use faye to make it realtime.
Community Engine currently supports Rails 4+ and has branches for rails 3 and 2. It should meet all of your requirements.
You can find it here:
https://github.com/bborn/communityengine
and
http://communityengine.org/
If you are looking for something for organizations like facebook for work/yammer you can checkout one little open source project I did :- https://github.com/sahilbathlaofficial/soapbox
It is very basic and has minimal features :-
Followers, Groups, messaging, twitter integration
Related
In rails 3 (or above), I want to implement a messaging system, which gem or plugin I can use for it? Please help me to implement a inbox feature with all actions in my rails project.
https://github.com/jongilbraith/simple-private-messages is this gem will suits for all inbox actions in rails 4.1 ?
Here I would suggest you mailboxer gem,
https://github.com/mailboxer/mailboxer
By this, you can get messaging system and inbox features like real time mailing system.
I'm on Rails 4 and looking for a good Messaging system (Inbox, send, recieve etc) for Devise. I looked arround and browsed A LOT of sites but cant seem to find something good and developed.
If you know a good gem please share it with me :)
ruby-toolbox has a few gems for messaging systems.
The top one on there is Mailboxer.
Here is a sample app using it with Devise https://github.com/RKushnir/mailboxer-app
I am building a real-time application ,and I am using private_pub gem based on fayejs
but it doesn't have a lot of features like pusher ex. presence channels which I can fetch online users
for me pusher is expensive for my application
I read some posts about socket.io but I didn't know how to implement it with rails and also if I need to learn node.js before using it
hope any one could help me
I do not know why exactly it is expensive for your application but I have never found any problem.
Please refer this link.
http://net.tutsplus.com/tutorials/ruby/how-to-use-faye-as-a-real-time-push-server-in-rails/
I have had a Rails app which authenticate users with Devise. It works well.
And my next task is to build a real-time chat room. Rails doesn't fit it, so I want to implement it on EventMachine.
But how to integrate the working devise authentication system into chat room? For example, in Rails I can get current user by simple:
current_user
How to implement it in another separate service(EM chat room in my case)? Of course, the backend of chat room can access Rails' database.
Why do you say "Rails doesn't fit it"? Try to keep it all under one roof. As #Bob mentioned, there are some tools that will do just that.
http://railscasts.com/episodes/316-private-pub but also
http://railscasts.com/episodes/260-messaging-with-faye
There are other ones as well that will integrate nicely with Rails. Otherwise, the question of EventMachine & Rails integration was asked before: How do EventMachine & Rails integrate?
Pinax is:
An integrated collection of Django
applications that provides the most
commonly needed social networking
features, including openID support,
email verification, site
announcements, user-to-user messaging,
friend invitations, interest groups
with discussions, wikis, and more.
Cloud27 is a demonstration of Pinax
Any equivalent in Ruby on Rails?
maybe you also want to take a look at the following entry on stackoverflow that has a similar topic: Social Network in Rails - which framework