Eugen Rochko f03c384353 Change avatar and header size limits from 2MB to 10MB | il y a 1 jour | |
---|---|---|
.devcontainer | il y a 3 jours | |
.github | il y a 3 jours | |
.husky | il y a 9 mois | |
.rubocop | il y a 2 mois | |
.yarn | il y a 10 mois | |
app | il y a 1 jour | |
bin | il y a 4 mois | |
chart | il y a 1 an | |
config | il y a 1 jour | |
db | il y a 1 semaine | |
dist | il y a 1 an | |
lib | il y a 3 jours | |
log | il y a 8 ans | |
public | il y a 1 mois | |
spec | il y a 1 jour | |
streaming | il y a 3 jours | |
vendor | il y a 5 ans | |
.annotaterb.yml | il y a 3 jours | |
.browserslistrc | il y a 2 mois | |
.buildpacks | il y a 4 ans | |
.dockerignore | il y a 1 an | |
.editorconfig | il y a 1 an | |
.env.development | il y a 7 mois | |
.env.production.sample | il y a 1 mois | |
.env.test | il y a 6 mois | |
.env.vagrant | il y a 1 an | |
.eslintignore | il y a 5 ans | |
.eslintrc.js | il y a 1 mois | |
.foreman | il y a 7 ans | |
.gitattributes | il y a 7 ans | |
.gitignore | il y a 2 mois | |
.haml-lint.yml | il y a 7 mois | |
.nvmrc | il y a 3 semaines | |
.prettierignore | il y a 8 mois | |
.prettierrc.js | il y a 1 an | |
.rspec | il y a 2 mois | |
.rubocop.yml | il y a 3 semaines | |
.rubocop_todo.yml | il y a 2 mois | |
.ruby-gemset | il y a 2 ans | |
.ruby-version | il y a 2 semaines | |
.slugignore | il y a 7 ans | |
.watchmanconfig | il y a 1 an | |
.yarnrc.yml | il y a 1 an | |
AUTHORS.md | il y a 1 an | |
Aptfile | il y a 2 mois | |
CHANGELOG.md | il y a 1 semaine | |
CODE_OF_CONDUCT.md | il y a 1 an | |
CONTRIBUTING.md | il y a 4 mois | |
Dockerfile | il y a 3 jours | |
FEDERATION.md | il y a 10 mois | |
Gemfile | il y a 1 jour | |
Gemfile.lock | il y a 1 jour | |
LICENSE | il y a 8 ans | |
Procfile | il y a 2 mois | |
Procfile.dev | il y a 1 an | |
README.md | il y a 3 semaines | |
Rakefile | il y a 1 semaine | |
SECURITY.md | il y a 1 mois | |
Vagrantfile | il y a 5 mois | |
app.json | il y a 2 mois | |
babel.config.js | il y a 4 mois | |
config.ru | il y a 1 semaine | |
crowdin.yml | il y a 5 mois | |
docker-compose.yml | il y a 1 semaine | |
ide-helper.js | il y a 4 ans | |
jest.config.js | il y a 10 mois | |
jsconfig.json | il y a 8 mois | |
lint-staged.config.js | il y a 5 mois | |
package.json | il y a 3 semaines | |
postcss.config.js | il y a 3 mois | |
priv-config | il y a 6 ans | |
scalingo.json | il y a 1 an | |
stylelint.config.js | il y a 3 mois | |
tsconfig.json | il y a 5 mois | |
yarn.lock | il y a 3 jours |
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!)
Click below to learn more in a video:
It doesn't have to be Mastodon; whatever implements ActivityPub is part of the social network! Learn more
Updates of people you're following appear in real-time in the UI via WebSockets. There's a firehose view as well!
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!
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
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!
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.
A Vagrant configuration is included for development purposes. To use it, complete the following steps:
vagrant-hostsupdater
plugin: vagrant plugin install vagrant-hostsupdater
vagrant up
vagrant ssh -c "cd /vagrant && bin/dev"
http://mastodon.local
in your browserTo set up macOS for native development, complete the following steps:
brew install postgresql@14 redis imagemagick
libidn nvm
to install the required project dependencies.ruby-version
and run
nvm use
to activate the node version from .nvmrc
bin/setup
script, which will install the required ruby gems and node
packages and prepare the database for local developmentbin/dev
script which will launch services via overmind
(if installed) or foreman
For production hosting and deployment with Docker, use the Dockerfile
and
docker-compose.yml
in the project root directory.
For local development, install and launch Docker, and run:
docker compose -f .devcontainer/compose.yaml up -d
docker compose -f .devcontainer/compose.yaml exec app bin/setup
docker compose -f .devcontainer/compose.yaml exec app bin/dev
Within IDEs that support the Development Containers specification, start the
"Mastodon on local machine" container from the editor. The necessary docker
compose
commands to build and setup the container should run automatically. For
Visual Studio Code this requires installing the Dev Container extension.
GitHub Codespaces provides a web-based version of VS Code and a cloud hosted development environment configured with the software needed for this project.
bin/dev
in the terminalMastodon 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 submit translations using Crowdin. To get started, take a look at CONTRIBUTING.md. If your contributions are accepted into Mastodon, you can request to be paid through our OpenCollective.
IRC channel: #mastodon on irc.libera.chat
Copyright (C) 2016-2024 Eugen Rochko & other Mastodon contributors (see AUTHORS.md)
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/.