Rust Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards/
  • Rust 79.5%
  • Dockerfile 7.7%
  • HTML 6.3%
  • Makefile 6.2%
  • Procfile 0.3%
Find a file
Renovate Bot 0cc2980e60
All checks were successful
/ Rustfmt (push) Successful in 1m44s
/ Test (push) Successful in 4m22s
/ Clippy (push) Successful in 6m38s
chore(deps): update actions/checkout digest to de0fac2 (#75)
Reviewed-on: #75
Co-authored-by: Renovate Bot <renovate@onlyhavecans.works>
Co-committed-by: Renovate Bot <renovate@onlyhavecans.works>
2026-02-03 16:54:31 -08:00
.forgejo/workflows chore(deps): update actions/checkout digest to de0fac2 (#75) 2026-02-03 16:54:31 -08:00
src lint: fix 2024 fmt issues 2025-08-22 09:06:48 -07:00
templates Move to askama templates, update HTML 2022-01-05 17:45:11 -08:00
tests lint: be explicit with server handle 2025-07-22 18:55:29 -07:00
.dockerignore Cargo and Rust update 2022-07-21 17:59:39 -07:00
.gitignore A Rust webserver so I can pick cards web2.0 style 2018-09-13 20:24:34 -07:00
Cargo.lock chore(deps): lock file maintenance (#74) 2026-02-01 16:54:55 -08:00
Cargo.toml chore(deps): update rust crate reqwest to v0.13.1 (#63) 2025-12-30 12:52:00 -08:00
CODEOWNERS ci: forgejo (#1) 2025-08-25 18:42:52 -07:00
config.toml Fix docker to working 2021-12-10 07:51:22 -08:00
Dockerfile chore(deps): update gcr.io/distroless/cc-debian12:latest docker digest to 72344f7 (#70) 2026-01-29 11:38:23 -08:00
LICENCE Intial Commit 2018-09-12 16:27:26 -07:00
Makefile Don't rebuild before push, and don't update before tests 2022-07-29 12:38:38 -07:00
Procfile Update cargo, profile call bin directly 2020-04-02 11:25:57 -07:00
README.md Clean up readme a little 2021-12-11 11:04:55 -08:00
renovate.json fix: updated renovate paths 2025-09-01 19:47:59 -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, but I rewrote it in rust to be a web app. If you want the original Python code it is buried in the git history.

Instructions

Pythonista isn't the BEST experience I found, so I wrote a web daemon you can compile it and run it wherever you want. Because everything is better as a web page (?question mark?)

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 to build your own

  1. Ensure you have docker for your playform installed
  2. make docker-run to build and deploy locally
  3. browse to [http://localhost:8080]

Local Binary

  1. install rust
  2. make local-run to download cards, compile, and go!
  3. Browse to [http://localhost:3200] to enjoy your pick
  4. Refresh the page for a fresh pick

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