Golang Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards
Find a file
Renovate Bot 03d9bf6f9c
All checks were successful
/ lint (push) Successful in 14s
/ test (push) Successful in 20s
docker-deploy / build-deploy (push) Successful in 1m29s
chore(deps): update https://github.com/golangci/golangci-lint-action digest to e7fa5ac (#34)
Reviewed-on: #34
Co-authored-by: Renovate Bot <renovate@onlyhavecans.works>
Co-committed-by: Renovate Bot <renovate@onlyhavecans.works>
2025-11-21 08:57:09 -08:00
.forgejo/workflows chore(deps): update https://github.com/golangci/golangci-lint-action digest to e7fa5ac (#34) 2025-11-21 08:57:09 -08:00
cmd/silicon-dawn refactor: update module 2025-08-26 14:01:02 -07:00
internal refactor: update module 2025-08-26 14:01:02 -07:00
templates feat: update footer 2025-08-26 14:01:49 -07:00
vendor refactor: replace zerolog with log 2025-03-06 22:40:42 -08:00
.dockerignore Add trimpath to make builds repeatable 2023-09-24 21:06:09 -07:00
.gitignore Bring makefiles into this 2020-05-13 16:04:27 -07:00
.golangci.yaml lint: golangci-lint 2025-08-25 18:35:33 -07:00
CODEOWNERS ci: forgejo 2025-08-25 18:38:58 -07:00
Dockerfile chore(deps): update onlyhavecans.works/oci/golang:1.25 docker digest to 406139d (#31) 2025-11-18 20:55:02 -08:00
go.mod refactor: update module 2025-08-26 14:01:02 -07:00
go.sum refactor: replace zerolog with log 2025-03-06 22:40:42 -08:00
Justfile lint: golangci-lint 2025-08-25 18:35:33 -07:00
LICENSE It is a repo 2020-05-01 18:52:18 -07:00
README.md refactor: replace make with just 2025-03-06 22:41:55 -08:00
renovate.json New Paths 2025-09-01 19:46:39 -07:00

Silicon Dawn

I made this so I can pull random cards on my phone and review the text.

I originally designed this for use in Pythonista Then I rewrote it in rust to be a web app. Then I got very tired of compiling rust. I wanted to take it to the NEXT LEVEL and rewrite it in golang and stuff it in a docker container.

Instructions

Docker

I publish the docker container at DockerHub. It is fully self-contained and uses port 3200 internally.

You can spin up a copy however you choose to do a docker or use my compose files in /compose

Go Binary

  1. Install golang
  2. Install Just command runner
  3. Check out this repository wherever you choose
  4. Run just local-build to build the binary
  5. Run just local to start the webserver
  6. Browse to http://localhost:3200 to enjoy your pick
  7. Refresh the page for a fresh pick

Alternatively, without Just:

  1. go build -o bin/silicon-dawn cmd/silicon-dawn
  2. ./bin/silicon-dawn

Or! if you are super lazy check out my hosted copy of this.