#chrome #pipe #process #proc #js #window #binding


A library to create desktop apps using rust and modern web technologies

14 releases

0.5.4 Feb 25, 2022
0.5.3 Apr 1, 2021
0.5.2 Mar 21, 2021
0.4.0 Nov 26, 2020
0.1.7 Jun 30, 2020
Download history 45/week @ 2023-07-30 19/week @ 2023-08-06 35/week @ 2023-08-13 119/week @ 2023-08-20 111/week @ 2023-08-27 41/week @ 2023-09-03 15/week @ 2023-09-10 37/week @ 2023-09-17 7/week @ 2023-09-24 39/week @ 2023-10-01 41/week @ 2023-10-08 22/week @ 2023-10-15 59/week @ 2023-10-22 58/week @ 2023-10-29 21/week @ 2023-11-05 32/week @ 2023-11-12

173 downloads per month


1.5K SLoC


Build Status Crates.io

A small library to build desktop apps using Rust and modern web technologies. It uses Chrom(e/ium) or similar browsers like MS Edge (new) for UI. It does not bundle Chrome but instead communicates with the existing Chrome installation. Thus Rust functions can be called from the UI and JavaScript can be called from Rust.


Alcro works similarily to the go library lorca so the name alcro is an anagram of lorca. However it uses pipes unlike lorca which uses a websocket.






  • Small applications
  • Use web technologies for UI and use safe and fast rust code.
  • Can control and get position, size and state of window
  • Expose rust functions to Javascript
  • Call any JS code from rust
  • Exposed rust functions are executed in a new thread and can be called asynchronously
  • Load HTML from url, local file or even embedded files
  • JS console messages and exceptions are printed for easier debugging
  • Can run in headless mode
  • Supports running many windows (Currently each window should have a different user data directory)


  • Requires Chrom(e/ium) to be installed
  • Native systray, etc. needs third party crates

How it works

Alcro uses the Chrome DevTools protocol and communicates with it via a pipe.


~193K SLoC