A glitchy but lovable microblogging server
Find a file
Claire 6153479bad
Some checks failed
Bundler Audit / security (push) Failing after 0s
CodeQL / Analyze-1 (push) Failing after 0s
CodeQL / Analyze-2 (push) Failing after 0s
Check formatting / lint (push) Failing after 0s
CSS Linting / lint (push) Failing after 0s
Haml Linting / lint (push) Failing after 0s
JavaScript Linting / lint (push) Failing after 0s
Ruby Linting / lint (push) Failing after 0s
Check i18n / check-i18n (push) Failing after 0s
Chromatic / Run Chromatic (push) Has been skipped
CodeQL / Analyze (push) Failing after 0s
JavaScript Testing / test (push) Failing after 0s
Historical data migration test / test (14-alpine) (push) Failing after 1s
Historical data migration test / test (15-alpine) (push) Failing after 1s
Historical data migration test / test (16-alpine) (push) Failing after 1s
Historical data migration test / test (17-alpine) (push) Failing after 1s
Ruby Testing / build (production) (push) Failing after 0s
Ruby Testing / build (test) (push) Failing after 0s
Ruby Testing / test (.ruby-version) (push) Has been skipped
Ruby Testing / test (3.2) (push) Has been skipped
Ruby Testing / test (3.3) (push) Has been skipped
Ruby Testing / ImageMagick tests (push) Has been skipped
Ruby Testing / ImageMagick tests-1 (push) Has been skipped
Ruby Testing / ImageMagick tests-2 (push) Has been skipped
Ruby Testing / End to End testing (push) Has been skipped
Ruby Testing / End to End testing-1 (push) Has been skipped
Ruby Testing / End to End testing-2 (push) Has been skipped
Ruby Testing / Elastic Search integration testing (push) Has been skipped
Ruby Testing / Elastic Search integration testing-1 (push) Has been skipped
Ruby Testing / Elastic Search integration testing-2 (push) Has been skipped
Ruby Testing / Elastic Search integration testing-3 (push) Has been skipped
Ruby Testing / Elastic Search integration testing-4 (push) Has been skipped
Merge pull request #3271 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes up to 441eb89537
2025-11-08 18:19:16 +01:00
.devcontainer chore(deps): update libretranslate/libretranslate docker tag to v1.7.3 (#36724) 2025-11-06 14:03:35 +00:00
.github Merge commit '6f1a30c4a6' into glitch-soc/merge-upstream 2025-11-06 14:43:18 +01:00
.husky Update husky and remove deprecated features (#29338) 2024-02-22 09:02:15 +00:00
.rubocop Disable Metrics/* cops (#35000) 2025-08-20 17:04:36 +00:00
.storybook Update storybook to version 10.0.2 (#36657) 2025-11-04 09:42:27 +00:00
.yarn Replace our custom compression-webpack-plugin patch with the fixed upstream version (#28510) 2023-12-29 09:33:06 +00:00
app [Glitch] Reset background color on media modal 2025-11-08 10:46:33 +01:00
bin Convert from Webpack to Vite (#34450) 2025-05-16 13:26:12 +00:00
chart helm: cleanup helm chart, now in mastodon/chart (#21801) 2022-12-09 06:36:29 +01:00
config Merge commit '441eb89537' into glitch-soc/merge-upstream 2025-11-08 10:44:43 +01:00
db Merge commit '1dead10312' into glitch-soc/merge-upstream 2025-10-28 20:25:09 +01: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 Merge commit '055f581ca5' into glitch-soc/merge-upstream 2025-10-31 18:03:21 +01:00
log Initial commit 2016-02-20 22:53:20 +01:00
public Merge commit '51d0bfcb38' into glitch-soc/merge-upstream 2025-10-17 18:11:59 +02:00
spec Merge commit '441eb89537' into glitch-soc/merge-upstream 2025-11-08 10:44:43 +01:00
streaming Merge commit '441eb89537' into glitch-soc/merge-upstream 2025-11-08 10:44:43 +01:00
vendor Increase files checked by ESLint (#9705) 2019-01-04 11:28:38 +01:00
.annotaterb.yml Change dependency from annotate to annotaterb (#30232) 2024-11-18 14:40:02 +00:00
.browserslistrc Target same browsers in development and production (#33513) 2025-01-09 08:09:13 +00:00
.buildpacks Remove nodejs buildpack from buildpacks (#14364) 2020-07-20 09:48:10 +02:00
.dockerignore Performance regression fixes (#35664) 2025-08-04 17:16:12 +00:00
.editorconfig Enable EditorConfig trailing whitespace trimming (#23543) 2023-02-12 08:34:17 +01:00
.env.development Enable AR Encryption (#29831) 2024-04-17 09:19:02 +00:00
.env.production.sample Merge commit '4896d2c4c6' into glitch-soc/merge-upstream 2025-10-28 22:10:12 +01:00
.env.test Add emphasis on ActiveRecord Encryption configuration values being secret (#30340) 2024-05-17 09:28:40 +00:00
.env.vagrant Add elastic search installation into Vagrantfile (#26512) 2023-08-23 15:46:14 +02:00
.foreman Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
.gitattributes Add .gitattributes file to avoid unwanted CRLF (#3954) 2017-06-26 13:15:24 +02:00
.gitignore Emoji: Remove final flag (#36409) 2025-10-28 11:33:27 +00:00
.gitmodules Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
.haml-lint.yml Use tt extension for form scaffold template (#29676) 2024-04-10 09:20:21 +00:00
.nvmrc chore(deps): update node.js to 24.11 (#36630) 2025-11-03 09:21:07 +00:00
.prettierignore Merge commit '0d650780e2' into glitch-soc/merge-upstream 2025-06-26 18:04:37 +02:00
.prettierrc.js Upgrade to ESLint v9 flat config (#34324) 2025-04-01 16:30:18 +00:00
.rspec Remove fuubar gem and custom rspec --format setting (#30594) 2024-09-03 15:24:31 +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
.rubocop_todo.yml Update rubocop to version 1.80.2 (#36007) 2025-09-04 08:14:01 +00:00
.ruby-gemset Make Mastodon use its own gemset (#17858) 2022-08-13 15:44:34 +02:00
.ruby-version Update dependency ruby to v3.4.7 (#36387) 2025-10-08 14:17:42 +00:00
.slugignore Remove Storybook (#4397) 2017-07-27 22:30:27 +02:00
.watchmanconfig Fix Jest config (#27834) 2023-11-13 12:19:41 +00:00
.yarnrc.yml Upgrade to Yarn 4, remove support for Node 16 (#27073) 2023-11-08 10:57:21 +00:00
app.json Remove OTP_SECRET env configuration from setup (#34757) 2025-05-21 15:08:46 +00:00
Aptfile Refresh Heroku related thingy for heroku-24 stack (#31135) 2024-09-03 16:03:00 +00:00
AUTHORS.md Update AUTHORS.md (#27018) 2023-09-21 14:42:15 +02:00
CHANGELOG.md Bump version to v4.5.0 (#36754) 2025-11-06 13:24:58 +00:00
CODE_OF_CONDUCT.md Merge branch 'main' into glitch-soc/merge-upstream 2023-02-25 14:00:40 +01:00
config.ru Match dependency-generator output for require_relative usage (#32800) 2024-11-08 09:55:15 +00:00
CONTRIBUTING.md Merge commit 'a13756148d' into glitch-soc/merge-upstream 2025-05-25 15:11:58 +02:00
crowdin-glitch.yml Fix Crowdin Github Action (#2311) 2023-07-19 08:36:25 +02:00
crowdin.yml Case correction Github -> GitHub (#30446) 2024-06-08 10:32:39 +00:00
docker-compose.yml Merge commit '6f1a30c4a6' into glitch-soc/merge-upstream 2025-11-06 14:43:18 +01:00
Dockerfile chore(deps): update dependency libvips to v8.17.3 (#36654) 2025-10-31 10:30:55 +00:00
eslint.config.mjs Merge commit '58b3fc0379' into glitch-soc/merge-upstream 2025-11-06 12:35:04 +01:00
FEDERATION.md Add initial support for ingesting and verifying remote quote posts (#34370) 2025-04-17 07:45:23 +00:00
Gemfile Relax aws-sdk-core version limit (#36719) 2025-11-05 10:43:10 +00:00
Gemfile.lock chore(deps): update dependency stoplight to v5.5.0 (#36731) 2025-11-06 14:24:43 +00:00
ide-helper.js Add JS IDE helper (#13012) 2020-04-27 17:19:53 +02:00
jsconfig.json Update devDependencies (non-major) (#29089) 2024-02-27 16:07:43 +00:00
LICENSE Fix #49 - License changed from GPL-2.0 to AGPL-3.0 2016-09-21 23:04:34 +02:00
lint-staged.config.js Rely on haml-lint parallel default (#34036) 2025-02-28 14:33:15 +00:00
package.json Merge commit '26e7fe9771' into glitch-soc/merge-upstream 2025-11-04 20:38:24 +01:00
priv-config TOR federation (#7875) 2018-06-26 20:34:12 +02:00
Procfile Refresh Heroku related thingy for heroku-24 stack (#31135) 2024-09-03 16:03:00 +00:00
Procfile.dev Convert from Webpack to Vite (#34450) 2025-05-16 13:26:12 +00:00
Rakefile Match dependency-generator output for require_relative usage (#32800) 2024-11-08 09:55:15 +00:00
README.md Merge commit '17eb1a7e66' into glitch-soc/merge-upstream 2025-10-21 18:15:56 +02:00
scalingo.json Remove OTP_SECRET env configuration from setup (#34757) 2025-05-21 15:08:46 +00:00
SECURITY.md Add 4.5.x to the list of supported branches (#36762) 2025-11-06 16:23:56 +00:00
stylelint.config.js Merge commit 'f1a6f4333a' into glitch-soc/merge-upstream 2025-05-25 14:51:59 +02:00
tsconfig.json Merge commit '055f581ca5' into glitch-soc/merge-upstream 2025-10-31 18:03:21 +01:00
Vagrantfile Update Vagrantfile (#35765) 2025-08-13 20:45:10 +00:00
vite.config.mts Merge commit '055f581ca5' into glitch-soc/merge-upstream 2025-10-31 18:03:21 +01: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 Merge commit '441eb89537' into glitch-soc/merge-upstream 2025-11-08 10:44:43 +01:00

Mastodon Glitch Edition

Ruby Testing Crowdin

So here's the deal: we all work on this code, and anyone who uses that does so absolutely at their own risk. can you dig it?

Mastodon Glitch Edition is a fork of Mastodon. Upstream's README file is reproduced below.


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/