kbt 2.0.2

Keyboard tester in terminal
kbt-2.0.2 is not a library.

kbt-gif

Motivation

I got tired with semi-broken online keyboard testers, so here we go – one on a solid platform – terminal.

Features

  • Captures key presses directly from X server
  • Multiple keyboard layouts
  • Interactive menu
  • Linux, MacOS support

Limitations

  • Wayland is not supported

Installation

AUR

paru -S kbt

Cargo

cargo install kbt

note: Default location of the installed binary is $HOME/.cargo/bin

Homebrew

brew tap bloznelis/tap
brew install kbt

note: During the first run you might need to grant Accessibility access.

Prebuilt binaries

You can grab built binary from the latest release (only linux-x86_64)

Building from source

  1. make build
  2. cp target/release/kbt /usr/local/bin/

Prerequisites

  • rust

Acknowledgments

Built with ratatui