Tool:Wikipedia Featured Content Bot

From Wikitech
Toolforge tools
Wikipedia Featured Content Bot
Description Share featured content from Wikipedia
Keywords bot, mastodon
Author(s) Kosta Harlantalk
Maintainer(s) (View all)
Source code https://gitlab.wikimedia.org/kharlan/wikipedia_featured_content_bot
License GNU General Public License 3.0 or later

How it works

A daily cron job runs the script in the repository, which queries the https://api.wikimedia.org/feed/v1/wikipedia/en/featured/ feed, and posts to an account on botsin.space Mastodon.

Source code