Rust Web server to draw cards from The Tarot of the Silicon Dawn
				https://silicon-dawn.cards/
			
		
				Reviewed-on: #35 Co-authored-by: Renovate Bot <renovate@onlyhavecans.works> Co-committed-by: Renovate Bot <renovate@onlyhavecans.works>  | 
			||
|---|---|---|
| .forgejo/workflows | ||
| src | ||
| templates | ||
| tests | ||
| .dockerignore | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CODEOWNERS | ||
| config.toml | ||
| Dockerfile | ||
| LICENCE | ||
| Makefile | ||
| Procfile | ||
| README.md | ||
| renovate.json | ||
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
- Ensure you have docker for your playform installed
 make docker-runto build and deploy locally- browse to [http://localhost:8080]
 
Local Binary
- install rust
 make local-runto download cards, compile, and go!- Browse to [http://localhost:3200] to enjoy your pick
 - Refresh the page for a fresh pick
 
Or! if you are super lazy check out my hosted copy of this.