Skip to content

mastodon/mastodon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

65c553a · Mar 31, 2025
Mar 25, 2025
Mar 7, 2025
Feb 22, 2024
Mar 4, 2025
Dec 29, 2023
Mar 31, 2025
Jan 27, 2025
Dec 9, 2022
Mar 31, 2025
Mar 28, 2025
Nov 21, 2024
Jan 17, 2025
Mar 26, 2025
Feb 20, 2016
Mar 5, 2025
Mar 28, 2025
Mar 24, 2025
Jan 4, 2019
Nov 18, 2024
Jan 9, 2025
Jul 20, 2020
Mar 7, 2025
Feb 12, 2023
Apr 17, 2024
Mar 26, 2025
May 17, 2024
Aug 23, 2023
Jan 4, 2019
Dec 9, 2024
May 3, 2017
Jun 26, 2017
Sep 3, 2024
Apr 10, 2024
Feb 12, 2025
Mar 5, 2025
May 9, 2023
Sep 3, 2024
Mar 10, 2025
Mar 31, 2025
Aug 13, 2022
Feb 17, 2025
Jul 27, 2017
Nov 13, 2023
Nov 8, 2023
Sep 21, 2023
Sep 3, 2024
Mar 13, 2025
Apr 23, 2023
Jan 17, 2025
Mar 13, 2025
Jan 22, 2024
Mar 28, 2025
Mar 31, 2025
Sep 21, 2016
Sep 3, 2024
Nov 14, 2023
Jan 8, 2025
Nov 8, 2024
Oct 8, 2024
Dec 11, 2024
Sep 3, 2024
Jul 24, 2024
Nov 8, 2024
Jun 8, 2024
Mar 13, 2025
Apr 27, 2020
Jan 12, 2024
Feb 27, 2024
Feb 28, 2025
Mar 28, 2025
Aug 2, 2024
Jun 26, 2018
Apr 26, 2023
Aug 8, 2024
May 27, 2024
Mar 28, 2025

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

No vendor lock-in: Fully interoperable with any conforming platform - It doesn't have to be Mastodon; whatever implements ActivityPub is part of the social network! Learn more

Real-time, chronological timeline updates - updates of people you're following appear in real-time in the UI via WebSockets. There's a firehose view as well!

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

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

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

Deployment

Tech stack

  • Ruby on Rails powers the REST API and other web pages
  • React.js and Redux are used for the dynamic parts of the interface
  • Node.js powers the streaming API

Requirements

  • PostgreSQL 12+
  • Redis 4+
  • Ruby 3.2+
  • Node.js 18+

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

Contributing

Mastodon is free, open-source software licensed under AGPLv3.

You can open issues for bugs you've found or features you think are missing. You can also submit pull requests to this repository or translations via Crowdin. To get started, look at the CONTRIBUTING and DEVELOPMENT guides. For changes accepted into Mastodon, you can request to be paid through our OpenCollective.

IRC channel: #mastodon on irc.libera.chat

License

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

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

Copyright (c) 2016-2024 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/