Golang Web server to draw cards from The Tarot of the Silicon Dawn
https://silicon-dawn.cards
| .forgejo/workflows | ||
| cmd/silicon-dawn | ||
| internal | ||
| templates | ||
| vendor | ||
| .dockerignore | ||
| .gitignore | ||
| .golangci.yaml | ||
| CODEOWNERS | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| Justfile | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
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
- Install golang
- Install Just command runner
- Check out this repository wherever you choose
- Run
just local-buildto build the binary - Run
just localto start the webserver - Browse to http://localhost:3200 to enjoy your pick
- Refresh the page for a fresh pick
Alternatively, without Just:
go build -o bin/silicon-dawn cmd/silicon-dawn./bin/silicon-dawn
Or! if you are super lazy check out my hosted copy of this.