Description
Blink.jl is a Julia wrapper around Electron. It serves HTML content in a local window and lets Julia and the web page communicate, so you can build desktop applications with HTML interfaces. Basic use is to install the package and open a window that shows your content. The window options follow Electron's API, and you can also use the JavaScript API to interact with the window. The README shows how to open the Electron developer console and run code from there. Known issues include that on Windows the spawned process writes its output into Julia's standard output. On a headless Linux machine, such as a CI runner, Julia must be started with xvfb-run. The troubleshooting section covers connection refused messages, which usually mean Electron failed to start because of missing shared libraries or no display server. It explains how to locate the Electron executable and test it on its own. The source is public on GitHub under the JuliaGizmos organization.…
Highlights
- Julia wrapper around Electron
- Serves HTML UI in a local window
- Two-way communication between Julia and the page
- Electron window options from Julia
- Troubleshooting notes for Linux and Windows
Ratings & Reviews
No ratings yet
Be the first to rate Blink.jl.
People also visit
Miniblink49
a lighter, faster browser kernel of blink to integrate HTML UI in your app
Blink.jl FAQ
What is Blink.jl?
A Julia package that wraps Electron, so you can build GUIs for Julia using HTML content.
Who is it for?
Julia developers who want a desktop window with web-based interface code and two-way communication.
What is the xvfb-run note about?
On headless Linux, such as CI, Julia must be started with xvfb-run so Electron has a display to use.
Why does a connection refused error appear?
Usually Electron failed to start, because of missing shared libraries or no display server. The troubleshooting section explains how to test Electron on its own.
What are the best Blink.jl alternatives?
Popular alternatives to Blink.jl include Blink, Miniblink49 and Jupyterlab Desktop. See all Blink.jl alternatives

