Build your own Mastodon client

Tutorial – Mastodon

Article from Issue 230/2020

Creating your own clients to interact with your friends in the Fediverse is easy. A bit of Python and an off-the-shelf module will do the trick.

Although there are plenty of Mastodon [1] clients out there (as we saw in the prior installment [2]), sometimes you just want that something special to satisfy your needs. Fortunately, Mastodon's API is open and well-organized and there is a Python wrapper [3] that makes it even easier.


First, you need to install the wrapper. The easiest way to do this is by using pip:

pip install


Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Tutorial – Fediverse

    If you're looking for social media options where the user has more control, you'll find a range of options to explore in the Fediverse, including the popular Mastodon.

  • Mastodon Clients Post Line

    The open and simple Mastodon API makes it easy to create applications to interact with this federated microblogging platform. Here are some of the clients that the community has come up with and how you can use them.

  • Open Hardware – Librem One

    Ahead of the Librem 5 phone release, Purism releases a suite of communications applications called Librem One, including Chat, Mail, and more. But how accessible are these apps for average users?

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95