-
git clone --recurse-submodules --shallow-submodules https://github.com/wrycode/vtt.git
-
Install development and runtime dependencies for the main code: CMake, GCC, Catch2, ICU, just, Gstreamer, probably a few more I've forgotten
-
Install dependencies for the Cloud Speech-to-Text API C++ Client Library: https://github.com/googleapis/google-cloud-cpp/blob/main/doc/packaging.md#required-libraries
On Arch Linux, all the dependencies can be installed with:
sudo pacman -S cmake abseil-cpp grpc curl nlohmann-json just icu catch2- manually install google-crc32c from the AUR
- Run
justto build and compile
Keys are typed using the uinput kernel interface, exposed in /dev/uinput. The program needs to have permissions to write to /dev/uinput. The easiest way is to chmod /dev/uinput, but there is probably a smarter way with udev.
For languages other than English, you must have IBus. It may be enabled/installed already. You can test if it is installed by typing Ctrl+Shift+U (then release), then 2+7+0+5. You should see: ✅