# Mastodon

> Mastodon is a free, open-source app you can self-host in the social & forums category. Federated microblogging server. It has 50,353 GitHub stars, is released under the AGPL-3.0 license and ships a Docker image. It is a self-hosted alternative to Twitter / X.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/mastodon/mastodon |
| Website | https://joinmastodon.org/ |
| GitHub stars | 50,353 |
| Forks | 7,503 |
| Open issues | 4,373 |
| License | AGPL-3.0 |
| License type | Open source |
| Language | Ruby |
| Docker image | Yes |
| Platforms | Ruby |
| Categories | Social & Forums |
| Commits, last 12 months | 2,689 |
| Last commit | Oct 6, 2026 |
| Latest release | v4.7.3 (Oct 1, 2026) |
| Created | Feb 22, 2016 |
| Maintenance | Actively maintained |
| Archived | No |

Topics: mastodon, docker, microblog, activity-stream, webfinger, social-network, activitypub, fediverse, social-web

## Install

Mastodon ships a Docker image; follow the README at https://github.com/mastodon/mastodon for the image name and environment variables.

Need it installed for you? [appsgit installation help](https://appsgit.com/services/install): a fixed quote by email, single app installs from $79.

## Mastodon replaces

- [Twitter / X alternatives](https://appsgit.com/alternatives/twitter): A microblogging social network for short public posts.

## Similar apps in Social & Forums

- [Discourse](https://appsgit.com/apps/discourse): Advanced forum / community solution based on Ruby and JS. (47,933 stars, GPL-2.0, Ruby, Docker)
- [Flarum](https://appsgit.com/apps/flarum): Delightfully simple forums. Flarum is the next-generation forum software that makes online discussion fun again. (16,411 stars, MIT, PHP)
- [Answer](https://appsgit.com/apps/answer): Knowledge-based community software. You can use it to quickly build your Q&A community for product technical support, customer support, user communication, and more. (15,691 stars, Apache-2.0, Go, Docker)
- [NodeBB](https://appsgit.com/apps/nodebb): Forum software built for the modern web. (15,231 stars, GPL-3.0, JavaScript, Docker)
- [Lemmy](https://appsgit.com/apps/lemmy): Link aggregator for the fediverse (alternative to Reddit). (14,615 stars, AGPL-3.0, Rust, Docker)
- [diaspora*](https://appsgit.com/apps/diaspora): Distributed social networking server. (13,645 stars, AGPL-3.0, Ruby)
- [Misskey](https://appsgit.com/apps/misskey): Decentralized app-like microblogging server/SNS for the Fediverse, using the ActivityPub protocol like GNU social and Mastodon. (11,336 stars, AGPL-3.0, TypeScript, Docker)
- [PixelFed](https://appsgit.com/apps/pixelfed): Ethical photo sharing platform, powered by ActivityPub federation (alternative to Instagram). (7,119 stars, AGPL-3.0, PHP)

## Articles

- [The 25 best self-hosted apps in 2026 (ranked by GitHub activity)](https://appsgit.com/blog/best-self-hosted-apps-2026): The 25 best self-hosted apps in 2026, ranked with real GitHub data: stars, commits in the last 12 months and licence. Immich, Ollama, Jellyfin and more.

---

Canonical page: https://appsgit.com/apps/mastodon
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
