Castaway is the monorepo for Survivor fantasy draft tooling.
This repo is in transition from a single CLI project into a broader multi-app workspace.
apps/clicontains the originalsrvivorCLI.apps/castaway-webcontains the persistent Gin + PostgreSQL web API.apps/castaway-discord-botwill host the Discord bot integration that queriescastaway-web.- The
srvivorcommand and behavior are intentionally preserved for backwards compatibility. - New work should be organized as additional apps/packages under this monorepo.
This repository uses mise for task and tool management and fnox for local secret injection.
mise install
mise run ciThe monorepo shares a single 1Password vault, castaway, through the root fnox.toml. Each app selects only the fnox profile it needs through mise configuration, while non-secret defaults live in mise.toml env blocks.
mise run start
mise run seed
mise run ps
mise run logs
mise run bot-logs
mise run stopmise run start now starts the full local stack:
castawaydbcastaway-webcastaway-discord-bot
cd apps/cli
mise run lint
mise run test
mise run build
mise run runSee apps/cli/README.md for CLI command usage.
See apps/castaway-web/README.md for API + workflow details.
See apps/castaway-discord-bot/README.md for local setup, commands, and Discord app configuration.
- Functional requirements:
functional-requirements.md - Non-functional requirements:
non-functional-requirements.md - Production readiness:
production-readiness-checklist.md - Shared guides:
docs/guides/ - Agent/operator prompt packs:
prompts/ - Shared docs index:
docs/README.md - Documentation standards:
docs/documentation-standards.md
docs/castaway-discord-bot-blueprint.mddocs/non-functional-requirements.mddocs/production-readiness-checklist.mddocs/secrets-and-config.mddocs/versioning-and-releases.md