Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
038af76
Turned off diagnostic logging - selg.log statements - across all file…
pcoldico Oct 30, 2026
c023078
Tidying up UI elements to make them more visible
pcoldico Oct 30, 2026
1073c19
Updates from PDR team call 10/30/26, ability tpo add a new community,…
pcoldico Oct 30, 2026
6ee6bba
Changes to order of additional functions on main screen
pcoldico Oct 30, 2026
61a2957
Updates to my_egeria to corrent some errors in the edit profile optio…
pcoldico Oct 31, 2026
ac1a263
Updates to fix a navigation issue in the Tech Types functionality
pcoldico Oct 31, 2026
f9adf21
Merge branch 'main' into main
pcoldico Oct 31, 2026
a778e80
Merge upstream odpi/egeria-python main (6.2.19)
pcoldico Nov 2, 2026
20f90f2
Merge upstream odpi/egeria-python main (6.2.21)
pcoldico Nov 4, 2026
8c6b6e6
Merge branch 'main' of https://github.com/odpi/egeria-python
pcoldico Nov 4, 2026
27af2a4
Merge branch 'main' of https://github.com/odpi/egeria-python
pcoldico Nov 9, 2026
5daa4ea
Merge branch 'main' of https://github.com/odpi/egeria-python
pcoldico Nov 9, 2026
66b30e0
Merge branch 'main' of https://github.com/odpi/egeria-python
pcoldico Nov 10, 2026
d02f162
Promote My Profile to production package and update docs
pcoldico Nov 10, 2026
a247e82
Add automated terminal recording and neural voiceover pipeline for My…
pcoldico Nov 10, 2026
6bf3cef
Include all recording media artifacts and output files
pcoldico Nov 10, 2026
1de1c7c
Merge odpi/egeria-python main into #584
dwolfson Nov 11, 2026
57af438
chore(my_egeria): keep generated recording media out of the repo
dwolfson Nov 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,6 @@ dmypy.json
# Accidental pip install output files (from `pip install pkg =version` typos)
/=*
/logs/

# Generated recording and voiceover output (videos, audio, captures): host outside the repo
my_egeria/my_egeria/recording/output/
8 changes: 6 additions & 2 deletions my_egeria/my_egeria/SplashScreen.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
class SplashScreen(ModalScreen):
""" SplashScreen for my_egeria """

# Escape must dismiss (not pop) the screen, so that MyProfileApp.mainline still runs
BINDINGS = [("escape", "continue_to_app", "Continue")]
# Escape, Enter, or Space dismisses the splash screen to continue to the main app
BINDINGS = [
("escape", "continue_to_app", "Continue"),
("enter", "continue_to_app", "Continue"),
("space", "continue_to_app", "Continue"),
]

CSS_PATH = "my_profile.tcss"

Expand Down
192 changes: 101 additions & 91 deletions my_egeria/my_egeria/VIDEO_SCRIPT_DRAFT.md

Large diffs are not rendered by default.

153 changes: 153 additions & 0 deletions my_egeria/my_egeria/recording/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# My Profile — Automated Terminal Recording Suite

**Series:** *Coco Pharmaceuticals Data Governance Journey*
**Presenter Persona:** Callie Quartile (Data Scientist)
**Companion Script:** [`../VIDEO_SCRIPT_DRAFT.md`](../VIDEO_SCRIPT_DRAFT.md)

This directory contains production-ready automated recording scripts that capture high-definition terminal screencasts and vector SVG frames of `my_profile.py` for video blogs, tutorials, presentations, and documentation.

---

## 📁 Directory Structure

```text
recording/
├── my_profile_full_walkthrough.tape # Full continuous end-to-end VHS recording (Scenes 2-6)
├── scenes/
│ ├── scene2_launch_and_startup.tape # Scene 2: Splash screen, async loading, continue
│ ├── scene3_main_dashboard.tape # Scene 3: Dashboard grid, roles & team drill-down
│ ├── scene4_curation_todos_comments.tape # Scene 4: To-Dos (Ctrl+T), Comments (Ctrl+O/N), Bookmarks (Ctrl+K/B)
│ ├── scene5_shop_for_data.tape # Scene 5: Catalogs, sample data (Ctrl+L), subscribe (Ctrl+U)
│ └── scene6_network_communities_feedback.tape # Scene 6: My Network, communities, feedback (Ctrl+F), tech types
├── generate_voiceover.py # AI Text-to-Speech voiceover generator & video assembly pipeline
├── record_demo.py # Python Textual Pilot automated driver (generates vector SVG captures)
├── run_recordings.sh # Master runner script for VHS, Pilot captures, and narration
├── output/ # Generated recording artifacts (ignored by git)
│ ├── audio/ # Synthesized MP3 narration audio tracks per scene & full episode
│ ├── videos/ # Rendered raw 1080p MP4 videos
│ ├── videos_narrated/ # 1080p MP4 videos with synchronized voiceover narration
│ ├── gifs/ # Animated GIF screencasts
│ ├── slides/ # 1080p PNG slide title cards
│ └── captures/ # Timestamped SVG/PNG screenshots per scene
└── README.md # This documentation guide
```

---

## 🛠️ Prerequisites & Installation

### Option A: VHS Recording (Recommended for MP4/GIF Video Capture)
Charm's [VHS](https://github.com/charmbracelet/vhs) runs headless terminal scripts with exact millisecond timings and renders 1080p, 60fps MP4 and GIF videos.

- **macOS (Homebrew):**
```bash
brew install vhs ffmpeg ttyd
```
- **Linux (Debian / Ubuntu):**
```bash
sudo apt-get install ffmpeg ttyd
go install github.com/charmbracelet/vhs@latest
```

### Option B: Textual Pilot Recorder (Python Native, No External Binary Needed)
Built on Textual's async `Pilot` framework, included out of the box with the project dependencies (`uv sync`).

---

## 🚀 Running Recordings

### 1. Master Runner Script (`run_recordings.sh`)

```bash
# Make sure the script is executable
chmod +x my_egeria/my_egeria/recording/run_recordings.sh

# Record the full continuous walkthrough (Scenes 2 to 6)
./my_egeria/my_egeria/recording/run_recordings.sh --walkthrough

# Record all individual scene clips
./my_egeria/my_egeria/recording/run_recordings.sh --scenes

# Record a specific scene clip (e.g. Scene 5: Shop for Data)
./my_egeria/my_egeria/recording/run_recordings.sh --scene 5

# Generate all vector SVG screenshots via Textual Pilot
./my_egeria/my_egeria/recording/run_recordings.sh --pilot

# Generate AI Voiceover narration (Callie Quartile) and merge with recorded video clips
./my_egeria/my_egeria/recording/run_recordings.sh --narrate

# Assemble the complete 5-minute master video blog episode (Scenes 0-7)
./my_egeria/my_egeria/recording/run_recordings.sh --assemble

# Run everything (walkthrough + all individual scenes + SVG captures + narration + master episode)
./my_egeria/my_egeria/recording/run_recordings.sh --all
```

### 2. Running Voiceover Generator Directly (`generate_voiceover.py`)

```bash
# Generate narration and merge videos using Edge Neural TTS (default: en-GB-SoniaNeural)
uv run python my_egeria/my_egeria/recording/generate_voiceover.py --assemble

# Use native macOS speech synthesizer (offline fallback)
uv run python my_egeria/my_egeria/recording/generate_voiceover.py --tts say --voice "Flo (English (UK))" --assemble

# Generate narration audio files only
uv run python my_egeria/my_egeria/recording/generate_voiceover.py --audio-only

# Target a specific scene (e.g. Scene 5)
uv run python my_egeria/my_egeria/recording/generate_voiceover.py --scene 5
```

### 3. Running Individual VHS Tapes Directly

```bash
cd my_egeria/my_egeria/recording

# Run full walkthrough tape
vhs my_profile_full_walkthrough.tape

# Run a specific scene tape
vhs scenes/scene5_shop_for_data.tape
```

### 4. Running the Python Pilot Driver Directly

```bash
# Record all scenes headlessly to SVG
uv run python my_egeria/my_egeria/recording/record_demo.py

# Record a specific scene
uv run python my_egeria/my_egeria/recording/record_demo.py --scene 4

# Specify custom output directory
uv run python my_egeria/my_egeria/recording/record_demo.py --output-dir ./my_captures
```

---

## ⚙️ Environment Configuration

You can customize the target persona and Egeria platform environment variables before executing recordings:

```bash
# Set persona to Callie Quartile (default)
export EGERIA_USER_NAME="calliequartile"

# Set custom view server or platform URL if recording against live or demo servers
export EGERIA_VIEW_SERVER="qs-view-server"
export EGERIA_PLATFORM_URL="https://127.0.0.1:9443"
```

---

## 🎬 Video Production Workflow

1. **Audio Narration:** Record spoken voiceover according to [`VIDEO_SCRIPT_DRAFT.md`](../VIDEO_SCRIPT_DRAFT.md).
2. **Video Capture:** Execute `./run_recordings.sh --walkthrough` to generate `output/videos/my_profile_full_walkthrough.mp4` (or use individual scene `.mp4` files from `output/videos/`).
3. **Assembly & Editing:** In your video editor (e.g. DaVinci Resolve, Premiere Pro, Camtasia, CapCut, or via `ffmpeg`):
- Place the presenter intro / title card (Scene 0 & Scene 1).
- Sync the recorded `.mp4` terminal clips with Callie's narration for Scenes 2 through 6.
- Insert lower-thirds, hotkey overlays (`Ctrl+T`, `Ctrl+O`, `Ctrl+L`, `Ctrl+U`), and zoom spotlights onto active dialogs.
- Attach the closing call to action and link end cards (Scene 7).
Loading
Loading