zedeus/nitter hiện có 13.5k sao trên GitHub, viết chủ yếu bằng Nim. Alternative Twitter front-end
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
[!NOTE]
Running a Nitter instance now requires real accounts, since Twitter removed the previous methods.
This does not affect users.
For instructions on how to obtain session tokens, see Creating session tokens.
A free and open source alternative Twitter front-end focused on privacy and
performance.
Inspired by the Invidious project.
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
The wiki contains
a list of instances and
browser extensions
maintained by the community.
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).
In the future a simple account system will be added that lets you follow Twitter
users, allowing you to have a clean chronological timeline without needing a
Twitter account.
Screenshot
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. It
should be available on most distros as redis or redis-server
(Ubuntu/Debian), or valkey/valkey-server. Running it with the default
config is fine, Nitter's default config is set to use the default port and
localhost.
Here's how to create a nitter user, clone the repo, and build the project
along with the scss and md files.
Set your hostname, port, HMAC key, https (must be correct for cookies), and
Redis info in nitter.conf. To run Redis, either run
redis-server --daemonize yes, or systemctl enable --now redis (or
redis-server depending on the distro). Run Nitter by executing ./nitter or
using the systemd service below. You should run Nitter behind a reverse proxy
such as Nginx or
Apache for security and
performance reasons.
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. See below for how to also run Redis using
Docker.
First create your config file. The Docker commands mount it into the container,
so it has to exist on the host beforehand. If you've cloned the repo:
cp nitter.example.conf nitter.conf
If you're using the prebuilt image without a local clone, download
nitter.example.conf
and save it as nitter.conf instead.
docker run -v $(pwd)/nitter.conf:/src/nitter.conf -d --network host zedeus/nitter:latest
Using docker-compose to run both Nitter and Redis as different containers:
Change redisHost from localhost to nitter-redis in nitter.conf, then run:
docker-compose up -d
Note the Docker commands mount nitter.conf (and sessions.jsonl for
docker-compose) from the directory you run them in. If a mounted file doesn't
exist, Docker silently creates a directory in its place and the container fails
with not a directory: Are you trying to mount a directory onto a file. Remove
that directory and create the file as shown above.
systemd
To run Nitter via systemd you can use this service file:
[Unit]
Description=Nitter (An alternative Twitter front-end)
After=syslog.target
After=network.target
[Service]
Type=simple
# set user and group
User=nitter
Group=nitter
# configure location
WorkingDirectory=/home/nitter/nitter
ExecStart=/home/nitter/nitter/nitter
Restart=always
RestartSec=15
[Install]
WantedBy=multi-user.target
Then enable and run the service:
systemctl enable --now nitter.service
Logging
Nitter currently prints some errors to stdout, and there is no real logging
implemented. If you're running Nitter with systemd, you can check stdout like
this: journalctl -u nitter.service (add --follow to see just the last 15
lines). If you're running the Docker image, you can do this:
docker logs --follow *nitter container id*
Contact
Feel free to join our Matrix channel.
You can email me at [email protected] if you wish to contact me personally.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/zedeus/nitter là nguồn chính thức.
zedeus/nitter có bao nhiêu sao?
zedeus/nitter có 13.5k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/zedeus/nitter. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
zedeus/nitter có những chủ đề gì?
GitHub topics của zedeus/nitter: "nim", "privacy", "self-hosted", "twitter", "x". TopGit xếp repo vào nhóm mã nguồn mở.
zedeus/nitter có phải mã nguồn mở không?
Có — zedeus/nitter phát hành theo license AGPL-3.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/zedeus/nitter.
zedeus/nitter có trang demo không?
Dự án có trang chủ ở https://nitter.net. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
zedeus/nitter còn đang phát triển không?
Commit gần nhất trên zedeus/nitter là 2 ngày trước (theo timestamp GitHub). Repo có 753 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về nitter?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về nitter.