← TIANMU LABS
C:\TIANMU\XCHAN> install xchan.user.js

Xchan

[ The 4chan Experience on X ]

Country flags, post IDs, greentext, (You), anon mode, Yotsuba B — all of it

ᚅᚢᚧ[DUBS DETECTED]ᚩᚱᚷANON MODE: AVAILABLE᚟ᚸᚨCHECK EMᚡᚫᚰYOTSUBA B: LOADEDᚲᚦᚴ[196 COUNTRIES MAPPED]ᚵᚤᚩGREENTEXT ENABLEDᚅᚢᚧ[DUBS DETECTED]ᚩᚱᚷANON MODE: AVAILABLE᚟ᚸᚨCHECK EMᚡᚫᚰYOTSUBA B: LOADEDᚲᚦᚴ[196 COUNTRIES MAPPED]ᚵᚤᚩGREENTEXT ENABLED
Open Source Userscript — Tampermonkey / Greasemonkey

What Is This?

Xchan is a userscript that turns X (formerly Twitter) into something resembling a 4chan imageboard. Every tweet gets a country flag and a post number. Repeating digits are celebrated. Lines starting with > turn green. Replies to you get marked (You). Toggle anonymous mode and every poster becomes Anonymous with a gray avatar. Turn on Yotsuba B and the whole feed goes blue.

It uses X's own internal API to look up where each poster is from, adapts its request rate to stay within limits, and caches everything locally for 14 days. One file, no dependencies, no build step.

Preview

Anonymous 03/04/26(Tue)01:33:07 No.4829344 🇧🇷 (You)
>be me
>install xchan
this changes everything
Anonymous 03/04/26(Tue)01:34:12 No.48293555 🇯🇵
checked
◆ ——— ◇ ——— ◆
╠═════════════════════════╣

Features

COUNTRY FLAGS

Auto-fetches each poster's country. 196 countries + regions mapped to flag emoji with country name tooltip.

POST IDs + DIGITS

4chan-style post numbers. Dubs, trips, quads, quints, sexts, and GOD-tier repeating digits — color-coded and celebrated.

GREENTEXT

Lines starting with > render in classic #789922 green. It just works.

(YOU) MARKERS

Red "(You)" tag appears when someone replies to or quotes your tweets. Never miss a callout.

ANONYMOUS MODE

All names become "Anonymous." Avatars become gray circles with "?". Pure imageboard energy.

YOTSUBA B THEME

Classic blue Yotsuba B color scheme applied to the feed. Posts get bordered, names go green, metas go navy.

ADAPTIVE RATE LIMIT

Reads X's rate-limit headers live. Auto-paces to use ~50% of budget. Emergency brake at 10 remaining.

14-DAY CACHE

Flag lookups cached in localStorage. Up to 10,000 entries. Auto-evicts oldest. Survives page reloads.

How to Install

1. Install Tampermonkey (Chrome/Firefox/Edge/Safari)
2. Click the install button above, or create a new script and paste the source
3. Visit X. The /4ch/ button appears in the bottom-right corner
4. Toggle Anon Mode and Yotsuba B from the settings panel

[ Source Code ]

FILE: xchan.user.js
VERSION: 5.0
SIZE: ~28 KB
DEPS: NONE
BUILD: NONE
LICENSE: OPEN SOURCE

VIEW RAW SOURCE >>