Claire 2f9c50f562 Change media attachments to use `summary` instead of `name` for attachment description | há 1 mês atrás | |
---|---|---|
.devcontainer | há 2 meses atrás | |
.github | há 1 mês atrás | |
.husky | há 9 meses atrás | |
.rubocop | há 2 meses atrás | |
.yarn | há 10 meses atrás | |
app | há 1 mês atrás | |
bin | há 4 meses atrás | |
chart | há 1 ano atrás | |
config | há 1 mês atrás | |
db | há 1 mês atrás | |
dist | há 1 ano atrás | |
lib | há 1 mês atrás | |
log | há 8 anos atrás | |
public | há 1 mês atrás | |
spec | há 1 mês atrás | |
streaming | há 1 mês atrás | |
vendor | há 5 anos atrás | |
.browserslistrc | há 2 meses atrás | |
.buildpacks | há 4 anos atrás | |
.dockerignore | há 1 ano atrás | |
.editorconfig | há 1 ano atrás | |
.env.development | há 7 meses atrás | |
.env.production.sample | há 1 mês atrás | |
.env.test | há 6 meses atrás | |
.env.vagrant | há 1 ano atrás | |
.eslintignore | há 5 anos atrás | |
.eslintrc.js | há 1 mês atrás | |
.foreman | há 7 anos atrás | |
.gitattributes | há 7 anos atrás | |
.gitignore | há 2 meses atrás | |
.haml-lint.yml | há 7 meses atrás | |
.nvmrc | há 1 mês atrás | |
.prettierignore | há 8 meses atrás | |
.prettierrc.js | há 1 ano atrás | |
.rspec | há 2 meses atrás | |
.rubocop.yml | há 5 meses atrás | |
.rubocop_todo.yml | há 2 meses atrás | |
.ruby-gemset | há 2 anos atrás | |
.ruby-version | há 2 meses atrás | |
.slugignore | há 7 anos atrás | |
.watchmanconfig | há 1 ano atrás | |
.yarnrc.yml | há 1 ano atrás | |
AUTHORS.md | há 1 ano atrás | |
Aptfile | há 2 meses atrás | |
CHANGELOG.md | há 1 mês atrás | |
CODE_OF_CONDUCT.md | há 1 ano atrás | |
CONTRIBUTING.md | há 4 meses atrás | |
Dockerfile | há 1 mês atrás | |
FEDERATION.md | há 10 meses atrás | |
Gemfile | há 2 meses atrás | |
Gemfile.lock | há 1 mês atrás | |
LICENSE | há 8 anos atrás | |
Procfile | há 2 meses atrás | |
Procfile.dev | há 1 ano atrás | |
README.md | há 5 meses atrás | |
Rakefile | há 1 ano atrás | |
SECURITY.md | há 1 mês atrás | |
Vagrantfile | há 5 meses atrás | |
app.json | há 2 meses atrás | |
babel.config.js | há 4 meses atrás | |
config.ru | há 1 ano atrás | |
crowdin.yml | há 5 meses atrás | |
docker-compose.yml | há 1 mês atrás | |
ide-helper.js | há 4 anos atrás | |
jest.config.js | há 10 meses atrás | |
jsconfig.json | há 8 meses atrás | |
lint-staged.config.js | há 5 meses atrás | |
package.json | há 1 mês atrás | |
postcss.config.js | há 3 meses atrás | |
priv-config | há 6 anos atrás | |
scalingo.json | há 1 ano atrás | |
stylelint.config.js | há 3 meses atrás | |
tsconfig.json | há 5 meses atrás | |
yarn.lock | há 1 mês atrás |
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/.