Python scripts & a Rust Web server to let me play with The Tarot of the Silicon Dawn
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 f354bcef37
Update Rand and other packages
2 månader sedan
src Add a robots.txt because why not 5 månader sedan
templates Switch to rocket 5 månader sedan
.gitignore A Rust webserver so I can pick cards web2.0 style 1 år sedan
Cargo.lock Update Rand and other packages 2 månader sedan
Cargo.toml Update Rand and other packages 2 månader sedan
LICENCE Intial Commit 1 år sedan
Makefile Use unzip flags over mv 3 månader sedan
README.md Minor docs update 5 månader sedan
Rocket.toml Switch to rocket 5 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.