- TypeScript 56.5%
- CSS 30.7%
- JavaScript 10.7%
- Dockerfile 2.1%
Implements the Phase 01 UI slice with a persistent AppShell (topbar, sidebar, drawer, skip link, local search) and new fictional preview pages for media (`/`) and character (`/characters/lyra`). Adds reusable UI primitives (`EntityHeader`, `PreviewDialog`, `Dropdown`, `StatusBadge`, `PortraitAvatar`, `DefinitionList`) and a full global style update to match the reference shell and responsive hierarchy. Updates Playwright coverage for navigation, dialogs, search, screenshots, contrast, and reduced-motion behavior, and advances project/docs status and QA evidence to mark Phase 01 complete. Also switches `pnpm dev` to `next dev --webpack` and disables dev indicators to avoid observed Turbopack dev reload instability on Windows. |
||
|---|---|---|
| apps/web | ||
| assets/brand | ||
| docs | ||
| harness | ||
| infra | ||
| packages | ||
| scripts | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| .nvmrc | ||
| .prettierignore | ||
| .prettierrc.json | ||
| AGENTS.md | ||
| eslint.config.mjs | ||
| GOALS.md | ||
| package.json | ||
| PLANS.md | ||
| playwright.config.ts | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| PROMPTS.md | ||
| README.md | ||
| tsconfig.tools.json | ||
| vitest.config.ts | ||
A manually curated atlas of anime, manga, visual novels, characters, and their connections.
Discover the bonds, bloodlines, houses, species, and stories that make fictional worlds interconnected.
Design shell preview · Codex-guided development · Self-hostable · Graph-first UI
Important
Phases 00 and 01 are complete: foundation, local infrastructure and responsive design shell are verified. This is not a finished catalog. Follow the phase status tracker and build log for actual completion evidence.
Run the preview
Use Node 22.23.3 (pinned in .nvmrc) and pnpm 10.34.6. The checks were
observed on the compatible installed Node 22.16.0; the exact pinned Node patch
has not been exercised here.
pnpm install --frozen-lockfile
pnpm dev
Open http://127.0.0.1:3000. The fictional media preview at /, character preview at /characters/lyra, and /health work without
PostgreSQL or MinIO. /health is application liveness, not dependency readiness.
pnpm lint
pnpm typecheck
pnpm test
pnpm build
pnpm exec playwright install chromium
pnpm test:e2e
pnpm format:check
For local PostgreSQL and MinIO, copy .env.example to .env, set your own local
passwords, and follow local setup. No migrations,
authentication, graph, or upload APIs are implemented yet.
✦ The vision
Kizunexus is an otaku-media database built around the idea that characters and their connections are the most interesting part of fictional worlds. Catalog series, source works, adaptations, galleries, and character attributes; connect people through family, romance, rivalry, factions, species, and royal houses; then explore the resulting network as an animated, force-directed graph.
Manual input is intentional. Research a wiki, enter the fact once, and let the application infer inverse relationships, ancestry paths, and graph layouts. No mandatory scraping, auto-filled canon, or manual ancestry arithmetic.
✦ Visual direction
The intended experience is a polished dark-navy data explorer: compact sidebar, global search, page-specific tabs, restrained violet/cyan/pink accents, portrait-based nodes, and a large animated graph taking priority over decorative cards.
| Main screen | Detail screen | Supporting tools |
|---|---|---|
![]() |
![]() |
![]() |
| Media & graph explorer | Character & relationships | Statistics & analysis |
Codex must use docs/design/DESIGN_SYSTEM.md and docs/design/SCREEN_SPECS.md as implementation constraints, together with the images above. Maintain the screen hierarchy, shell, navigation, and density from the mockup. See the explicit UI acceptance checklist.
Note
The mockup is concept art containing illustrative anime-style characters and names. It is a layout reference, not a library of licensed production assets or verified database facts. Implement with original/authorized imagery and fictitious seed content until licensed or user-contributed sources are available.
✦ What Kizunexus will cover
| Encyclopedia | Relationship intelligence | Visual exploration |
|---|---|---|
| Series, works, adaptations, characters | Role-aware inverse labels | Animated force-directed cast map |
| Names, traits, measurements, tags | Directed romance, hatred, friendship | Family trees and paths |
| Species, transformations, lineages | Biological/adoptive/step family | Royal intermarriage networks |
| Royal houses, titles, factions | Consent, infidelity and story events | Species ancestry and statistics |
| Galleries in MinIO/S3 | Evidence, uncertainty, timelines | Matrices, timelines, dashboards |
| Accounts, permissions, audit history | Optional continuity-specific overrides | Layout presets and export |
A series normally has one default character identity and facts. Adaptation- or route-specific differences are optional overrides, not obligatory duplicate character records. Unknown facts stay unknown; inferred facts never quietly become canon.
✦ Project guide
| Start here | Why |
|---|---|
AGENTS.md |
Persistent, mandatory guidance for Codex work |
GOALS.md |
Product promises and non-goals |
PLANS.md |
Ordered, gated build roadmap |
PROMPTS.md |
Copy/paste prompts for planning, implementation and review |
docs/INDEX.md |
Full documentation map |
docs/architecture/DOMAIN_MODEL.md |
Characters, facts, relationships, events, species, houses |
docs/design/DESIGN_SYSTEM.md |
Concrete visual tokens and component rules |
docs/design/GRAPH_LAB.md |
Flagship graph physics, interactions and animation |
harness/build/ |
Phase-by-phase implementation briefs |
✦ Intended architecture
Next.js / React frontend (TypeScript)
│ Server actions and/or versioned HTTP API
▼
Application & domain services ──► Graph and inference projections
│
├── PostgreSQL / relational schema & audit trail
├── MinIO (S3-compatible image storage)
└── Background workers (when needed for expensive calculations)
Visualization: Sigma.js + Graphology (graph), ECharts (analytics)
Verification: Vitest + Playwright + screenshot comparison
Local development: pnpm workspaces + Docker Compose
The Next.js/React workspace and verification tooling are installed and pinned. Local PostgreSQL/MinIO startup, health, private bucket initialization, and restart persistence are verified. Graph, analytics, authentication, and domain functionality remain planned. See dependency decisions for selections and boundaries.
✦ Build with Codex
- Create or open a repository containing these files; keep the relative paths intact.
- Read
AGENTS.md,GOALS.md, andPLANS.md. - Begin with
harness/build/phase-00-foundation.md. - Open Codex in this repository, and use the first prompt in
PROMPTS.md. For actual implementation, approve one phase at a time. - At phase completion, record the commands, results, limitations, and next steps in
harness/build-log.md.
Suggested first Codex prompt:
Read AGENTS.md, GOALS.md, PLANS.md, docs/design/DESIGN_SYSTEM.md,
docs/design/SCREEN_SPECS.md, and harness/build/phase-00-foundation.md.
Orient yourself, inspect the repository, and propose an implementation plan for
phase 00 only. Preserve the supplied layout and mockup references. Do not code
or install dependencies until I approve the plan. State acceptance criteria,
verification commands, and any unclear decisions.
✦ Guiding principles
One fact, two perspectives. Adding “A is B's son” automatically shows the corresponding parent relationship on B's profile. One-sided affection does not become reciprocal affection.
Manual canon, automatic consequences. Contributors enter facts and evidence. The backend calculates derived relationships and ancestry when supported; uncertainty and provenance remain visible on demand.
The graph is not an afterthought. The media page's dominant surface is an interactive character network with weighted physics, gentle house grouping, relationship categories, and motion that settles.
Beautiful, but inspectable. Dense factual information should live in accessible tooltips, drawers, and popovers—not clutter the graph or force users into giant forms.
Small vertical slices. No phase may be declared done without its acceptance criteria, tests, and relevant visual verification.
Kizunexus · Every character. Every connection.



