The following command will install the scripts on the local user bin folder.
$ ./install.sh
$ source ~/.bashrcCreate local proxy running with HTTPS on a self-signed certificate and redirect all requests to another URL. Used for testing things that require HTTP such as Webauthn.
usage: ssl-proxy [-h] port target
$ usage: ssl-proxy [-h] 8080 http://localhost:5173Creates local server serving exclusivelly https on https://localhost:8080 that redirects all requests to http://localhost:5173
Create a local proxy that adds a configurable delay before sending the requests to the backend. Used for visualizing loading components on a local project (as local servers tend to load very fast).
usage: delay-proxy [-h] [-d DELAY] [-j] port target
delay-proxy -d 1000 8080 http://localhost:5173Creates a local server serving on port 8080 that redirects all requests to http://localhost:5173 after a 1 second (1000 ms) delay.
You can add the flag -j to add jitter and make the delay random by up to 30% of the configured delay. This is used to mimic real scenario where some requests load faster than others.