On my computer, I use linux (ubuntu) with bspwm, a window manager. In short, a window manager is a program that completely changes the way windows work. In this case, bspwm offers you multiple desktops and arranges windows following a binary space partitioning method. On top of that, the window manager offers a wide variety of shortcuts to control windows without having to use the mouse. Since it can be hard to learn all the shortcuts, I decided to make a program that displays all the shortcuts that bspwm uses. Since they're all just stored in a config file, I simply read that file and output a formatted string containing each keybinding, which can then be used by a program such as rofi, which displays a menu on the screen containing the keybindings.
A preview of SxhkdRofi