- Go 73%
- TypeScript 25%
- HTML 1%
- JavaScript <1%
- Makefile <1%
- 1 more language <1%
Soika #
Internal e-commerce audit, compliance-risk and outreach platform. Operator-only consulting tool. Not a SaaS product.
Purpose #
Find -> Scan -> Verify -> Report -> Contact -> Sell Audit -> Sell Fixes
Single-operator workflow for researching, scanning, analyzing, reviewing, documenting, and contacting e-commerce businesses and online service providers.
Stack #
| Layer | Technology |
|---|---|
| Frontend | React 18 + Vite + TypeScript strict + Tailwind + shadcn-style UI |
| Backend | Go + Gin, zap logging |
| Database | PostgreSQL + sqlc + goose (versioned migrations) |
| Cache | DragonflyDB (Redis-compatible) |
| Crawler | Node/TypeScript + Playwright sidecar microservice |
| Infra | Docker Compose, Nginx |
| API contract | OpenAPI (single source of truth) |
See AGENTS.md and the tdvorak-fullstack skill for the locked stack.
Layout #
apps/api Go + Gin backend
apps/web React + Vite frontend
apps/crawler Playwright crawler sidecar
db/ goose migrations + sqlc queries
infra/ Docker Compose, Nginx, Dockerfiles
openapi/ OpenAPI spec
test-site/ intentionally vulnerable demo website
docs/ ADRs
Quickstart #
Full stack via Docker Compose:
docker compose -f infra/docker-compose.yml up --build
Local development:
# API
cd apps/api && go run ./cmd/api
# Scan worker (same binary; required for scans)
cd apps/api && go run ./cmd/api --worker
# Web
cd apps/web && npm install && npm run dev
# Crawler
cd apps/crawler && npm install && npx playwright install chromium && npm run dev
# Test site
cd test-site && npm start
Environment: copy .env.example to .env and adjust.
Build / test #
make build # api + web + crawler
make test # go test
make lint # go vet
make gen # regen OpenAPI types (web+api) + sqlc code
make sync-migrations # copy db/migrations into api embed dir
Status #
Phases 1-9 implemented and verified end-to-end: repo architecture, DB schema + migrations (status constraints, finding fingerprints, evidence paths), Go API with dashboard/companies/audits/findings/scan/report/email endpoints behind session auth (bcrypt + Dragonfly sessions), async scan pipeline (Dragonfly queue + worker, live progress, cancel, retry, restart recovery), 4 deterministic analyzers (security, privacy, dark patterns, legal), React UI with login, dashboard, company workflow, contacts, finding review with keyboard shortcuts, email editor, Playwright crawler with SSRF protection, evidence preservation (HTML snapshots, screenshots, report markdown), OpenAPI codegen for web and Go types, GitHub Actions CI, intentionally vulnerable test site.
Pending: richer analyzers + scan diffing (Phase 10), PDF report rendering (Phase 11), real email sending (Phase 12), lead discovery (Phase 13), AI semantic layer (Phase 14, gated), production operations (Phase 15).
See docs/ROADMAP.md for the full phase plan.