Personal shopping list and wishlist with a PWA and an MCP server for Claude
  • Go 52%
  • TypeScript 41%
  • CSS 3.7%
  • JavaScript 1.3%
  • Makefile 0.9%
  • Other 1.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-27 11:30:50 +03:00
.github Align PR and release Node versions 2026-11-27 11:30:50 +03:00
docs Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
e2e Protect Basket reconnect snapshots from stale writes (#11) 2026-11-26 19:30:59 +03:00
internal OPS-528: Migrate auth, store, backup and mock IdP to go-commons v1.4.0 (#5) 2026-11-25 22:31:22 +03:00
scripts Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
web Enforce the web install-script policy (#12) 2026-11-26 19:48:26 +03:00
.dockerignore Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
.gitignore Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
.golangci.yaml Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
.goreleaser.yaml Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
AGENTS.md Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
Dockerfile Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
go.mod OPS-528: Migrate auth, store, backup and mock IdP to go-commons v1.4.0 (#5) 2026-11-25 22:31:22 +03:00
go.sum OPS-528: Migrate auth, store, backup and mock IdP to go-commons v1.4.0 (#5) 2026-11-25 22:31:22 +03:00
LICENSE Add README and license 2026-11-24 02:56:49 +03:00
main.go Bound Basket OIDC HTTP requests (#8) 2026-11-26 18:50:16 +03:00
main_test.go Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
Makefile Enforce the web install-script policy (#12) 2026-11-26 19:48:26 +03:00
README.md Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
renovate.json Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00
VERSION Implement Basket v1 (#1) 2026-11-24 11:04:39 +03:00

Basket

A personal shopping list and wishlist for one owner. It is an offline-capable PWA served by a single Go server, signs in with OIDC, and exposes the lists to Claude through an MCP endpoint.

Basket only keeps the lists. Anything that reads them, such as a scheduled AI job looking for deals, works through the same MCP tools as any other client.

See docs/DESIGN.md for the design, docs/TECH_STACK.md for the stack and configuration, and docs/DEPLOYMENT_MCP.md for agent access.

Status: design.

Run locally

make dev    # build the frontend and run the server on :8080

Copy the environment from the Configuration table below. For local HTTP development without TLS, set COOKIE_INSECURE=true. The container image sets DB_PATH=/data/basket.db and BACKUP_DIR=/data/backups.

Configuration

Variable Default Purpose
PUBLIC_URL required External origin; OIDC callback is <PUBLIC_URL>/auth/callback
OIDC_ISSUER required Provider issuer URL
OIDC_CLIENT_ID required PWA client
OIDC_CLIENT_SECRET empty If the client is confidential
OWNER_SUBJECT required sub of the only identity allowed in
MCP_CLIENT_ID empty Client whose access tokens may call /mcp; MCP disabled when empty
MCP_AUDIENCE PUBLIC_URL + /mcp Required aud of MCP tokens
TIME_ZONE Europe/Istanbul Default for "today" and due dates
LISTEN_ADDR :8080 HTTP listener
METRICS_ADDR :9090 Internal /metrics; empty disables
DB_PATH ./basket.db SQLite database
BACKUP_DIR empty VACUUM INTO target; disabled when empty
BACKUP_INTERVAL 6h
BACKUP_KEEP 28
LOG_LEVEL INFO
COOKIE_INSECURE false Local HTTP development only

Development

make web        # build the frontend
make dev        # build the frontend and run the server
make test       # Go and web tests
make lint       # golangci-lint
make test/e2e   # Playwright against the built server and mock OIDC provider