HUB
Sign inSign up

buck40k/tldr-docker

By buck40k

•Updated about 15 hours ago

Self-hosted tldr pages over curl, web, JSON API and SSH. Offline, distroless, non-root, signed.

Image
Developer tools
0

253

buck40k/tldr-docker repository overview

⁠tldr-docker

Self-host tldr pages⁠: one small, always-running container that answers from curl, a browser, a JSON API and ssh, including an interactive terminal browser. Pages are baked in, so it works fully offline, and it keeps them up to date with checksum verification when it can reach the internet.

Interactive browser over SSH

⁠Quick start

docker run -d -p 8080:8080 -p 2222:2222 -v tldr-data:/data \
  --read-only --cap-drop ALL buck40k/tldr-docker

curl localhost:8080/tar        # colored page
ssh -p 2222 localhost tar      # same over ssh
ssh -p 2222 localhost          # interactive browser

Open http://localhost:8080⁠ for the web GUI.

⁠Features

  • curl, web GUI, JSON API and SSH (one-shot lookups and an interactive browser)
  • 40+ languages, light and dark themes, placeholder fill-in, copy buttons
  • Works offline; optional internal mirror for air-gapped networks
  • Distroless, static Go binary, non-root, no shell, read-only root filesystem
  • Multi-arch: linux/amd64, linux/arm64, linux/arm/v7
  • Signed with cosign, with SBOM and SLSA provenance attached

⁠Tags

TagMeaning
latestLatest release with the latest pages
X.Y.Z, X.Ytldr-server release
YYYY.MM.DDBuild date
pages-vX.Ytldr-pages release baked in

Also on GHCR, with no pull limits: ghcr.io/spikethedragon40k/tldr-docker

⁠Verify the signature

cosign verify buck40k/tldr-docker:latest \
  --certificate-identity-regexp '^https://github.com/SpikeTheDragon40k/tldr-docker/\.github/workflows/publish\.yml@refs/(tags/v|heads/main)' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Tooling MIT; pages from tldr-pages, CC BY-SA 4.0. Not an official tldr-pages project.

Tag summary
Recent tags
Content type
Image
Digest
sha256:b05c8416e…
Size
11.2 MB
Last updated
about 15 hours ago
docker pull buck40k/tldr-docker:latest