mirror of
				https://github.com/jakejarvis/mastodon-utils.git
				synced 2025-11-04 05:50:08 -05:00 
			
		
		
		
	
			
				
					
						
					
					ac3dbc5d7c56e413161e106136978a0019802da1
				
			
			
		
	🦣 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
favicons.patch: Use custom icon images instead of Mastodon logorobots.patch: Disallow search engines for all of Mastodonsystem-font.patch: Use the system's default sans-serif font stack instead of Robotohide-contact-email.patch: Hides themailto:link on the About pagehide-rules.patch: Applies just to homepage, meant only for single-user instanceshide-signup.patch: Hide the "create account" button (for aesthetics, not security!)- [
glitch-soconly]sidebar-logo.patch: Restore Mastodon logo in logged-out sidebar 
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%