Golang Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Amelia A 9271c87507
Refactor download to new testable main
1 month ago
cmd Refactor download to new testable main 1 month ago
templates Works! 1 year ago
vendor Update deps & golang 1 month ago
.dockerignore No more drive build 1 year ago
.gitignore Bring makefiles into this 1 year ago
.tool-versions Update deps & golang 1 month ago
Dockerfile Update deps & golang 1 month ago
Doing-k8s.md Add k8s notes 6 months ago
LICENSE It is a repo 1 year ago
Makefile Update deps & golang 1 month ago
README.md Simplify everything (#1) 12 months ago
cards.go Make lint happier 1 month ago
cards_test.go Make lint happier 1 month ago
check-docker.http Add request logging to app 9 months ago
check-k8s.http Try out k8s for deploy 12 months ago
check-local.http Simplify everything (#1) 12 months ago
docker-compose.override.yml Update testing a lot 11 months ago
docker-compose.yml Update testing a lot 11 months ago
go.mod Update deps & golang 1 month ago
go.sum Update deps & golang 1 month ago
server.go Update deps & golang 1 month ago
web.yml Try out k8s for deploy 12 months ago

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 Then I rewrote it in rust to be a web app. Then I got very tired of compiling rust. I wanted to take it to the NEXT LEVEL and rewrite it in golang and stuff it in a docker container.

Instructions

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 use my compose files in /compose

Go Binary

  1. Install golang
  2. Check out this repository wherever you choose
  3. go build -o bin/silicon-dawn cmd/silicon-dawn
  4. ./bin/silicon-dawn get to hydrate the cards data directory
  5. ./bin/silicon-dawn serve to start the webserver
  6. Browse to http://localhost:3200 to enjoy your pick
  7. Refresh the page for a fresh pick

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