CLI commands to interact with fediverse instances.
  • Python 99.6%
  • Just 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marvin8 412ac9200b
All checks were successful
/ pr-review (push) Has been skipped
/ pr-review (release) Has been skipped
/ gitleaks (push) Successful in 18s
/ gitleaks (release) Successful in 16s
/ checks (push) Successful in 2m41s
/ publish (push) Has been skipped
/ checks (release) Successful in 2m45s
/ deploy-docs (release) Has been skipped
/ publish (release) Successful in 26s
/ deploy-docs (push) Successful in 1m17s
bump: version 0.10.3 → 0.10.4
2026-08-08 15:08:36 +10:00
.forgejo/workflows 🔧 (ci) revert weekly-checks.yml back to suanni 2026-08-08 12:10:40 +10:00
docs 🔧 (migration) migrate URLs and CI from codeberg.org to forge.marvin8.zone 2026-08-08 11:37:41 +10:00
src/taibai ♻️ (refactor) make optional CLI args and internal helpers keyword-only 2026-08-08 14:55:56 +10:00
tests ♻️ (refactor) make optional CLI args and internal helpers keyword-only 2026-08-08 14:55:56 +10:00
.editorconfig feat: initial working scaffold 2026-04-18 08:55:58 +10:00
.gitignore 🔧 update deepseek models for ai-reviews, update .gitignor etc. 2026-06-23 17:05:37 +10:00
.gitleaks.toml ci: add .gitleaks.toml config 2026-04-18 16:51:44 +10:00
.pre-commit-config.yaml ⬆️ (deps) bump dependencies 2026-08-08 11:38:07 +10:00
.python-version feat: initial working scaffold 2026-04-18 08:55:58 +10:00
AGENTS.md 📝 (docs) merge CLAUDE.md into AGENTS.md, replace CLAUDE.md with symlink 2026-08-08 14:40:59 +10:00
CHANGELOG.md docs: update changelog for 0.10.4 2026-08-08 15:08:33 +10:00
CLAUDE.md 📝 (docs) merge CLAUDE.md into AGENTS.md, replace CLAUDE.md with symlink 2026-08-08 14:40:59 +10:00
docs_hooks.py 🔧 (docs) generate llms-full.txt via docs_hooks.py on_post_build 2026-05-26 14:53:31 +10:00
justfile ♻️ (release) replace git-cliff with Release-Notes.md-based changelog generation 2026-07-06 12:23:03 +10:00
LICENSE.md feat: initial working scaffold 2026-04-18 08:55:58 +10:00
mkdocs.yml 🔧 (migration) migrate URLs and CI from codeberg.org to forge.marvin8.zone 2026-08-08 11:37:41 +10:00
noxfile.py ⬆️ bump deps, address PYSEC-2026-2132, retire codelimit from ci 2026-07-18 19:11:37 +10:00
pylock.toml 🐛 (ci) fix ruff PLR0917 violations and pysentry vulnerabilities 2026-08-08 11:47:36 +10:00
pyproject.toml bump: version 0.10.3 → 0.10.4 2026-08-08 15:08:36 +10:00
README.md 🔧 (migration) migrate URLs and CI from codeberg.org to forge.marvin8.zone 2026-08-08 11:37:41 +10:00
Release-Notes.md bump: version 0.10.3 → 0.10.4 2026-08-08 15:08:36 +10:00
Roadmap-detail.md 🔧 (migration) migrate URLs and CI from codeberg.org to forge.marvin8.zone 2026-08-08 11:37:41 +10:00
Roadmap.md 🔧 (roadmap) mark QL11, QL12, QL13 complete 2026-05-26 14:12:28 +10:00
ruff.toml feat: initial project scaffold 2026-04-18 08:20:35 +10:00
uv.lock bump: version 0.10.3 → 0.10.4 2026-08-08 15:08:36 +10:00

taibai

Fediverse CLI tool — celestial messenger for the federation.

Taibai (太白金星, Tàibái Jīnxīng — "Gold Star of Venus") is the celestial herald in Chinese mythology, tasked with carrying messages between heaven and earth. The name fits a tool that sends and receives communications across a federated network, and continues the Chinese mythology theme of its companion library longwei (龙威).

Built on longwei.

Documentation: https://taibai.marvin8.zone/latest/

Install

uv tool install taibai

Usage

taibai init                               # authenticate with a Fediverse instance
taibai init --instance URL --token TOKEN  # headless / non-interactive setup
taibai whoami                        # display current account
taibai token                         # print stored access token (for CI/CD secrets)
taibai post "Hello, world!"          # publish a status
taibai post "Reply!" --reply-to ID   # reply to a status (chain with --json | jq for threads)
taibai notifications                 # show new notifications
taibai timeline                      # home timeline (public/tag/list also supported)
taibai view 123456789012345678        # view a status or thread (--context for full thread)

taibai fav ID                        # favourite a status
taibai boost ID                      # boost a status
taibai bookmark ID                   # bookmark a status
taibai pin ID                        # pin a status to your profile
taibai delete ID                     # delete a status
taibai edit ID "New text."           # edit a status

taibai bookmarks                     # list your bookmarks
taibai favourites                    # list your favourites

taibai follow user@instance.social   # follow an account
taibai unfollow user@instance.social
taibai mute user@instance.social     # mute (optional --duration SECS, --no-notifications)
taibai unmute user@instance.social
taibai block user@instance.social
taibai unblock user@instance.social
taibai profile user@instance.social  # view profile + recent posts
taibai search "climate change"       # search statuses, accounts, and hashtags
taibai search python --type accounts --resolve

taibai thread my-thread.md           # post a thread from a file
taibai thread-download URL           # download a thread to stdout (--format thread|json|markdown)

taibai completions bash              # print bash completion script (eval or source)

All data-returning commands accept --json to dump output as JSON instead of a Rich table or panel.

Use --profile / -p (or TAIBAI_PROFILE env var) to manage multiple accounts.

License

AGPL-3.0-or-later