Your self-hosted, globally interconnected microblogging community
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Eugen Rochko db3ed498b0 When OAuth password verification fails, return 401 instead of redirect (#5111)
Call to warden.authenticate! in resource_owner_from_credentials would
make the request redirect to sign-in path, which is a bad response for
apps. Now bad credentials just return nil, which leads to HTTP 401
from Doorkeeper. Also, accounts with enabled 2FA cannot be logged into
this way.
7 years ago
app Fix empty query sent to postgres for custom emojis (#5121) 7 years ago
bin Upgrade Webpacker to version 3.0.1 (#5122) 7 years ago
config When OAuth password verification fails, return 401 instead of redirect (#5111) 7 years ago
db Forgotten in #5039, change statuses_tags tag_id to bigint (#5070) 7 years ago
docs
lib Upgrade Webpacker to version 3.0.1 (#5122) 7 years ago
log
nanobox
public New error page graphic. Other error page improvements (#5099) 7 years ago
spec Follow-up to #4582 and #5027, removing dead code (#5101) 7 years ago
streaming Fix streaming API double-JSON-encoding status IDs for deletes (#5069) 7 years ago
vendor/assets
.babelrc
.buildpacks
.codeclimate.yml
.dockerignore Remove Storybook (#4397) 7 years ago
.editorconfig
.env.nanobox
.env.production.sample Document REDIS_NAMESPACE (#5038) 7 years ago
.env.test
.env.vagrant
.eslintignore
.eslintrc.yml Remove eslint-disable comments (#4681) 7 years ago
.foreman
.gitattributes
.gitignore Generate 500.html with assets:precompile, remove loading from Google Fonts (#5067) 7 years ago
.haml-lint.yml
.nanoignore Remove Storybook (#4397) 7 years ago
.nvmrc
.postcssrc.yml
.profile
.rspec
.rubocop.yml Add handling of Linked Data Signatures in payloads (#4687) 7 years ago
.ruby-version Bump ruby version to 2.4.2 (#4958) 7 years ago
.scss-lint.yml
.slugignore Remove Storybook (#4397) 7 years ago
.travis.yml Remove ubuntu-toolchain-r-test (#5005) 7 years ago
Aptfile Specify libicu explicitly in Aptfile (#4920) 7 years ago
CODEOWNERS Introduce CODEOWNERS file (#4670) 7 years ago
CONTRIBUTING.md
Capfile
Dockerfile Bump ruby version to 2.4.2 (#4958) 7 years ago
Gemfile Upgrade Webpacker to version 3.0.1 (#5122) 7 years ago
Gemfile.lock Upgrade Webpacker to version 3.0.1 (#5122) 7 years ago
ISSUE_TEMPLATE.md
LICENSE
Procfile
Procfile.dev Upgrade Webpacker to version 3.0.1 (#5122) 7 years ago
README.md
Rakefile
Vagrantfile
app.json Change logo URL for Heroku and Scalingo (#4476) 7 years ago
boxfile.yml
config.ru
docker-compose.yml
docker_entrypoint.sh
package.json In detail status view, display attachment uncropped if there's only one (#5054) 7 years ago
scalingo.json Change logo URL for Heroku and Scalingo (#4476) 7 years ago
yarn.lock In detail status view, display attachment uncropped if there's only one (#5054) 7 years ago

README.md

Mastodon

Build Status Code Climate

Mastodon is a free, open-source social network server. A decentralized solution to commercial platforms, it avoids the risks of a single company monopolizing your communication. Anyone can run Mastodon and participate in the social network seamlessly.

An alternative implementation of the GNU social project. Based on ActivityStreams, Webfinger, WebSub and Salmon.

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

Screenshot

The project focus is a clean REST API and a good user interface. 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. Alternatively, you can donate to this BTC address: 17j2g7vpgHhLuXhN4bueZFCvdxxieyRVWd

Resources

Features

  • Fully interoperable with GNU social and any OStatus platform Whatever implements Atom feeds, ActivityStreams, Salmon, WebSub and Webfinger is part of the network
  • Real-time timeline updates See the updates of people you're following appear in real-time in the UI via WebSockets
  • 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 WebM Upload and view images and WebM videos attached to the updates
  • OAuth2 and a straightforward REST API Mastodon acts as an OAuth2 provider so 3rd party apps can use the API, which is RESTful and simple
  • Background processing for long-running tasks Mastodon tries to be as fast and responsive as possible, so all long-running tasks that can be delegated to background processing, are
  • 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 Emoji One pack has been used for the emojis
  • The error page image courtesy of Dopatwo

Mastodon error image