twi v0.12.0
🔑 Sign in once, chat anywhere
The IRC login is now derived from your OAuth token instead of config.
Twitch requires the IRC login to be the account a token was issued to, and the validation response already reports that account. Honoring a configured twitch_username that disagreed could only ever produce a login rejection — so the token is now authoritative.
If you hit this before, it now just works:
twitch OAuth token validation failed: OAuth token belongs to Twitch user "a",
not configured username "b"
twitch_usernameis optional. It is only a fallback for when token validation cannot reach Twitch.- A username naming a different account is a warning, not a startup failure, and
twi doctorreports it as stale config rather than a token problem. - Missing
chat:read/chat:editscopes still stop startup. Scopes are a real blocker; the username was not.
The channels you join were never tied to the account you authenticate as. Signing in as one account and chatting in another channel is normal — and now it starts.
To silence the warning, remove twitch_username from your config (recommended, it is derived) or set it to the account the token belongs to.
🌐 Project website
New showcase at https://worxbend.github.io/twi/ — screenshots, all 13 themes, the install path, and a keyboard reference.
📸 Screenshots generated from the app itself
The images in the README and on the site are produced by rendering twi's real view and converting the terminal output to SVG, so they cannot drift from what the app actually prints.
TWI_WRITE_SCREENSHOTS=1 go test ./internal/app -run TestWriteDocsScreenshots🧹 Fixed
- Six pre-existing static-analysis findings that had been failing the CI quality gate on every push since mid-July. This is the first tag cut from a fully green build.
📦 Install
curl --proto '=https' --tlsv1.2 -sSf \
https://github.com/worxbend/twi/releases/download/v0.12.0/install.sh | shVerify a downloaded binary against its .sha256 before running it.
Full changelog: https://github.com/worxbend/twi/blob/main/CHANGELOG.md · Compare: v0.11.0...v0.12.0