Installation
WebLayer's daemon and CLI are published on crates.io as the weblayer crate.
Prerequisites
- Rust and Cargo
- Chrome, Firefox, or another browser that can load development extensions
- Git, for loading the extension from the source repository
Install the Binary
Start the local daemon:
The daemon listens on 127.0.0.1:17891 by default.
In another terminal, check that the CLI can reach it:
Load the Browser Extension
The browser extension is currently loaded from the source repository.
For Chrome:
- Open
chrome://extensions. - Enable Developer mode.
- Choose Load unpacked.
- Select
browser-extension/dist/chromefrom the repository checkout.
For Firefox:
- Open
about:debugging. - Choose This Firefox.
- Choose Load Temporary Add-on.
- Select
browser-extension/dist/firefox/manifest.json.
After the extension is loaded, visit a supported site while the daemon is running.