Skip to content

johannschopplich/rtyi.land

Repository files navigation

RTYI Documentary logo

RTYI Documentary

Beyond the cartridge: A research and preparation workspace for the Return to Yoshi's Island documentary.

Quick Start Β· Analysis Pipeline Β· Project Structure Β· rtyi.land

About

This repository is the working hub for a long-form documentary about Return to Yoshi's Island, the Mario 64 ROM hack led by Kaze Emanuar. It holds everything needed to prepare for filming: interview question sets, narrative planning, stream evidence, contributor profiles, and curated quotes.

Planned interviews include:

  • Kaze Emanuar
  • Biobak
  • Badub
  • Kaze and Zeina together

Quick Start

Prerequisites

  • Node.js 22+
  • pnpm

Installation

git clone git@github.com:johannschopplich/rtyi-doc.git
cd rtyi-doc
pnpm install

Documentation Site

pnpm docs:dev       # Start local dev server
pnpm docs:build     # Build the site
pnpm docs:preview   # Preview the built site

Transcript Analysis

Raw stream transcripts live in transcripts/. Running the analysis pipeline extracts structured findings from each one and writes them to .data/streams/ as JSON. The synthesis step then aggregates those findings into documentary-ready content.

Create a .env file in the repository root with your API keys, then:

pnpm stream-analysis    # Per-stream extraction β†’ .data/streams/
pnpm stream-synthesis   # Cross-stream aggregation β†’ .data/synthesis/

Quality Checks

pnpm lint
pnpm format:check
pnpm test:types

Project Structure

rtyi-doc/
β”œβ”€β”€ docs/                         # VitePress documentary research site
β”‚   β”œβ”€β”€ .vitepress/               # Site config, theme, data loaders
β”‚   β”œβ”€β”€ drafts/                   # Narrative arcs and chapter planning
β”‚   β”œβ”€β”€ interviews/               # Per-person interview question sets
β”‚   β”œβ”€β”€ synthesis/                # Documentary prep (generated from analysis)
β”‚   β”œβ”€β”€ streams/                  # Stream pages and dashboard
β”‚   β”œβ”€β”€ topics/                   # Findings grouped by documentary theme
β”‚   β”œβ”€β”€ team/                     # Contributor profiles
β”‚   β”œβ”€β”€ prompts/                  # Prompt and extraction documentation
β”‚   β”œβ”€β”€ research/                 # Background research on documentary craft
β”‚   β”œβ”€β”€ public/                   # Static assets
β”‚   └── index.md
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ stream-analysis.ts        # Per-stream transcript extraction
β”‚   └── stream-synthesis.ts       # Cross-stream aggregation
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ analysis/
β”‚   β”‚   β”œβ”€β”€ prompts.ts            # Prompt templates for stream extraction
β”‚   β”‚   β”œβ”€β”€ schemas.ts            # Zod schemas for analysis output
β”‚   β”‚   └── runner.ts             # Transcript processing and JSON output
β”‚   β”œβ”€β”€ synthesis/
β”‚   β”‚   β”œβ”€β”€ prompts.ts            # Prompt templates for aggregation
β”‚   β”‚   β”œβ”€β”€ schemas.ts            # Zod schemas for synthesis output
β”‚   β”‚   └── runner.ts             # Aggregation execution
β”‚   β”œβ”€β”€ stt-corrections.ts        # Speech-to-text cleanup rules
β”‚   β”œβ”€β”€ constants.ts              # Paths and model defaults
β”‚   └── utils.ts                  # Provider and model helpers
β”œβ”€β”€ transcripts/                  # Raw stream transcript files (.txt)
β”œβ”€β”€ .data/                        # Generated analysis artifacts
β”‚   β”œβ”€β”€ streams/                  # Per-stream extraction output (JSON)
β”‚   └── synthesis/                # Aggregated documentary prep (JSON)
β”œβ”€β”€ package.json
β”œβ”€β”€ pnpm-workspace.yaml
β”œβ”€β”€ wrangler.toml
└── README.md

Analysis Pipeline

The pipeline has two stages. The first reads each raw transcript and extracts structured findings – development decisions, context and motivation, contributor roles, key stories, and open questions for follow-up interviews. Output goes to .data/streams/ as one JSON file per stream.

The second stage aggregates all per-stream output into documentary-ready material in .data/synthesis/:

  • Story Arcs – arc-first narrative stories with embedded interview questions and quotes
  • Narrative Arcs – thematic filming roadmap forming the documentary's high-level structure
  • Topic Arcs – per-topic narrative summaries tracing how each theme evolved across streams

VitePress data loaders in docs/synthesis/ read these JSON files and render them as browsable pages on the research site.

Deployment

The site deploys to Cloudflare as a static build. Routing and asset configuration live in wrangler.toml, serving the site at rtyi.land.

License

This project is for internal documentary research and preparation. Content related to the RTYI team and project is used with permission for documentary purposes.

About

πŸ§ƒ A research workspace for preparing the Return to Yoshi's Island documentary

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors