Eugen Rochko 683db3ab25 Add ability to middle-mouse click posts in web UI (#32988) | 1 deň pred | |
---|---|---|
.devcontainer | 3 dní pred | |
.github | 3 dní pred | |
.husky | 9 mesiacov pred | |
.rubocop | 2 mesiacov pred | |
.yarn | 10 mesiacov pred | |
app | 1 deň pred | |
bin | 4 mesiacov pred | |
chart | 1 rok pred | |
config | 1 deň pred | |
db | 1 týždeň pred | |
dist | 1 rok pred | |
lib | 3 dní pred | |
log | 8 rokov pred | |
public | 1 mesiac pred | |
spec | 1 deň pred | |
streaming | 3 dní pred | |
vendor | 5 rokov pred | |
.annotaterb.yml | 3 dní pred | |
.browserslistrc | 2 mesiacov pred | |
.buildpacks | 4 rokov pred | |
.dockerignore | 1 rok pred | |
.editorconfig | 1 rok pred | |
.env.development | 7 mesiacov pred | |
.env.production.sample | 1 mesiac pred | |
.env.test | 6 mesiacov pred | |
.env.vagrant | 1 rok pred | |
.eslintignore | 5 rokov pred | |
.eslintrc.js | 1 mesiac pred | |
.foreman | 7 rokov pred | |
.gitattributes | 7 rokov pred | |
.gitignore | 2 mesiacov pred | |
.haml-lint.yml | 7 mesiacov pred | |
.nvmrc | 3 týždňov pred | |
.prettierignore | 8 mesiacov pred | |
.prettierrc.js | 1 rok pred | |
.rspec | 2 mesiacov pred | |
.rubocop.yml | 3 týždňov pred | |
.rubocop_todo.yml | 2 mesiacov pred | |
.ruby-gemset | 2 rokov pred | |
.ruby-version | 2 týždňov pred | |
.slugignore | 7 rokov pred | |
.watchmanconfig | 1 rok pred | |
.yarnrc.yml | 1 rok pred | |
AUTHORS.md | 1 rok pred | |
Aptfile | 2 mesiacov pred | |
CHANGELOG.md | 1 týždeň pred | |
CODE_OF_CONDUCT.md | 1 rok pred | |
CONTRIBUTING.md | 4 mesiacov pred | |
Dockerfile | 3 dní pred | |
FEDERATION.md | 10 mesiacov pred | |
Gemfile | 1 deň pred | |
Gemfile.lock | 1 deň pred | |
LICENSE | 8 rokov pred | |
Procfile | 2 mesiacov pred | |
Procfile.dev | 1 rok pred | |
README.md | 3 týždňov pred | |
Rakefile | 1 týždeň pred | |
SECURITY.md | 1 mesiac pred | |
Vagrantfile | 5 mesiacov pred | |
app.json | 2 mesiacov pred | |
babel.config.js | 4 mesiacov pred | |
config.ru | 1 týždeň pred | |
crowdin.yml | 5 mesiacov pred | |
docker-compose.yml | 1 týždeň pred | |
ide-helper.js | 4 rokov pred | |
jest.config.js | 10 mesiacov pred | |
jsconfig.json | 8 mesiacov pred | |
lint-staged.config.js | 5 mesiacov pred | |
package.json | 3 týždňov pred | |
postcss.config.js | 3 mesiacov pred | |
priv-config | 6 rokov pred | |
scalingo.json | 1 rok pred | |
stylelint.config.js | 3 mesiacov pred | |
tsconfig.json | 5 mesiacov pred | |
yarn.lock | 3 dní pred |
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/.