Skip to content

nitter-cli v0.7.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 05:12
· 136 commits to main since this release

v0.7.1 — 2026-09-23

Self-updating installs, cached circle profiles, and the fixes found while verifying both.

Added

  • nitter update installs releases: after showing the version comparison it asks for confirmation
    (--confirm skips the prompt and is required when stdin is not a terminal, so a pipe is never blocked;
    declining exits 0). The installer downloads only the current platform's archive, verifies its SHA-256
    against the release's checksums.txt, checks the staged binary's reported version, and only then replaces
    the executable — any verification failure leaves the existing installation untouched. A go install
    installation is refused with the matching go install line rather than replaced, so a later install cannot
    silently undo the update. On Windows the previous binary is kept as <name>.exe.old and removed by the next
    invocation; on Unix the rename is atomic and leaves nothing behind. update --check remains read-only.
    (13f13b4)
  • Circle member profiles (nitter circle refresh): member metadata now lives in a machine-readable sidecar
    (~/.nitter-cli/profiles.toml), keyed by lowercase handle, split into machine-refreshed facts (name,
    bio, followers_count, fetched_at) and judgement that refreshes never overwrite (role, note,
    noted_at). circle refresh <NAME> fetches each member's profile and merges the fact fields; a failing
    member is skipped with a warning while the others continue, and its previous facts are kept.
    (#2)

Changed

  • nitter update no longer only prints guidance: without --check it performs the check and then offers to
    install. --proxy/config.proxy now apply to update traffic, and when both are empty the command honors
    HTTPS_PROXY/ALL_PROXY.
  • nitter download reports its output directory: one note: writing to <dir> line on stderr carrying the
    resolved absolute path, printed after the directory is created and before any file is written. stdout,
    --json and --ndjson are unaffected. (7b5080a)
  • nitter circle show is now local-only: it joins circles.toml against the cached sidecar and performs
    zero network requests, so --min-followers now filters the cached follower count instead of fetching each
    member's profile. Members with no cache keep their row with - placeholders plus a stderr note pointing at
    circle refresh; --json rows gain name, bio, fetched_at, role and note. Run
    nitter circle refresh <NAME> once to populate the cache.
    (08ad3a6)
  • Proxy documentation matches measured behavior: the environment variables HTTPS_PROXY/ALL_PROXY apply
    to the FxTwitter fast lane and to update, but never to the nitter transport, which needs --proxy or
    config proxy. The help text previously implied they applied everywhere.
    (d9629ae)

Fixed

  • nitter update --check on large release pages: the response bound was 1 MiB, so a repository whose
    release list carries asset arrays (github.com/cli/cli returns ~4.7 MB per page) failed with
    decode response: unexpected EOF. The bound is now 32 MiB — still a bound, no longer reachable by a real
    page. (eb924c8)
  • update install-source detection on Windows: the executable path was resolved (symlinks and 8.3 short
    names) while the GOBIN/GOPATH entry was compared verbatim, so a go install binary could be
    misclassified as an archive install and be replaced by self-update. Both sides are now canonicalized.
    (0abcfce)

v0.7.1 — 2026-09-23

自替换安装、缓存式圈子成员档案,以及验证两者时发现的问题修复。

新增

  • nitter update 可安装新版本:显示版本对比后询问确认(--confirm 跳过询问;stdin 非终端时
    必须给出,因此绝不会阻塞管道;拒绝安装退出 0)。安装器只下载本平台归档,用发布的
    checksums.txt 校验 SHA-256,再校验暂存二进制报告的版本,全部通过后才替换可执行文件——
    任何校验失败都不会改动现有安装。go install 安装会被拒绝并给出对应的 go install 行而不做
    替换,避免后续安装静默抹掉更新。Windows 上旧二进制保留为 <name>.exe.old,由下次调用清理;
    Unix 上重命名是原子的,不留残留。update --check 仍为只读。
    (13f13b4)
  • 圈子成员档案(nitter circle refresh):成员元数据改存机器可读的侧写文件
    (~/.nitter-cli/profiles.toml),以小写 handle 为键,分为机器刷新的事实字段
    (name、bio、followers_count、fetched_at)与刷新永不覆盖的判断字段
    (role、note、noted_at)。circle refresh <NAME> 拉取每个成员的 profile 并合并事实字段;
    单个成员失败时 stderr 警告并继续,其原有事实保留不变。
    (#2)

变更

  • nitter update 不再只打印指引:不带 --check 时它执行检查并提供安装。--proxy/config.proxy
    现在对 update 的网络请求生效;两者都为空时会读取 HTTPS_PROXY/ALL_PROXY。
  • nitter download 报告输出目录:在 stderr 输出一行 note: writing to <dir>(解析后的绝对路径),
    时机在目录创建之后、写入任何文件之前。stdout、--json 与 --ndjson 不受影响。
    (7b5080a)
  • nitter circle show 改为纯本地:与缓存的侧写文件 join,零网络请求;因此 --min-followers
    改为过滤缓存的粉丝数,不再逐个成员拉取 profile。无缓存的成员保留行并以 - 占位,
    同时在 stderr 给出一条指向 circle refresh 的提示;--json 行新增 name、bio、fetched_at、
    role、note。先跑一次 nitter circle refresh <NAME> 填充缓存。
    (08ad3a6)
  • 代理文档与实测行为对齐:环境变量 HTTPS_PROXY/ALL_PROXY 对 FxTwitter 快车道与 update
    生效,但从不作用于 nitter 传输——后者需用 --proxy 或配置 proxy。此前帮助文本暗示它们
    对所有路径都有效。(d9629ae)

修复

  • nitter update --check 在大型发布页上失败:响应上限原为 1 MiB,因此发布列表携带
    assets[] 的仓库(github.com/cli/cli 单页约 4.7 MB)会报
    decode response: unexpected EOF。现上限为 32 MiB——仍有界,但真实页面不再触及。
    (eb924c8)
  • Windows 上 update 的安装来源判定:可执行文件路径被规范化(符号链接与 8.3 短名),
    而 GOBIN/GOPATH 条目仍按原样比较,导致 go install 装出的二进制可能被误判为归档安装,
    从而被自替换覆盖。现两侧统一规范化。
    (0abcfce)

Full Changelog: v0.7.0...v0.7.1