Mirror of mastodon

Yamagishi Kazutoshi 2ab7dc9a55 Use URI.join for generate asset URL (#2741) 7 years ago
app 2ab7dc9a55 Use URI.join for generate asset URL (#2741) 7 years ago
bin f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
config f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
db f025cc6782 Filter on allowed user language preferences (#2361) 7 years ago
docs f16b9a4928 Fix redirect link on Tuning.md (#1595) 7 years ago
lib 298796cc7b annotate models (#2697) 7 years ago
log 9c4856bdb1 Initial commit 8 years ago
public 25cbb8454c Red favicon for dev (#2470) 7 years ago
spec f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
storybook d90b1650d8 Update storybook file autoload (#2057) 7 years ago
streaming a6788662b0 Revert "Use PostgreSQL inheritance for blocks and mutes (#2520)" (#2634) 7 years ago
vendor 9c4856bdb1 Initial commit 8 years ago
.babelrc f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
.buildpacks 79765d61f5 Install nodejs before ruby 7 years ago
.codeclimate.yml 181115422c Disable CodeClimate duplication checks (#1943) 7 years ago
.dockerignore b83bc0ae64 Add postgres/redis folder to .dockerignore (#2659) 7 years ago
.editorconfig 3672a799d4 Dev Tooling fixes (eslint/editorconfig) (#1398) 7 years ago
.env.production.sample 26bc591572 Allow to set CA file for SMTP (#2713) 7 years ago
.env.test df4ff9a8e1 Add recovery code support for two-factor auth (#1773) 7 years ago
.env.vagrant 94eccbc5de Add a default LOCAL_DOMAIN=mastodon.dev to .env.vagrant 7 years ago
.eslintignore 3672a799d4 Dev Tooling fixes (eslint/editorconfig) (#1398) 7 years ago
.eslintrc.json b00f4a0cf3 Use new ESLint filename (.json) (#2248) 7 years ago
.foreman f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
.gitignore f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
.nvmrc 8482f67caf update Node to 6.x LTS (#1228) 7 years ago
.postcssrc.yml f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
.rspec 71fe24096c Adding a Mention model, test stubs 8 years ago
.rubocop.yml 3988f2dade Fix Rubocop offences (#2630) 7 years ago
.ruby-version 64dbde0dbf Version bumps for ruby and misc gems (#1159) 7 years ago
.slugignore a2adf84858 Updates slugignore. 7 years ago
.travis.yml f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
CONTRIBUTING.md fc122e9d78 README tidy up (#2026) 7 years ago
Capfile 8325866c61 Downgrade rubocop 0.48.1 => 0.46.0 (#2628) 7 years ago
Dockerfile f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
Gemfile f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
Gemfile.lock f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
ISSUE_TEMPLATE.md 99226aba93 Adds note for instance admins. (#1925) 7 years ago
LICENSE d709151781 Fix #49 - License changed from GPL-2.0 to AGPL-3.0 8 years ago
Procfile 1c351709bc Force UTF8 encoding on generated XML (#1140) 7 years ago
Procfile.dev 2b9bc9c154 Use puma config for Procfile.dev (#2735) 7 years ago
README.md fc122e9d78 README tidy up (#2026) 7 years ago
Rakefile 9c4856bdb1 Initial commit 8 years ago
Vagrantfile a9a4710fe1 Alter Vagrantfile to use RVM for Ruby installation (#2346) 7 years ago
app.json 0dbbc16c69 More SMTP customization (#1372) 7 years ago
config.ru fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance 8 years ago
docker-compose.yml f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
package.json f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
scalingo.json 0dbbc16c69 More SMTP customization (#1372) 7 years ago
yarn.lock f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 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, PubsubHubbub 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, PubSubHubbub 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

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