Posts tagged with “Mastodon”
Using a Tailscale exit node on a Docker host
How to stop a Tailscale exit node from breaking Docker container networking, using Linux policy routing and a small systemd unit to make the fix permanent.
Moving Mastodon to Docker Compose
I finally moved my Mastodon server to Docker. Here's the full migration: inventorying dependency versions, keeping config in git, and importing the postgres dump and redis snapshot.
Self-Hosting Mastodon Behind Cloudflare Tunnel
A step-by-step guide to running Mastodon behind a Cloudflare Tunnel - ideal if you're self-hosting on a domestic connection without a static IP
Adding Plausible to Mastodon Using nginx `sub_filter`
Injecting Plausible Analytics into Mastodon using nginx sub_filter, CSP header overrides, and inline script hashes - plus why doing this is probably a bad idea.
Seeing the Full Conversation: Fetching Replies on Mastodon
Mastodon doesn't always show replies to posts from other instances. This post explores several ways to improve reply visibility and make conversations feel more complete.
Upgrading Mastodon from PostgreSQL 15 to PostgreSQL 17
Upgrading Mastodon’s database from PostgreSQL 15 to 17 on Ubuntu 24.04 is fast and easy using `pg_upgradecluster` with link mode. Here’s a quick guide with steps, tips, and cleanup.
How (and why) to change Mastodon's Referrer Policy
Set Mastodon's HTTP Referrer Policy to allow passing on the referrer origin (i.e. your domain name) when users click external links.
How to generate Mastodon's Annual Reports / 'Wrapstodon'
This post explains how you can run Mastodon's Annual Report on your mastodon instance.
FediFetcher Step by Step guide
A very detailed step-by-step guide to installing FediFetcher on your own server.
Clearing up the Mastodon Database using pg_repack
Running pg_repack regularly on your Mastodon instance can stop the database from growing too large.
Setting up Elasticsearch for Mastodon 4.2.x
With Mastodon 4.2.0 proper full text search has finally arrived. This post runs through the server requirements and setup of Elasticsearch for mastodon 4.2.x.
Tweaking Postgres for Mastodon
I had to increase Postgres' max_connections settings to resolve issues with my Mastodon instance.
Muli user support for FediFetcher
FediFetcher now has multi user support. This is great for admins of instances with a very small number of users, who want to run FediFetcher for several of their users.
FediFetcher can now backfill any user mentioned in your notifications
FediFetcher can now backfill the profiles of anyone who is mentioned in your notifications.
`mastodon_get_replies` is now FediFetcher
mastodon_get_replies has always been a pain to both say and type, and also now only covers about 50% of the functionality of the script, so please meet FediFetcher!
Pull missing posts from new followers, as well as recently followed accounts into Mastodon
Since v3.0.0 of FediFetcher you can backfill remote accounts, after you have begun following them. This post explains how.
Pull missing responses into Mastodon
Mastodon does not always pull responses to posts from other instances through to your own instance. This means that if you read a post from another server, you may not see all replies. This post provides a GitHub Action that can help push remote replies into your home instance.
Full-text search in Mastodon
Full-text search support on Mastodon is severely lacking. But you can either use google or install a patch on your own Mastodon instance to significantly improve your search experience.
Translation options for Mastodon
Mastodon supports DeepL as well as LibreTranslate for translating posts. This post compares LibreTranslate and DeepL, and how they work with Mastodon.
Adding comments to your blog, powered by mastodon
Adding mastodon-powered comments to your blog - how to create a dependency free solution to add comments to your blog using the Mastodon API.
Blocking Hashtags from your Mastodon instance
Removing unwanted content from your mastodon instance, that may have been pushed to your server through federated instances.
Running a single-user Mastodon instance
Several optimisations and changes I've made to my single user mastodon instance.