A word puzzle site and helper.
twortle is a web-based application designed to help users solve word puzzles and play word games. It provides tools for searching word patterns, playing games, and drawing puzzle patterns, all powered by a Go backend and a SQLite database.
To build and run this application locally, you will need:
-
Go 1.25 or higher.
-
GCC and musl-dev (or equivalent C build tools) for CGO support, as the project uses
go-sqlite3. -
Podman or Docker (optional, if you prefer running via containers).
If you just want to run the application using the pre-built image from Quay.io:
podman run -d -p 3000:3000 quay.io/cmbsolver/twortle
(Or use
dockerif preferred). The application will be accessible athttp://localhost:3000.The project includes a
build.shscript that automates building a container image and starting the application. It currently usespodman../build.sh
The application will be accessible at
http://localhost:3000.If you prefer to run the binary directly on your host machine:
- Install dependencies:
go mod download
- Build the binary:
Ensure
CGO_ENABLED=1is set for SQLite support.CGO_ENABLED=1 go build -o twortle main.go
- Run the application:
./twortle
- Install dependencies: