Rust Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards/
Find a file
Renovate Bot e8e1a6bad0
All checks were successful
/ Rustfmt (push) Successful in 41s
/ Clippy (push) Successful in 4m2s
/ Test (push) Successful in 5m42s
chore(deps): lock file maintenance (#35)
Reviewed-on: #35
Co-authored-by: Renovate Bot <renovate@onlyhavecans.works>
Co-committed-by: Renovate Bot <renovate@onlyhavecans.works>
2025-11-02 18:34:32 -08:00
.forgejo/workflows chore(deps): update actions/cache digest to 0057852 (#25) 2025-09-24 14:08:49 -07: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 (#35) 2025-11-02 18:34:32 -08:00
Cargo.toml chore(deps): update rust crate reqwest to v0.12.24 (#30) 2025-10-13 09:21:21 -07: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 0000f9d (#31) 2025-10-13 13:40:02 -07: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.