Rust Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards/
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Amelia A d5249d7bad
Switch to new Cargo Format
2週間前
src Add a robots.txt because why not 10ヶ月前
templates Switch to rocket 10ヶ月前
.gitignore A Rust webserver so I can pick cards web2.0 style 1年前
Cargo.lock Switch to new Cargo Format 2週間前
Cargo.toml Update Rand and other packages 7ヶ月前
LICENCE Intial Commit 1年前
Makefile Move running prod to a procfile 1ヶ月前
Procfile Move running prod to a procfile 1ヶ月前
README.md Minor docs update 10ヶ月前
Rocket.toml Switch to rocket 10ヶ月前

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.