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
Matt Jankowski 5282ba862a Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646)
* Add specs for api statuses routes

* Update favourited_by and reblogged_by api routes

* Move methods into new controllers

* Use load_accounts methods to simplify index actions

* Clean up load_accounts methods

* Clean up link header generation

* Check for link headers in specs

* Remove unused actions from api/v1/statuses controller

* Remove specs for moved actions
7 years ago
app Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646) 7 years ago
bin
config Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646) 7 years ago
db Language detection defaults to nil (#3666) 7 years ago
docs
lib Bump version to 1.4.2 7 years ago
log
nanobox Add Support for Nanobox (#1709) 8 years ago
public Fix #3063 - Add dynamic app manifest (#3563) 7 years ago
spec Move reblogged_by and favourited_by actions out of api/v1/statuses and into unique controllers (#3646) 7 years ago
storybook Fix typo (storyboard -> storybook) (#3603) 7 years ago
streaming Fix issue with some Node.js versions not having Array.prototype.includes (#3667) 7 years ago
vendor/assets
.babelrc feat(babel): Strip prop types (#3122) 8 years ago
.buildpacks
.codeclimate.yml
.dockerignore Ignore packs folder when COPY . /mastodon (#3522) 7 years ago
.editorconfig
.env.nanobox [nanobox] Adjustments for Nanobox development (#3295) 8 years ago
.env.production.sample added 'https://' to CDN_HOST variable example (#3446) 8 years ago
.env.test
.env.vagrant
.eslintignore
.eslintrc.yml Improve ESLint rules for JSX (#3608) 7 years ago
.foreman
.gitignore Ignore .idea folder (#3516) 7 years ago
.haml-lint.yml
.nanoignore Add Support for Nanobox (#1709) 8 years ago
.nvmrc
.postcssrc.yml
.profile Add ffmpeg and dependent packages as well as LD_LIBRARY_PATHs (#3276) 8 years ago
.rspec
.rubocop.yml Improve RuboCop rules (compatibility to Code Climate) (#3636) 7 years ago
.ruby-version
.scss-lint.yml
.slugignore
.travis.yml Cache assets in travis (#3532) 7 years ago
Aptfile Add ffmpeg and dependent packages as well as LD_LIBRARY_PATHs (#3276) 8 years ago
CONTRIBUTING.md
Capfile
Dockerfile Some Dockerfile improvements (#3182) 8 years ago
Gemfile Gem version bumps (#3524) 7 years ago
Gemfile.lock Update nokogumbo to 1.4.13 (#3617) 7 years ago
ISSUE_TEMPLATE.md
LICENSE
Procfile
Procfile.dev
README.md Fix broken screenshot 7 years ago
Rakefile
Vagrantfile
app.json
boxfile.yml [nanobox] Add python for node-gyp (#3491) 7 years ago
config.ru
docker-compose.yml
docker_entrypoint.sh Some Dockerfile improvements (#3182) 8 years ago
package.json Refactor translationRunner.js (#3604) 7 years ago
scalingo.json
yarn.lock Refactor translationRunner.js (#3604) 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

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