Mirror of mastodon

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

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