You are reading content from Scuttlebutt
@SoapDog %b7W5qh7WaE+6b/DiSmGeU3cTjZ9MJ+Wt0O+rbam+1vU=.sha256
Re: %OrZtPhIz2

@substack I have added my current work-in-progress stuff to the patchfox repo on my github. The files that are interesting for your case with #patchfoo are:

  • manifest.json which asks for native messaging permission.
  • background.js which establishes a connection to a native host app built with NodeJS. This file is run when the application is installed or the browser is launched afterwards.
  • host-app.js is the native app built with NodeJS, it starts Scuttlebutt using a childprocess from a file called server.js because native messaging uses the standard i/o and the amount of data coming out of scuttlebutt was making the browser confused and it would disconnect from the background app.

There are some gotchas regarding manifest and registry entries (in case you're on windows), the scripts folders contains some scripts to check the configuration files and set them up if needed on both UNIX-like environments and on Windows 10.

Join Scuttlebutt now