Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.
/ rustwasm-addon Public archive

🦀 + 🕸 + 🦊 // A web-extension to reverse a string. Yep.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

willdurand/rustwasm-addon

Repository files navigation

wasmrust-addon

A web-extension written with Rust, WebAssembly and so on. This project is based on the rust-webpack-template. I also took inspiration in the wonderful Rust and WebAssembly book. What does this extension do? Thanks for asking, it does one thing but it does it terribly well! It reverses what's typed into the input!

⚠️ There is a bug with wasm-bindgen > 0.2.34, make sure you have wasm-bindgen and wasm-bindgen-cli 0.2.34 installed. I am not actually sure how I did that but if you are a Rust user, you should be able to figure it out. Sorry.

Getting started

After having cloned the repository, install the dependencies:

$ npm i

Compile the project in dev mode (with watch mode enabled):

$ npm run dev

You can use web-ext to see the extension in action (with watch mode):

$ npm run web-ext-run

Building the extension

After having cloned the repository, install the dependencies:

$ npm i

Compile the project and generate both the extension and sources zip files. The dist-zip/ folder will contain both zip files and the dist/ folder will contain the compiled code of the extension:

$ npm run build:release

About

🦀 + 🕸 + 🦊 // A web-extension to reverse a string. Yep.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks