🤖🐘 AI-Powered Bot that adds ALT-Tags to Mastodon - Posts. Uses OpenAI

Ahoi - Don't fork
This is my personal server. I try to maintain it and keep it running, but I cannot guarantee it.
So if you want to fork - especially if the idea is to have a backup - do not use the "Fork" button here.
Instead use

git clone --mirror
and push it to your preferred service like Codeberg

  • C# 97.2%
  • Dockerfile 2.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-03-31 13:41:12 +02:00
.gitea ci: add FUNDING.yml for sponsor links 2026-03-31 13:41:12 +02:00
.idea/.idea.AltGen/.idea error loop 2025-01-17 16:25:44 +01:00
.gitignore init 2024-08-06 21:40:30 +02:00
AltGen.csproj refactor 2025-09-23 21:58:07 +02:00
AltGen.sln init 2024-08-06 21:40:30 +02:00
docker.md init 2024-08-06 21:40:30 +02:00
Dockerfile init 2024-08-06 21:40:30 +02:00
Looper.cs refactor 2025-09-23 21:58:07 +02:00
Mastodon.cs typo 2025-09-23 22:12:36 +02:00
OpenAIAltGen.cs refactor 2025-09-23 21:58:07 +02:00
Program.cs retry on image download error; fix di 2025-09-23 22:09:51 +02:00
README.md Update README.md 2025-01-14 12:49:33 +01:00
Secrets.cs refactor 2025-09-23 21:58:07 +02:00
secrets.example.json init 2024-08-06 21:40:30 +02:00

AltGen

This is a small utility that automatically adds ALT-Tags to your Mastodon-Posts if they are missing using OpenAI. A bit quick and dirty but works :)

Configuration

copy secrets.example.json to secrets.json and enter your secrets. Then start the program