# Noosfero

> Self-host the open-source Noosfero web social platform on your own Debian server, with XMPP chat, feeds, Solr search indexes and multi-site tenants.

- **Category:** [Social Networks & Forums](https://selfhost.directory/social-networks-forums)
- **Licence:** agpl-3.0
- **Source model:** Open source
- **Author:** Noosfero
- **Platforms:** Debian, Build from Source
- **Ports:** 3000 (first thin application server instance, fronted by the Apache reverse proxy), 3001 (second thin application server instance in the Apache balancer)
- **Requires:** Memcached, PostgreSQL (optional), Solr (optional), Varnish (optional), Ejabberd (optional), Postfix (or any local MTA) (optional)
- **Tags:** Search, Social Network, Chat, Xmpp, Community, Email notifications, Social platform, Feeds, Multitenancy

## What is Noosfero?

Noosfero is an open-source social networking application written in Ruby on Rails, for communities and organisations that want to run their own social site. Every install is an "environment" with its own domains and administrator users, and a single instance can serve many sites at once through multitenancy, which is only available on PostgreSQL. Documented extras include XMPP chat served by ejabberd (packaged as noosfero-chat since version 1.2), outbound e-mail via a local MTA or an external SMTP server, Solr search indexes, background workers for feeds and delayed jobs, e-mail notifications to administrators when exceptions occur, interface translations, and an optional but highly recommended Varnish HTTP caching layer. The project also ships user documentation reachable from inside the app, sample logrotate and Apache configs, and a git-upgrade script for rolling forward a source install. Production deployment is done either with Debian packages or by building from the sources on Debian stable, described as the only recommended operating system, with thin app servers behind an Apache reverse proxy; the master branch is explicitly discouraged for production use.

## Should you self-host Noosfero?

Noosfero scores **55/100** on selfhost.directory ([how scoring works](https://selfhost.directory/scoring)) and ranks **#35 of 75** in [Social Networks & Forums](https://selfhost.directory/social-networks-forums).

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is agpl-3.0-licensed.

Its closest alternative on selfhost.directory is [Mastodon](https://selfhost.directory/project/mastodon) (84/100, 50 606 stars). It scores higher overall, so compare the two before you pick. [See Noosfero vs Mastodon side by side.](https://selfhost.directory/compare/mastodon-vs-noosfero)

## Features

- Administrator accounts
- Background workers (feeds and delayed jobs)
- Built-in user documentation
- E-mail delivery
- Exception notification e-mails — Optional step, needs the exception_notification gem.
- Git-based upgrade script — Intended for installs tracked on the stable branch.
- Interface translations
- Multi-site hosting (multitenancy) — Available only for PostgreSQL databases.
- Serving under a URL subdirectory — Some plugins might not work well with this setting.
- XMPP chat

## How to install Noosfero

### Install Noosfero with Debian

Requirements: Debian stable ("currently the only recommended operating system for production usage")

Before you start installing Noosfero manually, see the information about the Noosfero Debian package at http://noosfero.org/Development/DebianPackage. Using the Debian packages on a Debian stable system is the recommended method for installing production environments.

Note: The XMPP/chat component is available as the separate noosfero-chat Debian package since Noosfero 1.2.

### Install Noosfero with Build from Source

Requirements: Debian stable

Environment variables:

```
RAILS_ENV, LC_COLLATE, RAILS_RELATIVE_URL_ROOT
```

```
# apt-get install gcc g++ make ruby ruby-dev libxml2 zlib1g-dev libpq-dev libmagickwand-dev
# gem install bundler
```

```
$ git clone https://gitlab.com/noosfero/noosfero.git current
$ cd current
$ git checkout -b stable origin/stable
$ bundle --without cucumber development test
```

```
# cd /var/lib/noosfero/current
# ./etc/init.d/noosfero setup
```

```
$ RAILS_ENV=production rake db:schema:load
$ RAILS_ENV=production rake noosfero:translations:compile
$ ./script/production start
```

Note: Requires memcached and a PostgreSQL database; requests are passed to thin app servers by an Apache reverse proxy. The master branch is not recommended for production.

## Noosfero alternatives

- [lobsters-rails-project](https://selfhost.directory/project/lobsters-rails-project): Open-source, self-hosted Rails app for running your own link-aggregation and discussion community, with tags, invitations, and public moderation logs. (compare: https://selfhost.directory/compare/lobsters-rails-project-vs-noosfero)
- [Discourse](https://selfhost.directory/project/discourse): Discourse is a self-hosted, open-source community forum platform with built-in real-time chat, theming, and plugins. Powers 22,000+ communities with full data ownership. (compare: https://selfhost.directory/compare/discourse-vs-noosfero)
- [diaspora*](https://selfhost.directory/project/diaspora): Self-hosted, open-source federated social network: run your own pod or join one, and share with aspects, hashtags, mentions and reshares. (compare: https://selfhost.directory/compare/diaspora-vs-noosfero)
- [Mastodon](https://selfhost.directory/project/mastodon): Open-source self-hosted microblogging server that federates over ActivityPub, with chronological timelines, media posts, moderation tools and an OAuth2 REST API. (compare: https://selfhost.directory/compare/mastodon-vs-noosfero)
- [NodeBB](https://selfhost.directory/project/nodebb): Self-hosted, open-source forum software built on Node.js with Redis, MongoDB, or PostgreSQL, real-time streaming discussions and ActivityPub federation. (compare: https://selfhost.directory/compare/nodebb-vs-noosfero)
- [Nodyx](https://selfhost.directory/project/nodyx): Nodyx is a self-hosted, open-source community platform with forums, chat, voice, whiteboard and homepage. One-command install with relay for zero-port hosting. AGPL-3.0. (compare: https://selfhost.directory/compare/nodyx-vs-noosfero)
- [idno](https://selfhost.directory/project/idno): Idno is a self-hosted, open-source social publishing platform for the fediverse via ActivityPub, Webmentions, and IndieWeb. Runs on PHP with MySQL or MongoDB. (compare: https://selfhost.directory/compare/idno-vs-noosfero)
- [OSSN](https://selfhost.directory/project/ossn): OSSN is an open-source, self-hosted PHP social network engine with profiles, groups, live chat, photo albums and blogs, a Facebook alternative you run on your own server. (compare: https://selfhost.directory/compare/noosfero-vs-ossn)

## More in Social Networks & Forums

- [Nostr Nests](https://selfhost.directory/project/nostr-nests): Nests is a self-hosted, open-source platform for live audio conversations — podcasts, group chats, music jams, and conferences — built on Nostr with MoQ.
- [nostr-rs-relay-compose](https://selfhost.directory/project/nostr-rs-relay-compose): A Docker Compose deployment that runs the Rust-based nostr-rs-relay with Traefik for TLS termination, letting you host your own Nostr relay on your infrastructure.
- [nostrudel](https://selfhost.directory/project/nostrudel): Self-hosted, open-source nostr web client for exploring the protocol with detailed event viewing and browser extension signer support.
- [OSSN](https://selfhost.directory/project/ossn): OSSN is an open-source, self-hosted PHP social network engine with profiles, groups, live chat, photo albums and blogs, a Facebook alternative you run on your own server.
- [pds](https://selfhost.directory/project/pds): Bluesky PDS is an open-source, self-hosted Personal Data Server: run your own account host that federates with the AT Protocol network, installed via Docker Compose.
- [Peergos](https://selfhost.directory/project/peergos): Self-hosted, open-source p2p drive with post-quantum end-to-end encryption: hidden file names, sizes and contacts, secret links, folder sync, chat and social feed.
- [pH7Builder](https://selfhost.directory/project/ph7-social-dating-cms): Self-hosted, open-source PHP 8.2+ platform for white-label dating sites and social networks with full data ownership, MIT licensed.
- [Phanpy](https://selfhost.directory/project/phanpy): Phanpy is a self-hosted, open-source Mastodon web client with a minimalistic design, multi-account support, nested threads, and multi-column layouts.
- [Photon](https://selfhost.directory/project/photon-2): Photon is a self-hosted, open-source web client for Lemmy and PieFed with modern UI, multi-account support, and extensive customization.
- [phpBB](https://selfhost.directory/project/phpbb): Self-hosted, open-source forum software written in PHP, with admin and moderator panels, styles, extensions, language packs, search indexes and CAPTCHA anti-spam.
- [PieFed](https://selfhost.directory/project/piefed): PieFed is an open-source, self-hosted fediverse forum and link aggregator in Python/Flask with topics, polls, community wikis and first-rate moderation tools.
- [Pinkary](https://selfhost.directory/project/pinkary): Pinkary is an open-source, self-hosted link landing page and social network for profiles, links, posts, and follows — built with Laravel.

## Links

- [Homepage](https://gitlab.com/noosfero/noosfero)
- [Website](http://noosfero.org)
- [Development Telegram group](https://t.me/noosferodev)
- [Debian package documentation](http://noosfero.org/Development/DebianPackage)
- [SMTP mail sending documentation](http://noosfero.org/Development/SMTPMailSending)

---
Source: https://selfhost.directory/project/noosfero