Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

111.9. toot-0.52.1

The Fediverse from a terminal, as a TUI and as a command

The build-state snapshot was taken from 0.52.1-1; this recipe is 0.52.1-2, so the size, time and contents below describe the earlier build.

0.52.1-2 · GPL-3.0-only · 0.1 SBU · 936.6 KiB, 109 files · 41_system, 278 of 1047 · ports/core/chat/toot

Homepage: https://github.com/ihabunek/toot

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/chat.txt:

Nothing else here reaches the Fediverse: iamb is Matrix and profanity is XMPP. toot tui is the screen and toot post is the command, in one port.

toot is a Mastodon client for the terminal: a command line for posting, reading and following, and toot tui, the full-screen timeline reader the desktop entry opens in a terminal.

Depends on: python3, python3-setuptools, python3-pip, python3-setuptools-scm, python3-click, python3-dateutil, python3-requests, python3-pysocks, python3-tomlkit, python3-typing-extensions, python3-urwid, python3-wcwidth, python3-beautifulsoup4, python3-soupsieve.

Required by: no port names it.

Sources: toot-0.52.1.tar.gz (1.3 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install toot'

build.sh:

pip3 install --ignore-installed --no-deps --no-index --no-build-isolation \
	--root=$PKG --prefix=/usr .

install -d "$PKG/usr/share/applications"
cat > "$PKG/usr/share/applications/toot.desktop" <<'EOF2'
[Desktop Entry]
Type=Application
Name=Fediverse
GenericName=Mastodon Client
Comment=Read and post to the Fediverse
Exec=toot tui
Icon=application-rss+xml
Terminal=true
NoDisplay=true
Categories=Network;
Keywords=mastodon;fediverse;activitypub;social;toot;
EOF2
chmod 644 "$PKG/usr/share/applications/toot.desktop"

Programs: toot.

Directories: /usr/lib/python3.14/site-packages/toot, /usr/lib/python3.14/site-packages/toot-0.52.1.dist-info, /usr/share/licenses/toot.

runtime = python3-tomlkit: toot reads its settings file through toot/settings.py, which imports tomlkit on every start. The import is in a submodule the run-time needs record does not read, and python3-tomlkit is a build-only port, so without the word a prebuilt install would leave it out and every toot command would stop with No module named 'tomlkit'.