1
0
Fork
You've already forked mastodon
0
Mastodon com alguns patches simples para serem usados na rocktriste.club c:
  • Ruby 64.9%
  • TypeScript 13.1%
  • JavaScript 12.7%
  • SCSS 4.6%
  • Haml 4.3%
  • Other 0.4%
Find a file
2025年07月08日 20:12:09 -03:00
.devcontainer Convert from Webpack to Vite ( #34450 ) 2025年05月16日 13:26:12 +00:00
.github Fix 4.4 container images not being marked as latest ( #35294 ) 2025年07月08日 16:07:41 +02:00
.husky Update husky and remove deprecated features ( #29338 ) 2024年02月22日 09:02:15 +00:00
.rubocop Update OAuth inflection to match spec ( #35160 ) 2025年06月25日 07:52:30 +00:00
.storybook Storybook Helpers ( #35158 ) 2025年06月25日 11:20:11 +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 rocktriste: validators: increase max status length 2025年07月08日 20:12:09 -03: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 New Crowdin Translations for stable-4.4 (automated) ( #35288 ) 2025年07月08日 11:22:46 +02:00
db Persist follow recommendations from FASP ( #35218 ) 2025年06月30日 13:39:36 +00:00
dist improve nginx.conf by setting gzip_static to on ( #30698 ) 2024年11月21日 16:39:56 +00:00
docs docs: Update DEVELOPMENT.md to include vips project dependency ( #34753 ) 2025年05月21日 09:17:17 +00:00
lib Bump version to v4.4.0 ( #35268 ) 2025年07月08日 15:25:26 +02:00
log
public Update to Twemoji 15.1.0 ( #34321 ) 2025年04月28日 14:22:14 +00:00
spec Better error response to malformed headers ( #35278 ) 2025年07月08日 11:45:24 +02:00
streaming chore(deps): update yarn to v4.9.2 ( #34916 ) 2025年06月05日 13:37:43 +00:00
vendor
.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
.dockerignore Dockerfile: prevent unnecessary ffmpeg building ( #34084 ) 2025年03月07日 08:46:04 +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 Remove OTP_SECRET env configuration from setup ( #34757 ) 2025年05月21日 15:08:46 +00: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
.gitattributes
.gitignore feat: Add Storybook for component documentation, testing, and development ( #34907 ) 2025年06月06日 09:27:29 +00: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 22.17 ( #35166 ) 2025年06月25日 14:01:46 +00:00
.prettierignore Move email env var reading to yml files ( #35191 ) 2025年06月26日 12:18:30 +00: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.77.0 ( #35128 ) 2025年06月23日 07:40:11 +00:00
.ruby-gemset Make Mastodon use its own gemset ( #17858 ) 2022年08月13日 15:44:34 +02:00
.ruby-version chore(deps): update dependency ruby to v3.4.4 ( #34692 ) 2025年05月16日 14:57:51 +00:00
.slugignore
.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.4.0 ( #35268 ) 2025年07月08日 15:25:26 +02:00
CODE_OF_CONDUCT.md Update Contributor Covenant to 2.1 ( #23980 ) 2023年04月23日 23:11:50 +02:00
config.ru Match dependency-generator output for require_relative usage ( #32800 ) 2024年11月08日 09:55:15 +00:00
CONTRIBUTING.md Add security policy in CONTRIBUTING, update year refs. ( #34761 ) 2025年05月22日 10:03:26 +00:00
crowdin.yml Case correction Github -> GitHub ( #30446 ) 2024年06月08日 10:32:39 +00:00
docker-compose.yml Bump version to v4.4.0 ( #35268 ) 2025年07月08日 15:25:26 +02:00
Dockerfile chore(deps): update dependency libvips to v8.17.0 ( #34956 ) 2025年06月10日 07:37:16 +00:00
eslint.config.mjs Storybook Helpers ( #35158 ) 2025年06月25日 11:20:11 +00:00
FEDERATION.md Add initial support for ingesting and verifying remote quote posts ( #34370 ) 2025年04月17日 07:45:23 +00:00
Gemfile chore(deps): update dependency opentelemetry-instrumentation-http to '~> 0.25.0' ( #35088 ) 2025年06月18日 09:42:53 +00:00
Gemfile.lock chore(deps): update dependency haml_lint to v0.64.0 ( #35215 ) 2025年06月30日 11:25:47 +00:00
ide-helper.js
jsconfig.json Update devDependencies (non-major) ( #29089 ) 2024年02月27日 16:07:43 +00:00
LICENSE
lint-staged.config.js Rely on haml-lint parallel default ( #34036 ) 2025年02月28日 14:33:15 +00:00
package.json Adds Redux and React-Intl to storybook ( #35094 ) 2025年06月24日 09:31:27 +00:00
priv-config
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 Add security policy in CONTRIBUTING, update year refs. ( #34761 ) 2025年05月22日 10:03:26 +00:00
scalingo.json Remove OTP_SECRET env configuration from setup ( #34757 ) 2025年05月21日 15:08:46 +00:00
SECURITY.md Bump version to v4.4.0 ( #35268 ) 2025年07月08日 15:25:26 +02:00
stylelint.config.js Enable Stylelint color-hex-length ( #34310 ) 2025年05月21日 08:05:45 +00:00
tsconfig.json Storybook Helpers ( #35158 ) 2025年06月25日 11:20:11 +00:00
Vagrantfile Fix Vagrant failure to sync dangling symlinks ( #28101 ) 2024年12月11日 10:18:30 +00:00
vite.config.mts Fix theme name requirement regression with efficient lookup by name ( #35007 ) 2025年06月12日 14:09:45 +00:00
vitest.config.mts feat: Add Storybook for component documentation, testing, and development ( #34907 ) 2025年06月06日 09:27:29 +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 fix(deps): update dependency pg to v8.16.3 ( #35213 ) 2025年06月30日 09:33:09 +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

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 13+
  • Redis 6.2+
  • Ruby 3.2+
  • Node.js 20+

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-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/