You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tg auth login-qr renders the QR code with qrcode-terminal 0.12.0, which has not had a release in years. Replace it with a maintained library (or a small renderer on top of a maintained QR encoder) and keep the output readable in common terminals.
Activity
neoromantic commentedon Oct 21, 2026
Checked on 2026-10-21:
qrcode-terminal0.12.0 was last released in March 2018. Candidates:uqr(unjs, the same family as citty): about 79 KB, no dependencies, and it has a compact Unicode renderer. This is the one I'd pick.lean-qr: about 69 KB, no dependencies, very active.qrcode: avoid, it pulls in yargs, pngjs and dijkstrajs.While at it, print the QR code to stderr (see #2) and drop
src/types/qrcode-terminal.d.ts.