Mirror of mastodon

TrashMacNugget 6f5f434caa Specify AGPLv3+ (#6546) пре 6 година
.github 1486fd64cc Move files for GitHub to .github directory (#5989) пре 7 година
app 7150f2e9d3 Grid layout for tag pages (#6545) пре 6 година
bin a2a4bf4e78 Update dependencies for Ruby (2017-10-30) (#5566) пре 7 година
config c33931b613 Fix prev/next links on public profile page (#6497) пре 6 година
db 61ed133fea Account archive download (#6460) пре 6 година
docs f16b9a4928 Fix redirect link on Tuning.md (#1595) пре 7 година
lib 76198c63b6 Some images can cause `convert` to fail, which crashes this whole task (#6565) пре 6 година
log 9c4856bdb1 Initial commit пре 8 година
nanobox 3e4b01b47d [Nanobox] Apply Release Notes Changes (#5670) пре 7 година
public 37b267e2ab Add artist, title, and date metadata to boop.{mp3,ogg} (#5531) пре 7 година
spec 2e8a492e88 Raise Mastodon::HostValidationError when host for HTTP request is private (#6410) пре 6 година
streaming ccf4f170de Make sure call `done();` in the listener of public timeline for anonymous connection (#6009) пре 7 година
vendor 9c4856bdb1 Initial commit пре 8 година
.babelrc c1f201c49a 🎄🔨 Force tree shake emojione (#4202) пре 7 година
.buildpacks fb87e847bc Add heroku APT buildpack for scalingo. (#3051) пре 7 година
.codeclimate.yml 0a103c7749 Upgrade ESLint to version 4.x (#6276) пре 6 година
.dockerignore aa803153e2 Remove Storybook (#4397) пре 7 година
.editorconfig 3bdcf5d8f0 Add final newline to locale files (#2890) пре 7 година
.env.nanobox 3e4b01b47d [Nanobox] Apply Release Notes Changes (#5670) пре 7 година
.env.production.sample 5cc716688a Ensure the app does not even start if OTP_SECRET is not set (#6557) пре 6 година
.env.test df4ff9a8e1 Add recovery code support for two-factor auth (#1773) пре 7 година
.env.vagrant 94eccbc5de Add a default LOCAL_DOMAIN=mastodon.dev to .env.vagrant пре 7 година
.eslintignore 3672a799d4 Dev Tooling fixes (eslint/editorconfig) (#1398) пре 7 година
.eslintrc.yml 0a103c7749 Upgrade ESLint to version 4.x (#6276) пре 6 година
.foreman f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) пре 7 година
.gitattributes 7aeb9168b0 Add .gitattributes file to avoid unwanted CRLF (#3954) пре 7 година
.gitignore 92e7815d1d Fix #5274 - Create symlink from public/500.html to public/assets/500.html (#5288) пре 7 година
.haml-lint.yml 48594b18e6 Added haml-lint and fix warnings (#2773) пре 7 година
.nanoignore aa803153e2 Remove Storybook (#4397) пре 7 година
.nvmrc 8482f67caf update Node to 6.x LTS (#1228) пре 7 година
.postcssrc.yml eeb5923e89 Add object-fit polyfill for Edge (#4182) пре 7 година
.profile f5c3d20e9c Add ffmpeg and dependent packages as well as LD_LIBRARY_PATHs (#3276) пре 7 година
.rspec 71fe24096c Adding a Mention model, test stubs пре 8 година
.rubocop.yml 00840f4f2e Add handling of Linked Data Signatures in payloads (#4687) пре 7 година
.ruby-version 7233ac07d2 Add support Ruby v2.5.0 (#6097) пре 6 година
.scss-lint.yml d63c291f86 Enable CodeClimate SCSS Lint checks (#2886) пре 7 година
.slugignore aa803153e2 Remove Storybook (#4397) пре 7 година
.travis.yml 51869f2a8c Remove unnecessary g++ configuration (#6499) пре 6 година
.yarnclean 1e1d788757 Reduce container size with clean yarn (#3506) пре 7 година
Aptfile 081f907f90 Specify libicu explicitly in Aptfile (#4920) пре 7 година
CODE_OF_CONDUCT.md 92aaa55f06 Add code of conduct from GitHub generator (#5674) пре 7 година
CONTRIBUTING.md fc122e9d78 README tidy up (#2026) пре 7 година
Capfile 24a5d13d60 remove capistrano/faster_assets from Capfile (#2737) пре 7 година
Dockerfile a4fd4ad1d5 Fix build error for missing variable interpolation in chown instruction (#6519) пре 6 година
Gemfile 22a441e374 remove-uglifier (#6561) пре 6 година
Gemfile.lock 22a441e374 remove-uglifier (#6561) пре 6 година
LICENSE d709151781 Fix #49 - License changed from GPL-2.0 to AGPL-3.0 пре 8 година
Procfile 81584779cb More robust PuSH subscription refreshes (#2799) пре 7 година
Procfile.dev 901fc48aae Upgrade Webpacker to version 3.0.1 (#5122) пре 7 година
README.md 3a6ace4874 Add Liberapay link to README.md (#6563) пре 6 година
Rakefile 9c4856bdb1 Initial commit пре 8 година
Vagrantfile 258dcb849f Upgrade Vagrant box to Xenial (#6421) пре 6 година
app.json e05606c8d0 Change logo URL for Heroku and Scalingo (#4476) пре 7 година
boxfile.yml eb3262b941 [Nanobox] Fix backups for file storage (#6483) пре 6 година
config.ru fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance пре 8 година
docker-compose.yml 3ebc0ad4d3 Full-text search for authorized statuses (#6423) пре 6 година
jest.config.js 402da46ff6 Enable coverage for Jest (#5442) пре 7 година
package.json 6f5f434caa Specify AGPLv3+ (#6546) пре 6 година
scalingo.json e05606c8d0 Change logo URL for Heroku and Scalingo (#4476) пре 7 година
yarn.lock 0a103c7749 Upgrade ESLint to version 4.x (#6276) пре 6 година

README.md

Mastodon

Build Status Code Climate

Mastodon is a free, open-source social network server based on open web protocols like ActivityPub and OStatus. The social focus of the project is a viable decentralized alternative to commercial social media silos that returns the control of the content distribution channels to the people. The technical focus of the project is a good user interface, a clean REST API for 3rd party apps and robust anti-abuse tools.

Click on the screenshot below to watch a demo of the UI:

Screenshot

Ruby on Rails is used for the back-end, while React.js and Redux are used for the dynamic front-end. A static front-end for public resources (profiles and statuses) is also provided.

If you would like, you can support the development of this project on Patreon or Liberapay. Alternatively, you can donate to this BTC address: 17j2g7vpgHhLuXhN4bueZFCvdxxieyRVWd


Resources

Features

No vendor lock-in: Fully interoperable with any conforming platform

It doesn't have to be Mastodon, whatever implements ActivityPub or OStatus is part of the social network!

Real-time timeline updates

See the updates of people you're following appear in real-time in the UI via WebSockets. There's a firehose view as well!

Federated thread resolving

If someone you follow replies to a user unknown to the server, the server fetches the full thread so you can view it without leaving the UI

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 are looped - like vines!

OAuth2 and a straightforward REST API

Mastodon acts as an OAuth2 provider so 3rd party apps can use the API

Fast response times

Mastodon tries to be as fast and responsive as possible, so all long-running tasks are delegated to background processing

Deployable via Docker

You don't need to mess with dependencies and configuration if you want to try Mastodon, if you have Docker and Docker Compose the deployment is extremely easy


Development

Please follow the development guide from the documentation repository.

Deployment

There are guides in the documentation repository for deploying on various platforms.

Contributing

You can open issues for bugs you've found or features you think are missing. You can also submit pull requests to this repository. Here are the guidelines for code contributions

IRC channel: #mastodon on irc.freenode.net


Extra credits

The elephant friend illustrations are created by Dopatwo