Rust Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Amelia A d5249d7bad
Switch to new Cargo Format
2 veckor sedan
src Add a robots.txt because why not 10 månader sedan
templates Switch to rocket 10 månader sedan
.gitignore A Rust webserver so I can pick cards web2.0 style 1 år sedan
Cargo.lock Switch to new Cargo Format 2 veckor sedan
Cargo.toml Update Rand and other packages 7 månader sedan
LICENCE Intial Commit 1 år sedan
Makefile Move running prod to a procfile 1 månad sedan
Procfile Move running prod to a procfile 1 månad sedan
README.md Minor docs update 10 månader sedan
Rocket.toml Switch to rocket 10 månader sedan

README.md

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 burried in the git history.

Instructions

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

  1. install rust
  2. rustup install nightly to install nightly builds (needed for Rocket)
  3. make to run the dev daemon
  4. Browse to http://localhost:3300 to enjoy your pick
  5. Refresh the page for a fresh pick

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