Skip to content

Fediverse integration

This page will teach you how to set up automatic crosspost of answers to Fediverse.

Install the dependencies

Dependencies for crossposting features aren't installed by default, so you'll need to install them manually:

pip install Mastodon.py

Enable fediverse crosspost

Enable fediverse crosspost in Admin panel -> Crosspost -> Fediverse -> Enabled

Set instance domain

Set instance domain in Admin panel -> Crosspost -> Fediverse -> Instance domain

Run setup script

  1. Run the ./masto.py script in CatAsk install directory
  2. Go to the authorize URL and copy the code it gives you
  3. Paste the code in the terminal
  4. You're done!

Configure visibility and CWs

Configure post visibility and content warnings in admin panel

Restart CatAsk

Finally, restart CatAsk after setting this up to not have config issues

Try it out

Try out your configuration and whether it does make a post on your account.
If it does, great!

What to do if it doesn't:

  1. Stop gunicorn
  2. Start CatAsk in debug mode with flask run --debug
  3. Make an issue on Codeberg and include your CatAsk logs (they are printed to the terminal)