I’ve replaced this electron-based approach with a Tauri-based one in russmatney/clove.
Discussed here:
Clover is a Clojurescript-based “Overlay” tool, intended to support transparent web overlays while streaming to Twitch.
Initially implemented to support a floating transparent webview.
To build the node-script:
yarn install # yin
shadow-cljs watch cli
This builds a clover.js
in the root of the directory, which can then be
passed to electron via:
yarn run electron clover.js <url> <app-title>
<url>
the page to load from electron.
<app-title>
will be set in the title as clover/<app-title>
, which can be
used as a hook from your window manager.
cider-jack-in-cljs
and select :cli
as the build to get things started.
Alternatively, run shadow-cljs watch cli
, and connect from your editor.
Once there is a build, you can run yrun clover <some-title> <some-url>
on the
command line to start up a JS runtime, which is required before you can start
evaluating commands.