Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Native messenger for Tridactyl, a vim-like web-extension.

License

Notifications You must be signed in to change notification settings

thoughtpatterns/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

Three options:

  • Run :nativeinstall in Tridactyl and follow the instructions.
  • Download and run installers/install.sh, or installers/windows.ps1 for Windows, from this repository.
  • Clone the repository and build it locally, then run ./installers/install.sh local.

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

Native messenger for Tridactyl, a vim-like web-extension.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nim 63.1%
  • PowerShell 17.4%
  • Shell 14.9%
  • Python 4.6%