Your self-hosted, globally interconnected microblogging community
Go to file
2026-01-29 10:14:14 +00:00
.devcontainer Remove deprecated usage of imagemagick (#37488) 2026-01-22 14:57:19 +00:00
.github Experiment with adding a bundle comparison tool (#37630) 2026-01-28 10:33:31 +00:00
.husky
.rubocop Disable Metrics/* cops (#35000) 2025-08-20 17:04:36 +00:00
.storybook Set up modes for Chromatic (#37586) 2026-01-23 10:44:15 +00:00
.yarn Remove yarn patch for babel-plugin-lodash, removed during Vite upgrade (#37161) 2025-12-09 09:30:57 +00:00
app Update rubocop to version 1.8.40 (#37628) 2026-01-29 10:14:14 +00:00
bin Convert from Webpack to Vite (#34450) 2025-05-16 13:26:12 +00:00
chart
config Remove unused nan locale files (replaced by nan-TW) (#37650) 2026-01-28 16:32:19 +00:00
db Update rubocop to version 1.8.40 (#37628) 2026-01-29 10:14:14 +00:00
dist Add systemd service file for prometheus exporter (#35130) 2025-11-06 09:25:56 +00:00
docs Mention admin@localhost in DEVELOPMENT.md for non-Vagrant setups (#35704) 2025-08-18 14:13:44 +00:00
lib Update rubocop to version 1.8.40 (#37628) 2026-01-29 10:14:14 +00:00
log
public Emoji: Update Twemoji to v16 (#36501) 2025-10-16 13:15:16 +00:00
spec Add action_logs association for account (#36022) 2026-01-28 11:04:00 +00:00
streaming Update dependency globals to v17 (#37360) 2026-01-14 10:35:40 +00:00
vendor
.annotaterb.yml
.browserslistrc
.buildpacks
.dockerignore Performance regression fixes (#35664) 2025-08-04 17:16:12 +00:00
.editorconfig
.env.development
.env.production.sample Remove environment variables to config Fetch All Replies behaviour (#36627) 2025-10-28 15:58:18 +00:00
.env.test
.env.vagrant
.foreman
.gitattributes
.gitignore Emoji: Remove final flag (#36409) 2025-10-28 11:33:27 +00:00
.haml-lint.yml
.nvmrc Update Node.js to 24.13 (#37473) 2026-01-14 10:02:07 +00:00
.prettierignore Remove theme_tokens feature flag & make new styles the default (#37056) 2025-11-28 15:58:46 +00:00
.prettierrc.js Upgrade to ESLint v9 flat config (#34324) 2025-04-01 16:30:18 +00:00
.rspec
.rubocop_todo.yml Update rubocop to version 1.80.2 (#36007) 2025-09-04 08:14:01 +00:00
.rubocop.yml Update rubocop-rspec_rails and rubocop-capybara, moved to plugins config style (#34127) 2025-03-10 14:40:29 +00:00
.ruby-gemset
.ruby-version Update dependency ruby to v3.4.8 (#37278) 2025-12-18 14:41:35 +00:00
.slugignore
.watchmanconfig
.yarnrc.yml
app.json Remove OTP_SECRET env configuration from setup (#34757) 2025-05-21 15:08:46 +00:00
Aptfile
AUTHORS.md Make tootctl aware of 'require approval' for email domains (#34579) 2025-11-27 15:52:59 +00:00
CHANGELOG.md Bump version to v4.5.5 (#37551) 2026-01-20 15:00:10 +00:00
CODE_OF_CONDUCT.md
config.ru
CONTRIBUTING.md Add security policy in CONTRIBUTING, update year refs. (#34761) 2025-05-22 10:03:26 +00:00
crowdin.yml
docker-compose.yml Bump version to v4.5.5 (#37551) 2026-01-20 15:00:10 +00:00
Dockerfile Remove deprecated usage of imagemagick (#37488) 2026-01-22 14:57:19 +00:00
eslint.config.mjs Callout component (#37590) 2026-01-23 15:53:48 +00:00
FEDERATION.md Add backend support for storing remote actors profile pic and header descriptions (#37634) 2026-01-28 09:32:59 +00:00
Gemfile Update opentelemetry-ruby (non-major) (#37480) 2026-01-15 10:13:56 +00:00
Gemfile.lock Update rubocop to version 1.8.40 (#37628) 2026-01-29 10:14:14 +00:00
jsconfig.json
LICENSE
lint-staged.config.js Rely on haml-lint parallel default (#34036) 2025-02-28 14:33:15 +00:00
package.json Update dependency stylelint to v17 (#37509) 2026-01-22 16:10:53 +00:00
priv-config
Procfile
Procfile.dev Convert from Webpack to Vite (#34450) 2025-05-16 13:26:12 +00:00
Rakefile
README.md Drop support for PostgreSQL 13 (#36540) 2025-10-21 14:26:00 +00:00
scalingo.json Remove OTP_SECRET env configuration from setup (#34757) 2025-05-21 15:08:46 +00:00
SECURITY.md Update SECURITY.md (#37506) 2026-01-15 13:17:41 +00:00
stylelint.config.js Toggle component (#37582) 2026-01-23 12:20:56 +00:00
tsconfig.json Add CSS Module support (#36637) 2025-10-30 12:30:42 +00:00
Vagrantfile Remove deprecated usage of imagemagick (#37488) 2026-01-22 14:57:19 +00:00
vite.config.mts Makes bundle visualizer output JSON when in CI (#37633) 2026-01-27 15:03:00 +00:00
vitest.config.mts Update vitest to version 4.0.5 (#36652) 2025-11-04 09:47:30 +00:00
vitest.shims.d.ts feat: Add Storybook for component documentation, testing, and development (#34907) 2025-06-06 09:27:29 +00:00
yarn.lock Update dependency pino to v10.3.0 (#37588) 2026-01-27 10:21:44 +00:00

Note

Want to learn more about Mastodon? Click below to find out more in a video.

Mastodon hero image

Release Ruby Testing Crowdin

Mastodon is a free, open-source social network server based on ActivityPub where users can follow friends and discover new ones. On Mastodon, users can publish anything they want: links, pictures, text, and video. All Mastodon servers are interoperable as a federated network (users on one server can seamlessly communicate with users from another one, including non-Mastodon software that implements ActivityPub!)

Navigation

Features

Part of the Fediverse. Based on open standards, with no vendor lock-in. - the network goes beyond just Mastodon; anything that implements ActivityPub is part of a broader social network known as the Fediverse. You can follow and interact with users on other servers (including those running different software), and they can follow you back.

Real-time, chronological timeline updates - updates of people you're following appear in real-time in the UI.

Media attachments - upload and view images and videos attached to the updates. Videos with no audio track are treated like animated GIFs; normal videos loop continuously.

Safety and moderation tools - Mastodon includes private posts, locked accounts, phrase filtering, muting, blocking, and many other features, along with a reporting and moderation system.

OAuth2 and a straightforward REST API - Mastodon acts as an OAuth2 provider, and third party apps can use the REST and Streaming APIs. This results in a rich app ecosystem with a variety of choices!

Deployment

Tech stack

  • Ruby on Rails powers the REST API and other web pages.
  • PostgreSQL is the main database.
  • Redis and Sidekiq are used for caching and queueing.
  • Node.js powers the streaming API.
  • React.js and Redux are used for the dynamic parts of the interface.
  • BrowserStack supports testing on real devices and browsers. (This project is tested with BrowserStack)
  • Chromatic provides visual regression testing. (This project is tested with Chromatic)

Requirements

  • Ruby 3.2+
  • PostgreSQL 14+
  • Redis 7.0+
  • Node.js 20+

This repository includes deployment configurations for Docker and docker-compose, as well as for other environments like Heroku and Scalingo. For Helm charts, reference the mastodon/chart repository. A standalone installation guide is available in the main documentation.

Contributing

Mastodon is free, open-source software licensed under AGPLv3. We welcome contributions and help from anyone who wants to improve the project.

You should read the overall CONTRIBUTING guide, which covers our development processes.

You should also read and understand the CODE OF CONDUCT that enables us to maintain a welcoming and inclusive community. Collaboration begins with mutual respect and understanding.

You can learn about setting up a development environment in the DEVELOPMENT documentation.

If you would like to help with translations 🌐 you can do so on Crowdin.

LICENSE

Copyright (c) 2016-2025 Eugen Rochko (+ mastodon authors)

Licensed under GNU Affero General Public License as stated in the LICENSE:

Copyright (c) 2016-2025 Eugen Rochko & other Mastodon contributors

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program. If not, see https://www.gnu.org/licenses/