zedeus / nitter
zedeus / nitter
Nitter Note On 24 August 2026, cease and desist letters were sent by X Corp. demanding a permanent takedown of Nitter instances and the project’s repository. A free and open source alternative Twitter front-end focused on privacy and performance. Inspired by the Invidious project.
Nitter 说明 2026 年 8 月 24 日,X Corp. 发送了停止侵权函(cease and desist letters),要求永久下架 Nitter 实例及该项目的代码仓库。Nitter 是一个专注于隐私和性能的免费开源 Twitter 前端替代品,灵感来源于 Invidious 项目。
Features
- No JavaScript or ads
- All requests go through the backend, client never talks to Twitter
- Prevents Twitter from tracking your IP or JavaScript fingerprint
- Uses Twitter’s unofficial API (no developer account required)
- Lightweight (for @nim_lang, 60KB vs 784KB from twitter.com)
- RSS feeds
- Themes
- Mobile support (responsive design)
- AGPLv3 licensed, no proprietary instances permitted
功能特性
- 无 JavaScript 或广告
- 所有请求均通过后端处理,客户端从不直接与 Twitter 通信
- 防止 Twitter 追踪您的 IP 地址或 JavaScript 指纹
- 使用 Twitter 非官方 API(无需开发者账号)
- 轻量化(以 @nim_lang 为例,仅 60KB,而 twitter.com 为 784KB)
- RSS 订阅源
- 主题支持
- 移动端支持(响应式设计)
- 采用 AGPLv3 协议,禁止私有化实例
Why? It’s impossible to use Twitter without JavaScript enabled, and as of 2024 you need to sign up. For privacy-minded folks, preventing JavaScript analytics and IP-based tracking is important, but apart from using a VPN and uBlock/uMatrix, it’s impossible. Despite being behind a VPN and using heavy-duty adblockers, you can get accurately tracked with your browser’s fingerprint, no JavaScript required. This all became particularly important after Twitter removed the ability for users to control whether their data gets sent to advertisers. Using an instance of Nitter (hosted on a VPS for example), you can browse Twitter without JavaScript while retaining your privacy. In addition to respecting your privacy, Nitter is on average around 15 times lighter than Twitter, and in most cases serves pages faster (eg. timelines load 2-4x faster).
为什么选择 Nitter? 在不启用 JavaScript 的情况下使用 Twitter 是不可能的,而且从 2024 年起,必须注册账号才能使用。对于注重隐私的用户来说,防止 JavaScript 分析和基于 IP 的追踪至关重要,但除了使用 VPN 和 uBlock/uMatrix 外,这几乎无法实现。即便使用了 VPN 和强力广告拦截器,浏览器指纹仍能在无需 JavaScript 的情况下对用户进行精准追踪。在 Twitter 取消用户控制数据是否发送给广告商的功能后,这一点尤为重要。通过使用 Nitter 实例(例如托管在 VPS 上),您可以在不运行 JavaScript 的情况下浏览 Twitter,同时保护您的隐私。除了尊重隐私外,Nitter 的体积平均比 Twitter 轻约 15 倍,且在大多数情况下页面加载速度更快(例如时间线加载速度快 2-4 倍)。
Installation Dependencies: libpcre, libsass, redis/valkey. To compile Nitter you need a Nim installation, see nim-lang.org for details. It is possible to install it system-wide or in the user directory you create below. To compile the scss files, you need to install libsass. On Ubuntu and Debian, you can use libsass-dev. Redis is required for caching and in the future for account info. As of 2024 Redis is no longer open source, so using the fork Valkey is recommended.
安装 依赖项: libpcre, libsass, redis/valkey。 编译 Nitter 需要安装 Nim,详情请参阅 nim-lang.org。您可以选择将其安装在系统全局,或安装在下文创建的用户目录下。要编译 scss 文件,需要安装 libsass。在 Ubuntu 和 Debian 上,可以使用 libsass-dev。Redis 用于缓存及未来的账户信息存储。由于 Redis 自 2024 年起不再开源,建议使用其分支版本 Valkey。
Docker Page for the Docker image: https://hub.docker.com/r/zedeus/nitter NOTE: The published image is multi-arch — zedeus/nitter:latest runs natively on both amd64 and arm64. To run Nitter with Docker, you’ll need to install and run Redis separately before you can run the container.
Docker Docker 镜像页面:https://hub.docker.com/r/zedeus/nitter 注意:发布的镜像支持多架构——zedeus/nitter:latest 可在 amd64 和 arm64 上原生运行。要使用 Docker 运行 Nitter,您需要在运行容器之前单独安装并启动 Redis。