Skip to main content
andrés ignacio torres

Caracas + Adjetivo

A Mastodon bot that toots "Caracas" + an adjective in Spanish every hour.
View project

Caracas + Adjetivo (Caracas + Adjective in Spanish) is a Mastodon bot that posts "Caracas" plus an adjective (in Spanish) every hour. As simple as that.

The bot itself is hosted as a minimal, single-user Mastodon instance using ActivityBot, in PHP.

To post every hour, I set up a cronjob that runs a Python script that selects the adjective at random from a pool of all (or at least a very sizeable list of) Spanish adjectives and makes the required API call to post the toot.

To get the pool of adjectives I based myself on the complete list of all Adjectives in Spanish from solosequenosenada.com and the resource repository from the Nordic Language Processing Laboratory, and wrote a script to clean and store aside all the singular and feminine adjectives (to go with Caracas, which is also singular and feminine in Spanish).

You can read the bot's posts here at Caracas Adjetivo, and follow it on any instance using the handle @[email protected].

Not a lot more to add, but I had fun building it!