DEV Community

Cover image for Cross-posting from Mastodon to Bluesky
Alex Hyett
Alex Hyett

Posted on • Originally published at alexhyett.com on

Cross-posting from Mastodon to Bluesky

I have a love hate relationship when it comes to social media. It can be a great way to stay up to date with everything that is happening in the world and within your niche circles. However, at the same time it can be a massive time sink if not used responsibly.

Last year I decided to Marie Kondo my social media and cut out all the platforms that where no longer “bringing me joy”.

I have been enjoying Mastodon, and it is nice to have all my social media posts on a platform that I own. The downside is that I am missing a lot of people I would like to hear from who aren't on Mastodon yet.

Most people have come to realise that Twitter/X is not the place to be any more and have moved on to other platforms. Bluesky has become particularly popular now that it is no longer invite only.

I have been on Bluesky for a while but my account has been pretty inactive.

To save me posting manually in multiple places I have set up cross posting from Mastodon to Bluesky. This way I can keep Mastodon as my “source of truth” but still reach my developer friends on Bluesky.

I am using Maurice Renck's node script to do this which he has written about here: Crosspost from Mastodon to Bluesky.

The docker image no longer seems to be available, so I forked his repository on my own code server and updated the docker-compose file to build the image from the Dockerfile.

You can find my forked repository here: alexhyett/mastodon-to-bluesky

The script runs every 5 minutes on my server and pushes anything I post on Mastodon (excluding replies) to Bluesky.

Top comments (0)