Skip to content

SolitudeSF/native_messenger

 
 

Repository files navigation


Tridactyl Native Logo
Tridactyl native messenger

What does it do?

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.

Installation

Two options: run :nativeinstall in Tridactyl and follow the instructions. Otherwise download and run installers/install.sh, or installers/windows.ps1 for Windows, from this repository

Building

  1. Install nim and nimble.
  2. nimble build

Testing

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.

About

WIP native messenger for Tridactyl, a vim-like web-extension.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Nim 62.2%
  • PowerShell 17.9%
  • Shell 15.2%
  • Python 4.7%