Contributing
Dev setup
Local development setup for CookieFarm (Go + Python + Bun).
Development setup — CookieFarm
This page defines the recommended local development setup for CookieFarm.
Required versions
- Go
1.26+ - Python
3.14+ - Bun (latest stable)
- Docker + Docker Compose
- Git
Verify toolchain
git --version
go version
python3 --version
bun --version
docker --version
docker compose versionClone repository
git clone https://github.com/ByteTheCookies/CookieFarm.git
cd CookieFarmServer (Go)
cd cookiefarm/server
go mod download
go build ./...
go test ./... -vRun server locally:
go run .Client (Go CLI)
cd cookiefarm/client
go mod download
go build ./...
go test ./... -vPython exploiter library
cd exploiter/python
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -e .Optional tests:
pytest -qDocs (Bun only)
cd docs
bun install
bun run devType check/build:
bun run types:check
bun run buildRun full stack with Docker
cd cookiefarm
docker compose up -d --buildQuick API check:
curl -i --max-time 5 http://127.0.0.1:8080/api/v1/Notes
- Use Bun for docs/frontend package management and scripts.
- Use Bun as the only JavaScript package manager/runtime in this project workflow.
- Keep local environment aligned with the versions above before opening PRs.
How is this guide?