Repository navigation
nitter-cli v0.8.2
v0.8.2 — 2026-09-26
Adds the followers, thread and typeahead commands and circle remove, and corrects the FxTwitter lane contract, the update failure guarantee and the operator skill's upgrade path.
Added
nitter followers <HANDLE>: the follower-list counterpart offollowing— fetches the accounts
following a handle (1–15 letters, digits or underscores, without the@) and prints one row per follower
profile (@<handle> <name> <followers_count> <bio>).--limit Ncaps the number of profiles
(default 20, must be >= 1);--json/--ndjsonfollow the shared output modes. The route always queries
api.fxtwitter.comregardless offetch_backend;--instancedoes not apply.
(#14)nitter thread <TWEET_ID>: fetches the full self-thread containing a status and prints it root first
(one row per status:<ID> <YYYY-MM-DD HH:MM> @<handle> <single-line text>). The ID must be the
numeric status ID (1–20 digits; URL and other reference forms belong toget); a status that is not part
of a thread answersnot_found(exit 1). The route always queriesapi.fxtwitter.com;--instancedoes
not apply.
(#14)nitter typeahead <QUERY>: account-name completion through the user-completion endpoint. This is a
completion lookup, NOT search: no query operators, the upstream answers at most ~10-20 accounts and there
is no pagination — usesearchfor real queries.--limit Ncaps what is printed (default 20, must be= 1; the upstream may answer fewer). The route always queries
api.fxtwitter.com;--instancedoes not
apply.
(#14)nitter circle remove <NAME> <HANDLE>: removes a handle from a circle, editing only the circle's
users array incircles.toml. The profile sidecar (~/.nitter-cli/profiles.toml, recordedrole/note
included) is never read nor written, so removing a member keeps their cached profile. Idempotent:
removing a handle that is not a member prints an explicitnot a member; nothing changednotice on
stderr and exits 0.
(#14)
Changed
circle addnow fetches the new member's profile facts: after the roster write succeeds and a new
member was actually inserted, the added handle is sent toapi.fxtwitter.comfor a best-effort profile
fetch whose fact fields (name,bio,followers_count,fetched_at) are merged into the sidecar, so
circle showcan render a fresh member without waiting forcircle refresh. The judgement fields
(role/note/noted_at) are never touched. Every failure on that path is only a warning on stderr: the
roster write already succeeded, so the command still exits 0 and the facts simply arrive with the next
circle refresh.
(#14)- The four remaining FxTwitter lane functions enforce the same argument contract as the
timeline pair:SearchTweets,SearchUsers,FetchUserFollowingandFetchQuotesnow
reject an empty query/handle and a non-positive count/limit withinvalid_argumentinstead of
silently defaulting to the upstream page size, dropping the limit parameter, or returning an
empty success. The CLI has never been able to reach these paths (it rejects--limit < 1with
exit 2 first), so this aligns the lane contract without a user-visible behavior change.
(#13) nitter update's failure guarantee is now stated for what it covers: the help text and
the CLI reference said every failure leaves the installation untouched, but the final
replacement is not covered — on WindowsReplaceFileWis not atomic and can fail after
moving the old binary aside. The wording now limits the guarantee to failures before the
replacement and says to verify the installed binary before retrying. No behavior change.
(#15)- The CLI reference, README and operator skill now present
nitter updateas the supported
upgrade path: the Skill no longer callsupdatean installer it forbids, the upgrade steps
settle the Skill tag and its authorization before replacing the binary, and the binary and the
Skill are documented as one versioned pair.
(#15)
Fixed
circle addwrites the roster back under the matched section key: a circle whose innerkey
field differs from its section name no longer gets a second section on add — the member lands in
the circle that was actually matched, and a duplicate add no longer triggers a profile fetch.
(#14)mixno longer replaces the fast lane's failure reason withno instances configured: when
the FxTwitter attempt failed and the instance path had nothing to answer with (no instances
configured, or all cooling down), the error the user saw was only the chooser's answer. The
chooser error now carries the fast lane's cause, e.g.chooser: upstream_unavailable: no instances configured (fx attempt: fxtwitter.SearchTweets: not_found: resource not found (404): /2/search).
A real instance failure is reported unchanged, andfetch_backend = fx(which never falls back)
is unaffected.
(#13)
Full Changelog: v0.8.0...v0.8.2
v0.8.2 — 2026-09-26
新增 followers、thread、typeahead 三个命令与 circle remove,并修正 FxTwitter 车道契约、update 失败保证与产品 skill 的升级路径。
新增
nitter followers <HANDLE>:following的镜像能力——拉取关注某 handle(1–15 个字母、数字或
下划线,不带@)的账号,每个粉丝档案一行(@<handle> <name> <followers_count> <bio>)。
--limit N限制档案条数(默认 20,必须 ≥ 1);--json/--ndjson遵循统一输出模式。该路由无论
fetch_backend怎么设都恒走api.fxtwitter.com;--instance不适用。
(#14)nitter thread <TWEET_ID>:拉取包含某条推文的完整自帖串并从主楼开始输出(每条状态一行:
<ID> <YYYY-MM-DD HH:MM> @<handle> <单行文本>)。ID 必须是纯数字 status ID(1–20 位数字;URL
等其他引用形态归get);不属于任何串的推文按not_found应答(退出 1)。该路由恒走
api.fxtwitter.com;--instance不适用。
(#14)nitter typeahead <QUERY>:经 user-completion 端点做账号名补全。这是补全查询,不是搜索
(completion, NOT search):无查询算子,上游最多应答约 10–20 个账号,且不可翻页——真正的查询请用
search。--limit N只限制打印条数(默认 20,必须 ≥ 1;上游可能给得更少)。该路由恒走
api.fxtwitter.com;--instance不适用。
(#14)nitter circle remove <NAME> <HANDLE>:从圈子移除一个 handle,只编辑circles.toml中该圈子的
users 数组。档案侧写文件(~/.nitter-cli/profiles.toml,含已记录的role/note)从不被读取或写入,
因此移除成员会保留其缓存档案。幂等:移除非成员 handle 时在 stderr 打印明确的
not a member; nothing changed提示并退出 0。
(#14)
变更
circle add现在会拉取新成员的档案事实:名册写入成功且该成员确实是新增的情况下,该 handle 会被
发送到api.fxtwitter.com做一次尽力而为的档案拉取,事实字段(name、bio、followers_count、
fetched_at)合并进侧写文件,circle show无需等待circle refresh即可渲染新成员。
判断字段(role/note/noted_at)绝不被触碰。该路径上的任何失败都只是 stderr 一行警告:
名册写入已成功,命令仍退出 0,事实随下一次circle refresh到位。
(#14)- 其余四个 FxTwitter 车道函数现在与时间线函数对执行同一套参数契约:
SearchTweets、SearchUsers、
FetchUserFollowing与FetchQuotes现在会对空 query/handle 与非正数 count/limit 返回
invalid_argument,而不是静默回退到上游页大小、丢弃 limit 参数或返回空成功。CLI 从未触达过这些路径
(它会先以退出 2 拒绝--limit < 1),因此这只是对齐车道契约,没有用户可见的行为变化。
(#13) nitter update的失败保证现在按它实际覆盖的范围表述:帮助文本与 CLI reference 原先写「任何失败都不会改动现有安装」,但最终替换动作并不在这条保证内——Windows 上ReplaceFileW不是原子的,可能在把旧二进制改名到一旁之后失败。现在措辞把保证限定为替换动作之前的失败,并提示重试前先核实已安装的二进制。行为无变化。
(#15)- CLI reference、README 与产品 skill 现在把
nitter update作为受支持的升级路径:skill 不再
把update称作它自己禁止的安装器;升级步骤会在替换二进制之前先落实 Skill 的 tag 与授权;
二进制与 skill 被写明为一对版本。
(#15)
修复
circle add现在把名册写回实际匹配到的 section key:当某个圈子的内层key字段与它的
section 名不同时,添加成员不再产生第二个 section —— 成员会写进真正被匹配到的那个圈子,
且重复添加不再触发档案拉取。
(#14)mix不再用no instances configured覆盖快车道的失败原因:当 FxTwitter 尝试失败、而实例路径又
无从应答(未配置实例,或全部在冷却中)时,用户看到的错误只剩选择器的答复。现在选择器错误会携带快车道
的真因,例如chooser: upstream_unavailable: no instances configured (fx attempt: fxtwitter.SearchTweets: not_found: resource not found (404): /2/search)。真实的实例失败仍按原样上报;
fetch_backend = fx(从不回退)不受影响。
(#13)
Full Changelog: v0.8.0...v0.8.2