Posts tagged #mastodon to Mastodon Profile to Mastodon Profile

At this point I’m just coming up with reasons to play with the Mastodon API. I don’t know. I haven’t used in years but I started again recently just because I love logging things. I was also thinking what if I could automatically update my Mastodon profile with dynamic content. Mastodon profiles, by default, have up to four fields you can customize the label and content of. A common use for one of the fields to list their pronouns, link to their website, or share their location, so why not your last played track from My script works can work in two ways: it will look for a field titled and set the value to the last played track, or it will look for a field value of a url and set the field title to the last played track.

This script requires but it can easily be converted to just run with Node. You will need to setup the config portion of the script with your username, API key, Mastodon instance, and Mastodon token. I hope that doesn’t sound like a lot. I’ve documented the code a bit to help you through all of this.

As always, if you have an questions or need help reach out to me on Mastodon.

Only Mutuals. That was the joke I couldn’t get out of my head. So I decided to make a website that only my mutual followers could access. Nothing risqué, just things for my friends: like the wallpapers I used to design and so on.

While I had been playing with the Mastodon API, I had not been playing with the authenticated part. So I built an application that authenticates you with your Mastodon server and then checks to see if you are following me and if I am following you back. Nothing too fancy.

Over the past few months, I decided to familiarize myself with how the Mastodon APIs work across all servers, so I put together this site for simply viewing and sharing links to Mastodon posts. It’s very simple and minimal, but it also makes sharing very convenient on platforms like iMessage where you can’t see the content of a post.

I also used this as an opportunity to play around with some NextJS 13 features that I wanted to try out. If you are interested, head over to the repository on GitHub.

1 of 1