Open source alternatives to Has Friendship
200 open source apps like Has Friendship, closest match first.
Top picks
- A
Acts As Messageable
LaunchGem that allows communication between the models.
- D
Django Social Network
LaunchDjango Social Network is an open-source social network application built with Django 4.0. It gives you a starting point for a site where people sign up, post, comment and connect. Users can register and log in, create posts and comment on t
- S
Secondbase
LaunchSecondBase is a Ruby gem that adds a second database to a Rails application. You describe the second database in your database.yml under a secondbase key, and the gem extends the ActiveRecord tasks so that creating, migrating and testing yo
- F

FriendNet
LaunchFriendNet is self-hostable, open-source file sharing for friends, described on the site as a mini Soulseek. Port forwarding is optional, and the site says it works behind symmetric NAT. You can host a private room for a group of friends, wh
Self-hosted
- F

Friendica
LaunchFriendica is a decentralised social network. It has no central authority or owner, and relationships can be made across any compatible system, which the project says creates an internet-scale network made of smaller sites. Posts, comments a
- L
Laravel Love
LaunchAdd Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?
More like Has Friendship
Active Analytics
First-party, privacy-focused traffic analytics for Ruby on Rails applications
About Has Friendship
Has Friendship
Add friendship to ActiveRecord models
HasFriendship adds friendship features to ActiveRecord models in a Rails application. Objects can send, accept and decline friend requests, and the gem models this with a self-referential polymorphic association. To set it up, you add has_friendship to the model, then run the rake task has_friendship_engine:install:migrations to generate the migration and apply it with rails db:migrate. The friendship table uses an integer friend_id by default, and the README says to edit the migration first if you need UUIDs or another type. After a gem upgrade, you run the install task again if new migrations are needed. The model gets helpers for pending friends, blocked friends and accepted friends. You can add custom validations by implementing a friendship_errors method on your model that returns an array of errors, and callbacks are documented in the README.
- Price
- Free
- Made by
- has-friendship
- Category
- Social
- Website
- github.com/has-friendship/has_friendship


