A lightweight, dark-themed web calculator served in a Docker container. Minimal footprint, maximum style.
docker run -d --name webcalc -p 8080:80 ghcr.io/andyghc/webcalc:latestOpen http://localhost:8080 in your browser. That's it.
# Pull and run on any Docker host
ssh user@your-server
docker run -d --name webcalc -p 8080:80 ghcr.io/andyghc/webcalc:latest| Tag | Description |
|---|---|
latest |
Latest stable build from main |
sha-<commit> |
Pinned to a specific commit |
v<semver> |
Tagged releases |
- ➕ Addition, subtraction, multiplication, division
- ⌨️ Keyboard input support (numbers, operators, Enter, Escape, Backspace)
- 🖱️ Click or tap interface
- 🌙 Dark theme, easy on the eyes
- 🐳 Tiny Docker image (~15 MB, nginx:alpine based)
git clone https://github.com/andyghc/webcalc.git
cd webcalc
docker build -t webcalc .
docker run -d --name webcalc -p 8080:80 webcalc- Pull Requests: Automatically builds the image and runs a smoke test (HTTP 200 + content validation)
- Push to
main: Builds, smoke-tests, then pushes to GHCR withlatestandsha-<commit>tags
MIT