- Go 98.9%
- Dockerfile 1.1%
- shows error page on upstream and request failures - switch to 400 error codes instead of 50x (server is not malfunctioning in those cases) - refactor API tests Closes #100 Reviewed-on: NoUmlautsAllowed/gocook#102 |
||
|---|---|---|
| .woodpecker | ||
| cmd | ||
| pkg | ||
| sass | ||
| web | ||
| .gitignore | ||
| .golangci.yaml | ||
| codecov.yml | ||
| compose.yaml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
🧑🍳 GoCook
An alternative frontend to Chefkoch with a focus on privacy. Static CSS and HTML only. Built with Go and Bulma.
What is this?
This is an alternative frontend to Chefkoch. The generated sites are static, i.e. containing no JavaScript that runs on the client side.
All API and CDN traffic is proxied through GoCook, there is no communication with any other hosts than GoCook itself.
The repository is hosted on Codeberg, a mirror is maintained on GitHub. Please open any new issues or pull requests on Codeberg 🙏
Hosted instances
Build and Deployment
The easiest way to deploy this service is the standalone docker image. Alternatively, building the application from source is possible too.
API and CDN requests are not cached for now. This may be a feature to be added in the future.
Docker
The official docker image is available at docker hub in the repository
noumlautsallowed/gocook.
Publish the port 8080 of the container locally:
docker run -d --name gocook -p 127.0.0.1:8080:8080 noumlautsallowed/gocook:latest
Build from source
If you want to build this project from source, checkout the repository locally and run the server.
Currently, only Go and NPM needs to be installed.
git clone https://codeberg.org/NoUmlautsAllowed/gocook.git && cd gocook
npm i
npm run build
go build ./cmd/server
./server