Website showing the current date in the French Republican calendar, along with the current decimal time.
While this project is written entirely in JavaScript, it uses my Rust library for date calculations. This library needs to be compiled only once.
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Install the WebAssembly target
rustup target add wasm32-unknown-unknown
# Install wasm-pack
cargo install wasm-pack
# Build the library
wasm-pack build --target webYou just need to run a local web server in ./static. For example, using Python:
cd static
python3 -m http.serverThere are symlinks in the static folder that point to the compiled files in ./wrapper/pkg.
Your web server must support serving symlinks (just use python).