A full-screen Discord client for Kindle e-ink devices (PW3, PW4, etc.).
DISCLAIMER: This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Discord Inc., Amazon.com, Inc., or any of their subsidiaries or affiliates. The name "Discord" is a registered trademark of Discord Inc. Use at your own risk.
Hey, if you wanna support me, here:
if not, Its ok, im happy just for you seeing this
- Full-screen native Discord client on Kindle e-ink
- Anti-aliased UI — Go TTF (Go Regular/Bold 18/20px via freetype) + rounded rectangles, not 8x8 bitmap
- Framebuffer direct — offscreen 8bpp buffer,
mmapwhen possible + bundledfbinkfor refresh (no KOReader required) - Touch navigation — tap guild → channel → messages, scroll arrows
- Double-press power button to exit cleanly (unfreeze awesome, re-enable pillow)
- Web login — paste Discord token via phone/PC on
http://<kindle-ip>:8080 - Single static Go binary — no Python, no pip
(Coming soon — contributions welcome!)
- Jailbroken Kindle (PW3, PW4, etc.)
- No extra dependencies —
fbinkARM binary is bundled inbin/fbink(KOReader optional) - Network — Kindle and phone/PC on same Wi-Fi
- Download
KindleCord.zipfrom Releases - Extract and copy to Kindle via USB:
cp -r KindleCord /mnt/us/extensions/ - Eject Kindle safely.
git clone https://github.com/victorbillyph/KindleCord
cd KindleCord
make build-arm # -> build/kindlecord-arm (ARM, Kindle)
make build # -> build/kindlecord (x64, PC sim)
Copy build/kindlecord-arm to Kindle as extensions/KindleCord/kindlecord:
cp build/kindlecord-arm /run/media/<Kindle>/extensions/KindleCord/kindlecord
cp bin/fbink /run/media/<Kindle>/extensions/KindleCord/bin/fbink
- Open KUAL on Kindle — tap KindleCord.
- Screen freezes, shows URL like
http://192.168.1.50:8080. - Open that URL on phone/PC, paste Discord token, tap Log in.
- Browse guilds →
Tapa server →Tapa#channelto read messages. - Scroll:
/\(top) and\/(bottom). TapExit/Backor double-press power.
- Open Discord in a browser (not desktop app)
Ctrl+Shift+I→ ConsolelocalStorage.getItem('token')- Copy value (
mfa_...orND...)
⚠️ Security: Token is stored atdata/token.txton Kindle and only sent todiscord.com/api/v10. Treat it like a password.
KindleCord/
├── cmd/kindlecord/main.go # App flow, navigation, event loop
├── internal/
│ ├── display/ # Display engine
│ │ ├── display.go # offscreen 8bpp buf + fbink/mmap + GC16
│ │ ├── font.go # legacy 8x8 bitmap
│ │ ├── font_aa.go # TTF AA (Go Regular/Bold, freetype 18/20px)
│ │ └── rounded.go # FillRoundRect AA
│ ├── input/ # evdev /dev/input/eventX + PowerWatcher
│ ├── discord/ # Discord REST v10 (correct auth, rate-limit)
│ ├── server/ # net/http token server
│ └── ui/ # Win95-style UI (Button/Label/TitleBar/Screens)
├── bin/
│ ├── fbink # bundled FBInk ARM (NiLuJe)
│ ├── start.sh # launcher (prefers Go, fallback Python)
│ └── stop.sh
├── kindlecord/ # legacy Python (fallback)
├── build/ # CI artifacts
├── .github/workflows/build.yml # CI: vet + x64 + ARM
├── data/ # runtime (token, config.example.json)
├── config.xml # KUAL metadata (v0.2.0)
├── menu.json
└── README.md
Offscreen 8bpp grayscale buffer (1448x1072 → 60 cols × 44 rows at 24px cells). All drawing (FillRect, FillRoundRect, DrawTextAA) writes to buffer with grayscale AA (freetype Go Regular 18px, Bold 20px, 96 DPI, FullHinting). On refresh, buffer is blitted to /dev/fb0 (mmap if available, else pwrite with stride handling) then fbink -q -s -f -W GC16 -w triggers e-ink GC16 update. No per-draw fork.
UI (AA TTF) → Display.buf (8bpp) → /dev/fb0 (mmap/pwrite) → fbink GC16 → EPDC
bin/fbink is checked first (extensions/KindleCord/bin/fbink), then koreader/fbink. Standalone — KOReader not required. display.go:findFbink() handles fallback.
Single-FD evdev reader (/dev/input/event1 → fallback event0) parses EV_ABS MT_POSITION_X/Y + EV_KEY BTN_TOUCH. PowerWatcher on event0 (non-blocking) detects double KEY_POWER/KEY_SLEEP within 500ms to exit.
internal/discord uses net/http + InsecureSkipVerify (Kindle CA outdated), correct Authorization (no Bot prefix for user tokens), Host header, 429 retry.
make build # x64 7-8M
make build-arm # ARM 7.4M Kindle (CGO_ENABLED=0 GOARCH=arm GOARM=7)
make test # go vet
GitHub Actions .github/workflows/build.yml (Go 1.25) builds both on push/tags/releases and uploads KindleCord.zip.
- White screen / top bar only — old mmap without fbink. Update to
v0.2.0+(fbink bundled). - Closes immediately — was
pkill -f kindlecordkillingkindlecord.sh; fixed tokillall+pkill -x. - Address already in use :8080 —
start.shnowkillall+fuser -k 8080/tcpbefore launch. - 401 Invalid token — token with quotes/spaces is trimmed; invalid is removed, tap
Exitto retry. - No fbink found — ensure
bin/fbinkischmod +x(start.sh does it).
| Component | Technology |
|---|---|
| Language | Go 1.25 static binary, -ldflags="-s -w" |
| Rendering | Offscreen 8bpp → /dev/fb0 + fbink GC16 |
| Font | Go Regular/Bold TTF 18/20px, freetype AA |
| UI | Rounded rects (r=8), AA text |
| Display | 1448×1072 landscape, 24px cells (60×44) |
| Touch | /dev/input/event1 evdev, single FD |
| Network | Discord REST v10, net/http :8080 |
| Bundle | bin/fbink ARM included |
- Read-only — reading messages, no send/reactions yet (API supports it)
- REST polling, no Gateway WebSocket
- Token via web (no on-device keyboard)
MIT © 2026
