A Discord Client for Kindle
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
mmap when possible + bundled fbink for refresh (no KOReader required)http://<kindle-ip>:8080(Coming soon — contributions welcome!)
fbink ARM binary is bundled in bin/fbink (KOReader optional)KindleCord.zip from Releasescp -r KindleCord /mnt/us/extensions/
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
http://192.168.1.50:8080.Tap a server → Tap a #channel to read messages./\ (top) and \/ (bottom). Tap Exit/Back or double-press power.Ctrl+Shift+I → ConsolelocalStorage.getItem('token')mfa_... or ND...)⚠️ Security: Token is stored at
data/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.
v0.2.0+ (fbink bundled).pkill -f kindlecord killing kindlecord.sh; fixed to killall+pkill -x.start.sh now killall+fuser -k 8080/tcp before launch.Exit to retry.bin/fbink is chmod +x (start.sh does it).| Component | Technology |
|---|---|
| Language | Go 1.25 |
[READ ME] Read if you have a display or redering Problem
https://github.com/victorbillyph/KindleCord/issues/3
Labels: 없음
Screen frozen on Paperwhite 12, 19.2 , Jailbroken via vera. It does not show any popups
https://github.com/victorbillyph/KindleCord/issues/2
Labels: 없음
Kindle Paperwhite 11 (PW5) on v5.19.2 crashes
https://github.com/victorbillyph/KindleCord/issues/1
Labels: enhancement, help wanted, good first issue
No CONTRIBUTING document was found. Please check the README and open issues.