Files
jonas 0cad77fb39
Build docker images. / build-wordle-solver-image (push) Successful in 55s
Build docker images. / build-wordle-solver-web-image (push) Successful in 8m44s
docs: add readme
2026-09-10 16:27:27 +02:00

61 lines
894 B
Markdown

# Wordle Solver
This wordle solver uses an information theory based approach to evaluate the next-best-guess. It's heavily inspired by [3b1b's approach](https://www.youtube.com/watch?v=v68zYyaEmEA) on solving wordle.
There are two ways to use the wordle-solver.
1. a CLI tool
2. a web interface
# Docker
#### CLI
```sh
docker run --rm -it git.jroeger.de/jonas/wordle-solver-rs
```
#### web
``` sh
docker run -p 8080:80 --rm -it git.jroeger.de/jonas/wordle-solver-rs-web
```
# Nix
#### CLI
``` sh
nix run .
```
#### Static web site
``` sh
nix build git+http://git.jroeger.de/jonas/wordle-solver-rs#wordle-solver-web
```
# Native
#### CLI
you will need to have `cargo` installed.
```sh
cargo run --profile release
```
#### web
you need the following tools:
- `wasm-pack`
- `wasm-bindgen`
- `cargo`
- `nodejs`
- `yarn`
``` sh
cd web
yarn install
yarn serve # or yarn build
```