Keyt is a lightweight terminal-based keyboard tester built with FTXUI. It uses evtest to detect keypresses and provides a simple interactive TUI to visualize your keyboard layout in real time.
output.mp4
Follow these steps to clone, set up, and run Keyt:
git clone https://github.com/niru124/keyt
cd keyt
chmod +x runi.sh
./runi.shMake sure you have the necessary permissions to run
evtest. You may need to run the script withsudodepending on your system.
- Select your keyboard input device via a TUI
- Visualize your keypresses in real time
- Works with various keyboard layouts
- Built with the modern and beautiful FTXUI
-
Run the app:
sudo ./runi.sh -
Select a keyboard layout: Navigate the TUI and choose your keyboard device from the list.
-
Confirm your choice: Press
Ctrl+Conce the correct device is selected. -
Start typing: Begin pressing keys to see them detected and visualized in the TUI. Keyt uses
evtestunder the hood for accurate key event tracking.
- Linux system
evtest(usually preinstalled or available via your package manager)- C++ compiler
- FTXUI
If you're modifying or building from source, make sure FTXUI and any dependencies are available on your system. The project uses runi.sh to handle the runtime setup and execution.
This tool uses evtest, which require root privileges.