Skip to main content

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

Metadata

Release files for taibai 0.10.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taibai 0.10.8
File Size Uploaded
taibai-0.10.8.tar.gz 26.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for taibai 0.10.8
File Interpreter ABI Platform
taibai-0.10.8-py3-none-any.whl Python 3 none any Details

Total release size: 68.8 kB

Release files / taibai-0.10.8.tar.gz

Download URL taibai-0.10.8.tar.gz
Size 26.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e9a6a5523a263c7e828842644e5498a3dc3114fb1938a49201305342368823a2
BLAKE2b-256 checksum
How to use checksums
01b885a08a105327a1c9eda8f1bd46e44212b915de04df90e7d30c3cac56b0d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / taibai-0.10.8-py3-none-any.whl

Download URL taibai-0.10.8-py3-none-any.whl
Size 42.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29c12267fecbe264c2cd11302cf813e35955d2f7fe6e2fc8480a93a7a0f84ceb
BLAKE2b-256 checksum
How to use checksums
a6898e0e0a662cea9d3f395568e90f6c96f68252a1810ef2e03518e862f14c32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.10.9

2 release files

This release

0.10.8 This release

2 release files

0.10.6

2 release files

0.10.5

2 release files

0.10.3

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page