Casperaki is being rebuilt as a modern pnpm/TypeScript monorepo for deterministic song generation, real audio rendering, and AI-assisted music production.
The current working app is the models layer: a local React + Express + Python
server for downloading and running audio models such as ACE-Step, SAM-Audio,
SoulX-Singer, and Matchering. It now lives at apps/models.
apps/
models/ # current AI model serving app
packages/
song-schema/ # Phase 1 shell: canonical song contract
music-theory/ # Phase 3 shell: chord/note/time primitives
arrangement/ # Phase 3 shell: deterministic generators
docs/ # rebuild architecture and phase plans
Start with docs/README.md for the rebuild map.
@teamsuzie/ui lives in the sibling ../open_teamsuzie monorepo and is consumed
through a local link: dependency. Build it once before running Casperaki:
cd ../open_teamsuzie
pnpm install --filter "@teamsuzie/ui..."
pnpm --filter "@teamsuzie/ui..." build
Re-run the build after pulling UI changes.
From this repo root:
pnpm install
pnpm dev:models
The API listens on http://localhost:16400 and the web UI on
http://localhost:16401.
Useful commands:
pnpm typecheck
pnpm build
pnpm --filter @casperaki/models dev:server
pnpm --filter @casperaki/models dev:web
The models app reads apps/models/.env (see apps/models/.env.example).
| Var | Default | Purpose |
|---|---|---|
CASPERAKI_PORT | 16400 | API server port |
CASPERAKI_CLIENT_PORT | 16401 | Vite dev server port |
CASPERAKI_DOWNLOAD_DIR | ~/models | Where downloaded models are written |
CASPERAKI_MODEL_DIRS | ~/models,~/Models,~/.cache/huggingface/hub | Folders to scan for local models |
HF_TOKEN | - | Optional token for gated/private Hugging Face repos |
3 commits
C++
39.7%
TypeScript
30.7%
C
10.4%
CMake
9.4%
JavaScript
7.6%
Casperaki is being rebuilt as a modern pnpm/TypeScript monorepo for deterministic song generation, real audio rendering, and AI-assisted music production.
The current working app is the models layer: a local React + Express + Python
server for downloading and running audio models such as ACE-Step, SAM-Audio,
SoulX-Singer, and Matchering. It now lives at apps/models.
apps/
models/ # current AI model serving app
packages/
song-schema/ # Phase 1 shell: canonical song contract
music-theory/ # Phase 3 shell: chord/note/time primitives
arrangement/ # Phase 3 shell: deterministic generators
docs/ # rebuild architecture and phase plans
Start with docs/README.md for the rebuild map.
@teamsuzie/ui lives in the sibling ../open_teamsuzie monorepo and is consumed
through a local link: dependency. Build it once before running Casperaki:
cd ../open_teamsuzie
pnpm install --filter "@teamsuzie/ui..."
pnpm --filter "@teamsuzie/ui..." build
Re-run the build after pulling UI changes.
From this repo root:
pnpm install
pnpm dev:models
The API listens on http://localhost:16400 and the web UI on
http://localhost:16401.
Useful commands:
pnpm typecheck
pnpm build
pnpm --filter @casperaki/models dev:server
pnpm --filter @casperaki/models dev:web
The models app reads apps/models/.env (see apps/models/.env.example).
| Var | Default | Purpose |
|---|---|---|
CASPERAKI_PORT | 16400 | API server port |
CASPERAKI_CLIENT_PORT | 16401 | Vite dev server port |
CASPERAKI_DOWNLOAD_DIR | ~/models | Where downloaded models are written |
CASPERAKI_MODEL_DIRS | ~/models,~/Models,~/.cache/huggingface/hub | Folders to scan for local models |
HF_TOKEN | - | Optional token for gated/private Hugging Face repos |
3 commits
C++
39.7%
TypeScript
30.7%
C
10.4%
CMake
9.4%
JavaScript
7.6%