Scripts2026年4月19日·1 分钟阅读

Nitter — Privacy-Focused Alternative Frontend for Twitter/X

Nitter is a free and open-source alternative frontend for Twitter (X) that provides a fast, private browsing experience with no JavaScript, ads, or tracking.

SC
Script Depot · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

git clone https://github.com/zedeus/nitter.git
cd nitter
docker compose up -d

Introduction

Nitter lets you browse Twitter/X profiles, tweets, and threads without JavaScript, tracking pixels, or login requirements. It is designed for users who want to read public Twitter content without exposing their browsing activity to the platform.

What Nitter Does

  • Renders Twitter/X profiles, timelines, and threads as static HTML pages
  • Strips all tracking scripts, ads, and analytics from the content
  • Provides RSS feeds for any public Twitter account or search query
  • Works without JavaScript so it loads fast even on low-power devices
  • Requires no Twitter account to browse public content

Architecture Overview

Nitter is written in Nim and compiles to a single binary. It fetches data from Twitter's internal API endpoints, transforms the JSON responses into server-rendered HTML pages, and serves them through an embedded HTTP server. A Redis instance caches API responses to reduce upstream requests.

Self-Hosting & Configuration

  • Build from source with Nim or run the provided Docker image
  • Configure a Redis instance for caching API responses
  • Set rate-limiting parameters to stay within API constraints
  • Customize the instance name, theme, and default preferences in the config file
  • Deploy behind a reverse proxy for TLS and custom domain support

Key Features

  • No JavaScript required, resulting in fast page loads and low bandwidth usage
  • RSS feed generation for any public account, search, or hashtag
  • Responsive design that works well on mobile browsers
  • Themeable interface with light and dark modes
  • Replaces Twitter links with Nitter links via browser extensions

Comparison with Similar Tools

  • Twitter/X (official) — requires JavaScript, login, and serves ads; Nitter strips all of that
  • Invidious — similar concept but for YouTube; Nitter is the Twitter equivalent
  • Bibliogram — was the Instagram equivalent but is now discontinued
  • Fritter — mobile app for Twitter without an account; Nitter is web-based and self-hosted
  • Mastodon — a separate social network, not a Twitter frontend

FAQ

Q: Do I need a Twitter account to use Nitter? A: No, Nitter accesses public data without authentication on the reader side.

Q: Does Nitter support posting or replying? A: No, Nitter is a read-only frontend. It does not support any write operations.

Q: Why do some instances go down periodically? A: Twitter frequently changes its internal API, which can temporarily break data fetching until Nitter is updated.

Q: Can I generate RSS feeds with Nitter? A: Yes, append /rss to any user profile or search URL to get a valid RSS feed.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产