This small application allows Tridactyl to communicate with your system, allowing Tridactyl to:
- read files on your computer, including "RC" configuration files
- write files to your computer
- launch applications, including opening
about:*
tabs in Firefox - and generally do arbitrary stuff in userspace.
It therefore greatly increases the amount of damage bugs in Tridactyl can do to your machine, although, arguably, not to your life, since almost all of that is on the internet anyway.
Three options:
- Run
:nativeinstall
in Tridactyl and follow the instructions. - Download and run
installers/install.sh
, orinstallers/windows.ps1
for Windows, from this repository. - Clone the repository and build it locally, then run
./installers/install.sh local
.
- Install nim and nimble.
nimble build
DIY testing:
./gen_native_message.py cmd..getconfigpath | ./native_main | cut -b4- | jq 'walk( if type == "object" then with_entries(select(.value != null)) else . end)'
Swap native_main
for the old native_main.py
messenger to check compat.