|
преди 2 месеца | |
---|---|---|
cmd | преди 5 месеца | |
templates | преди 8 месеца | |
vendor | преди 5 месеца | |
.dockerignore | преди 8 месеца | |
.gitignore | преди 8 месеца | |
.tool-versions | преди 5 месеца | |
Dockerfile | преди 5 месеца | |
Doing-k8s.md | преди 2 месеца | |
LICENSE | преди 8 месеца | |
Makefile | преди 5 месеца | |
README.md | преди 8 месеца | |
cards.go | преди 5 месеца | |
cards_test.go | преди 5 месеца | |
check-docker.http | преди 5 месеца | |
check-k8s.http | преди 8 месеца | |
check-local.http | преди 8 месеца | |
docker-compose.override.yml | преди 7 месеца | |
docker-compose.yml | преди 7 месеца | |
go.mod | преди 5 месеца | |
go.sum | преди 5 месеца | |
server.go | преди 5 месеца | |
web.yml | преди 8 месеца |
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.
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 build -o bin/silicon-dawn cmd/silicon-dawn
./bin/silicon-dawn get
to hydrate the cards data directory./bin/silicon-dawn serve
to start the webserverOr! if you are super lazy check out my hosted copy of this.