Alternative frontend to Chefkoch
  • Go 98.9%
  • Dockerfile 1.1%
Find a file
NoUmlautsAllowed 8de1c965b4 web: show error page on failures (#102)
- 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
2025-06-29 10:22:21 +02:00
.woodpecker Use Go embed to run only with binary (#58) 2025-02-11 18:18:10 +00:00
cmd web: show error page on failures (#102) 2025-06-29 10:22:21 +02:00
pkg web: show error page on failures (#102) 2025-06-29 10:22:21 +02:00
sass feat: better print support (#47) 2024-12-20 18:33:20 +00:00
web web: show error page on failures (#102) 2025-06-29 10:22:21 +02:00
.gitignore Use Go embed to run only with binary (#58) 2025-02-11 18:18:10 +00:00
.golangci.yaml Migrate .golangci.yaml to newer version (#72) 2025-04-11 20:40:13 +00:00
codecov.yml Ignore generated mocks for coverage (#57) 2025-01-26 20:32:17 +00:00
compose.yaml Add compose.yaml and new public instance (#71) 2025-04-22 05:54:19 +00:00
Dockerfile chore(deps): update golang docker tag to v1.24 (#65) 2025-02-22 10:44:31 +00:00
go.mod chore(deps): update go dependencies (#101) 2025-06-16 18:44:23 +02:00
go.sum chore(deps): update go dependencies (#101) 2025-06-16 18:44:23 +02:00
LICENSE Initial commit 2022-08-07 16:38:16 +02:00
package-lock.json chore(deps): lock file maintenance (#74) 2025-04-24 22:48:15 +00:00
package.json Use Go embed to run only with binary (#58) 2025-02-11 18:18:10 +00:00
README.md Add compose.yaml and new public instance (#71) 2025-04-22 05:54:19 +00:00
renovate.json CI: change renovate Git author to separate user 2024-09-05 12:39:55 +02:00

status-badge Go Report Card codecov

🧑‍🍳 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