Skip to content

Instantly share code, notes, and snippets.

@jcc10
Last active March 30, 2021 08:43
Show Gist options
  • Save jcc10/039ffac33621f7902840e5705cba901e to your computer and use it in GitHub Desktop.
Save jcc10/039ffac33621f7902840e5705cba901e to your computer and use it in GitHub Desktop.
Deno Plugin Research

Currently listed plugins:

  • webview - Webview is a tiny cross-platform library to render web-based GUIs for desktop applications.
  • puppeteer - A fork of Puppeteer running on Deno. (Controlling a GUIless web browser through deno.)
  • autopilot - Cross-platform desktop automation library for Deno.

autopilot

Cross-platform desktop automation framework for Deno.

Plugin Requirements

Help needed

Needs to access OS features to control mouse, imput keystrokes, take screenshots, etc.

Node Equivelant

Unknown.

Plugin-less workaround

Windows only: Controlling Auto-Hotkey scripts using deno.

https://deno.land/x/autopilot@0.2.1

puppeteer

A fork of Puppeteer running on Deno.

Puppeteer is a library which provides a high-level API to control Chrome, Chromium, or Firefox Nightly over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium.

Plugin Requirements

Help needed

Presumably to run the code to bind chrome / firefox to deno.

Node Equivelant

Puppeteer (this version is only a minor fork from the original primarily with compatibility patches.)

Plugin-less workaround

Command Line opening of a browser with remote debugging(?)

https://deno.land/x/puppeteer@5.5.1

webview

Webview is a tiny cross-platform library to render web-based GUIs for desktop applications.

Plugin Requirements

deno bindings for webview using the webview_rust library. (Code ReUse)

Node Equivelant

Electron (webview is smaller in size when distributed)

Plugin-less workaround

Command Line opening of a browser(?)

https://deno.land/x/webview@0.5.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment