This is a demo application for the Haskell zxcvbn-hs password strength estimation package. More information about zxcvbn and the Haskell implementation can be found at this repository.
To play with this demo you need to:
- Either use the Docker image or build from source
- Start the service
- Go to http://localhost:12345/
If you have Docker installed, using the Docker image is super simple:
$ docker run -p 127.0.0.1:12345:12345/tcp sthenauth/zxcvbn-ws
That will download the image and start the web server. Now just play with it at http://localhost:12345/.
If you have an existing Haskell toolchain installed then you can use
cabal install
. Otherwise keep reading.
-
Install Nix which is pretty simple and straight forward.
-
Open a new terminal and run the following command in the directory containing this file:
$ nix-build
-
Wait for everything to build.
-
Start the web server:
$ zxcvbn_ws_datadir=$(pwd) ./result/bin/zxcvbn-ws
You can change the port that zxcvbn-ws
uses by setting the
ZXCVBN_PORT
environment variable.