Slinky is a browser extension that analyses links on webpages (link checking, counting, validation, ...) using WebAssembly (Rust).
The end use case is to compare a newsletter preview to the spec of expected links. Future features include :
- checking for duplicate links
- checking for missing links
- checking for broken links.
wasm-pack build --target web --out-dir slinky-extension/pkg
Load the extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode"
- Click "Load unpacked"
- Select the
slinky-extension
directory
src/lib.rs
- Rust code that implements the link gathering functionalityslinky-extension/
- Chrome extension filesmanifest.json
- Extension configurationcontent.js
- Content script that loads and runs the WASM module