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
Clworld dab8fc4584 Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. (#3278)
* Add redis key "subscribed:timeline:#{account.id}" to indicate active streaming API listeners exists.

* Add endpoint for notification only stream.

* Run PushUpdateWorker only for users uses Streaming API now.

* Move close hander streamTo(Http/Ws) -> stream(Http/Ws)End (Deal with #3370)

* Add stream type for stream start log message.
8 years ago
app Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. (#3278) 8 years ago
bin
config Enable stats.json analysis with Webpack Visualizer (#3509) 8 years ago
db Add index to media_attachments.account_id (#3510) 8 years ago
docs
lib [nanobox] Adjustments for Nanobox development (#3295) 8 years ago
log
nanobox Add Support for Nanobox (#1709) 8 years ago
public Add boop sounds in Vorbis format (#2963) 8 years ago
spec Fix spec for #2388 (#3526) 8 years ago
storybook Remove unused React Storybook addon (#3434) 8 years ago
streaming Execute PushUpdateWorker only for accounts who uses StreamingAPI just now. (#3278) 8 years ago
vendor/assets
.babelrc feat(babel): Strip prop types (#3122) 8 years ago
.buildpacks Add heroku APT buildpack for scalingo. (#3051) 8 years ago
.codeclimate.yml Enable CodeClimate SCSS Lint checks (#2886) 8 years ago
.dockerignore Ignore packs folder when COPY . /mastodon (#3522) 8 years ago
.editorconfig Add final newline to locale files (#2890) 8 years ago
.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 Add ESLint rule (object-curly-spacing) (#3498) 8 years ago
.foreman
.gitignore Ignore .idea folder (#3516) 8 years ago
.haml-lint.yml Added haml-lint and fix warnings (#2773) 8 years ago
.nanoignore Add Support for Nanobox (#1709) 8 years ago
.nvmrc
.postcssrc.yml Add browserslist config for autoprefixer (#3053) 8 years ago
.profile Add ffmpeg and dependent packages as well as LD_LIBRARY_PATHs (#3276) 8 years ago
.rspec
.rubocop.yml Rubocop changes (#3501) 8 years ago
.ruby-version
.scss-lint.yml Enable CodeClimate SCSS Lint checks (#2886) 8 years ago
.slugignore
.travis.yml Cache assets in travis (#3532) 8 years ago
Aptfile Add ffmpeg and dependent packages as well as LD_LIBRARY_PATHs (#3276) 8 years ago
CONTRIBUTING.md
Capfile remove capistrano/faster_assets from Capfile (#2737) 8 years ago
Dockerfile Some Dockerfile improvements (#3182) 8 years ago
Gemfile bump rails version in Gemfile: '~> 5.0.0' -> '~> 5.1.0' (#3523) 8 years ago
Gemfile.lock bump rails version in Gemfile: '~> 5.0.0' -> '~> 5.1.0' (#3523) 8 years ago
ISSUE_TEMPLATE.md
LICENSE
Procfile More robust PuSH subscription refreshes (#2799) 8 years ago
Procfile.dev Fix sidekiq "port" being wrong (#3014) 8 years ago
README.md Update screenshot in readme (#2978) 8 years ago
Rakefile
Vagrantfile Use CLD3 (#2949) 8 years ago
app.json Use cid3 on Heroku (#3001) 8 years ago
boxfile.yml [nanobox] Add python for node-gyp (#3491) 8 years ago
config.ru
docker-compose.yml Switch docker-compose to version 3. (#2747) 8 years ago
docker_entrypoint.sh Some Dockerfile improvements (#3182) 8 years ago
package.json Remove unused loaders of webpack (#3495) 8 years ago
scalingo.json
yarn.lock Remove unused loaders of webpack (#3495) 8 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