This is a work in progress
A Chrome extension to enhance the Advanzia Bank Gebuehrenfrei Transaction UI using Rust and Typescript.
In ./crate you will find the Rust code that compiles to target wasm32-unknown-unknown
.
In ./extension you will find the chrome extension code that uses the wasm binary produced by the Rust code in ./crate.
In ./proxy you will find a binary rust crate that creates a mitm proxy using hudsucker for the advanzia transactions api.
The compiled wasm binary and the relevant parts of ./extension are packed in a dist
directory in the root of the repository when you execute build.sh
. This dist directory is the artifact that will be uploaded to the Chrome Web Store and which you can load as an unpacked extension into your local Chrome.
- Ensure you have rust and cargo installed
- Ensure you have node and npm installed
- Checkout this repository
cd extension/ && npm i
cd .. && ./build.sh
- Load the
dist
directory that is now present in the repository root into Chrome as an unpacked extension
To run the tests, execute ./test.sh
. The tests in ./extension require the existence of the compiled wasm in dist
, so you will need to have executed ./build.sh
before executing ./test.sh
.