Skip to content

About

Wayscriber video capture and rendering toolkit with an installable Codex skill

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Wayscriber Video

A repeatable launch-video pipeline for the real Wayscriber Wayland application. It records live product footage on Hyprland, trims and captions scenes, adds title/outro cards, and produces verified MP4, WebM, poster, and contact-sheet assets.

The repository also contains an installable Codex skill. It is intentionally separate from the Wayscriber application and website repositories.

Pipeline

real Wayscriber + Hyprland
           │
           ▼
GPU Screen Recorder ──► short lossless-ish H.264/MKV clips
           │
           ▼
project.json storyboard ──► trim + scale + caption + cards
           │
           ▼
FFmpeg ──► MP4 + WebM + WebP poster + verification contact sheet

Unlike a terminal-keyframe pipeline, Wayscriber must be captured from a real Wayland compositor. The scripts make capture and post-production deterministic; drawing and pointer gestures remain deliberate live actions.

Requirements

The primary target is Arch Linux with Hyprland/Omarchy:

sudo pacman -S --needed gpu-screen-recorder ffmpeg jq grim slurp wtype

Core requirements are gpu-screen-recorder, ffmpeg, ffprobe, jq, and hyprctl. grim, slurp, and wtype support optional screenshots, region selection, and scripted typing.

The live preflight checks the active Wayland/Hyprland session, monitor discovery, Wayscriber service, recorder, and required FFmpeg encoders before capture.

Install the Codex skill

From the repository root:

./install.sh

This creates a symlink at ${CODEX_HOME:-$HOME/.codex}/skills/wayscriber-video. It refuses to replace an existing file or directory.

Quick start

skill/wayscriber-video/scripts/preflight.sh

project_dir=$(skill/wayscriber-video/scripts/new-video.sh sticky-notes)
skill/wayscriber-video/scripts/record.sh "$project_dir" create-note
skill/wayscriber-video/scripts/scene.sh "$project_dir" create-note \
  --in 0.8 --out 8.2 --caption "Press N, click, and type"
skill/wayscriber-video/scripts/render.sh "$project_dir"

Projects default to ${XDG_DATA_HOME:-$HOME/.local/share}/wayscriber-video/runs/<slug>. Each project contains:

<slug>/
├── project.json       # canonical storyboard and render settings
├── PLAN.md            # editorial checklist
├── clips/             # raw recordings
├── deliverables/      # MP4, WebM, poster, manifest
├── checks/            # extracted frames and contact sheet
└── .video-work/       # disposable render intermediates

The renderer refuses to overwrite existing deliverables. Use --force only after deciding the old render can be replaced.

Recording workflow

  1. Run the preflight and confirm the selected monitor.
  2. Clean the visible desktop: disable notifications and close anything private.
  3. Prepare the real Wayscriber build and desired board/session.
  4. Record one action per clip. Press Ctrl+C to finish a take.
  5. Adjust trim points and captions in project.json or with scene.sh.
  6. Render, inspect the contact sheet, and watch the full MP4.

Use record.sh --duration 5 for a timed capture or record.sh --region "1920x1080+0+0" for a fixed region. Region coordinates are physical compositor coordinates accepted by GPU Screen Recorder.

Privacy and working data

Treat each project directory as private working data, even when the final video is intended to be public. Projects can contain raw desktop recordings, extracted frames, monitor names, build provenance, and absolute local paths in verification metadata.

Before sharing anything:

  1. Watch the complete rendered video and inspect the contact sheet for notifications, account details, private windows, and unrelated content.
  2. Share only the reviewed files from deliverables/; do not share the project directory.
  3. Review and redact preflight.sh output before posting it publicly. It can include local binary paths, service commands, monitor details, and compositor errors.

Documentation

Validation

Run the repository smoke test and skill validator:

./tests/test.sh
python3 /path/to/skill-creator/scripts/quick_validate.py skill/wayscriber-video

The smoke test uses a generated test-pattern clip. It does not record the desktop or launch Wayscriber.

Design sources

License

MIT

About

Wayscriber video capture and rendering toolkit with an installable Codex skill

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages