Skip to content
A small python 3.x script to mirror a youtube-chanel with a mastodon account
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A small python 3.x script to post youtube-videos from a youtube-chanel on a mastodon account. It is based on by Christian Quest

The script only needs mastodon login/pass to post toots.

It gets the videos from RSS available at (where CHANELIDOFDESIRE is the ID of the youtube-chanel you want to follow).

A sqlite database is used to keep track of tweets than have been tooted.

The script is simply called by a cron job and can run on any server (does not have to be on the mastodon instance server).


# clone this repo
git clone
cd youtoot

# install required python modules
pip3 install -r requirements.txt


python3 <youtube_chanel_id> <mastodon_account> <mastodon_password> <mastodon_domain>


python3 UCT0hbLDa-unWsnZ6Rjzkfug **password**

It's up to you to add this in your crontab :)

Live Demo

See this bot in action here:

You can’t perform that action at this time.