1
mirror of https://github.com/jakejarvis/mastodon-utils.git synced 2025-04-25 22:45:22 -04:00
2022-12-10 13:09:42 -05:00
2022-12-10 13:09:42 -05:00
2022-12-09 23:17:35 -05:00
2022-12-09 23:21:01 -05:00
2022-12-07 10:53:18 -05:00
2022-12-09 12:51:59 -05:00

🦣 Mastodon randomness

Random opinionated helper scripts & front-end customizations for my personal Mastodon instance (running on glitch-soc). You definitely don't want to use any of this as-is — check out my more general purpose mastodon-installer scripts instead.

Usage

AGAIN, DEFINITELY DO NOT JUST RUN THIS IF YOU'RE NOT ME!!! 😊

git clone https://github.com/jakejarvis/mastodon-scripts.git /home/mastodon/scripts

# apply vanilla patches:
cd /home/mastodon/live
git apply --allow-binary-replacement /home/mastodon/scripts/patches/*.patch

# apply glitch-only patches:
if [ -d /home/mastodon/live/app/javascript/flavours/glitch ]; then
  git apply --allow-binary-replacement /home/mastodon/scripts/patches/glitch/*.patch
fi

# compile new assets:
RAILS_ENV=production bundle exec rails assets:precompile
chown -R mastodon:mastodon /home/mastodon/{scripts,live}

# restart Mastodon:
systemctl restart mastodon-*

Patches

License

MIT

Description
🦣 Small opinionated helper scripts, patches, and configs for Mastodon
https://fediverse.jarv.is/about Readme MIT 4.5 MiB
Languages
Shell 100%