Golang Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards
Find a file
Amelia Aronsohn 6748af04f5
All checks were successful
/ lint (push) Successful in 35s
/ test (push) Successful in 36s
docker-deploy / build-deploy (push) Successful in 1m41s
fix: runner
2025-10-21 17:24:59 -07:00
.forgejo/workflows fix: runner 2025-10-21 17:24:59 -07: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 4a839c0 (#26) 2025-10-21 17:15:07 -07: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.