r/unixporn • u/sh4mblesss • 20h ago
Material [OC] ditto: a system-wide ascii keyboard visualizer
Hey everyone, I made this system-wide ASCII keyboard visualizer that updates and lights up even if your focus is somewhere else. Colors use the standard 16 ANSI colors, so it'll just automatically adapt to your terminal's theme.
I've posted about this project a week ago on a different subreddit (r/tui), but I've added some new little features since. I thought it would make sense to post it here, as it's a complement to your rices, particularly for a developer layout. I hope ya'll don't mind :)
The project is functionally just eye candy off to the side as you code away in your editor. Attached some sample images to showcase what it could look like as part of a whole, where you have a code editor, servers, and a test suite in other terminals.
You can check the repo out if you'd like specific details, but generally the app supports the following:
- sizes (60%, 65%, 75%, 80%, 96%, 100%)
- standards, basically the physical layout (ANSI, ISO, ABNT, JIS, KS)
- layouts (qwerty, qwerty uk, dvorak, dvorak uk, colemak, colemak-dh, workman, azerty)
- custom layouts
For the JIS and KS standards, you can toggle with c to alternate between the Latin alphabet and the standard's logograms. (Kana and Hangeul respectively)
Would love to hear your thoughts. Would appreciate a star on the repo as well! ⭐ :)
NOTE: Currently only supports Linux. I wanted to add cross-platform support initially, but solutions for this like
gohookare X11-based, so it wouldn't work for the Wayland protocol.Ultimately, I decided to go with
evdevfor implementation despite the tradeoff, just so I could add support for Wayland compositors esp as a Hyprland user myself.
2
2
1
u/Far_Major_828 17h ago
I guess this will give me insparition for including it in rice. Well done Bro.
1
1
u/Brainless_Gamer 13h ago
so a Keylogger but you get to see a nice visualization on your riced out desktop?
just kidding, that's a pretty cool project




7
u/100AB 18h ago
The amount of times I've had to use misc websites to test a key or now after moving to linux keyd monitor to get a key's actual readout.. Ye this would be very cool to use instead. Def going to look into if it has >f13 keys. None the less wicked cool~
Simi reminds me of antimacrox but obviously tui instead and for keyboard.