Mirror of mastodon

yhirano 48594b18e6 Added haml-lint and fix warnings (#2773) 6 years ago
app 48594b18e6 Added haml-lint and fix warnings (#2773) 6 years ago
bin f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
config 0291b73de7 Fix Ukrainian malformed locale submitted in #2893, i18n-tasks normalize (#2896) 6 years ago
db d3704fdb09 Add effective index to subscriptions (#2885) 6 years ago
docs f16b9a4928 Fix redirect link on Tuning.md (#1595) 7 years ago
lib 81584779cb More robust PuSH subscription refreshes (#2799) 6 years ago
log 9c4856bdb1 Initial commit 8 years ago
public 25cbb8454c Red favicon for dev (#2470) 7 years ago
spec bba537a7be Improve allowed language handling (#2897) 6 years ago
storybook d90b1650d8 Update storybook file autoload (#2057) 7 years ago
streaming 5c1f70b5c5 namespace redis usage (#2869) 6 years ago
vendor 9c4856bdb1 Initial commit 8 years ago
.babelrc df81bc4a97 add asynchronous emojione-picker (code-splitting) (#2863) 6 years ago
.buildpacks 79765d61f5 Install nodejs before ruby 7 years ago
.codeclimate.yml d63c291f86 Enable CodeClimate SCSS Lint checks (#2886) 6 years ago
.dockerignore b83bc0ae64 Add postgres/redis folder to .dockerignore (#2659) 7 years ago
.editorconfig 3bdcf5d8f0 Add final newline to locale files (#2890) 6 years ago
.env.production.sample b18504adfe Improve example env file for local Postfix relay (#2892) 6 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.yml 6f71cfeff9 Eslintrc fix (#2850) 6 years ago
.foreman f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
.gitignore cf0b753209 Streamline javascript translation by improving translationRunner (#2808) 6 years ago
.haml-lint.yml 48594b18e6 Added haml-lint and fix warnings (#2773) 6 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
.scss-lint.yml d63c291f86 Enable CodeClimate SCSS Lint checks (#2886) 6 years ago
.slugignore a2adf84858 Updates slugignore. 7 years ago
.travis.yml bcfd9a2f8e Minor fix in Travis config with bundler call (#2806) 6 years ago
CONTRIBUTING.md fc122e9d78 README tidy up (#2026) 7 years ago
Capfile 24a5d13d60 remove capistrano/faster_assets from Capfile (#2737) 7 years ago
Dockerfile f5bf5ebb82 Replace sprockets/browserify with Webpack (#2617) 7 years ago
Gemfile 48594b18e6 Added haml-lint and fix warnings (#2773) 6 years ago
Gemfile.lock 48594b18e6 Added haml-lint and fix warnings (#2773) 6 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 7 years ago
Procfile 81584779cb More robust PuSH subscription refreshes (#2799) 6 years ago
Procfile.dev 81584779cb More robust PuSH subscription refreshes (#2799) 6 years ago
README.md e37e84d210 Fixes #1830 adds link to development guide (#2783) 6 years ago
Rakefile 9c4856bdb1 Initial commit 8 years ago
Vagrantfile bea117a4b6 changed to run foreman with vagrant (#2742) 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 7 years ago
docker-compose.yml 75bd141e22 Switch docker-compose to version 3. (#2747) 6 years ago
package.json f000673599 Remove local_time gem, and add similar (#2875) 6 years ago
scalingo.json 0dbbc16c69 More SMTP customization (#1372) 7 years ago
yarn.lock f000673599 Remove local_time gem, and add similar (#2875) 6 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

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