In this tutorial I will show you how to install mastodon glitch version. Glitch-soc is based on Mastodon’s main branch.
Switch to glitch-soc, for instance by:
su - mastodon
cd live
adding a new remote git:
remote add glitch-soc https://github.com/glitch-soc/mastodon
fetching it
git fetch glitch-soc
switching to the main branch from that repo:
git checkout glitch-soc/main
Fetch the source code
git pull
Install dependencies:
bundle install && yarn install
Run the pre-deployment database migrations:
RAILS_ENV=production SKIP_POST_DEPLOYMENT_MIGRATIONS=true bundle exec rails db:migrate
Pre-compile static assets:
RAILS_ENV=production bundle exec rails assets:precompile
Exit to root
exit
Restart the services:
systemctl reload mastodon-web && systemctl restart mastodon-{sidekiq,streaming}
Clean Rails’ cache:
RAILS_ENV=production bin/tootctl cache clear
Run the post-deployment database migrations:
RAILS_ENV=production bundle exec rails db:migrate
That is it! Enjoy!
What’s different?
glitch-soc adds a number of experimental features to Mastodon, such as:
Media improvements
- Images inside the CW spoiler
- fullwidth images
- scaling options
- Formatted toots
- Reply selection in lists
- Filter improvements
- Highlighting of misleading links
- Hiding follower count
- An app settings modal
- Collapsible toots
- Colored toot visibility icons
- Local-only toots
- Threaded mode
- data-* attributes on statuses for custom CSS targeting
- Advanced theming via flavours+skins
- Doodle