cutloom.ai · docs · build

Build

From clone
to four cuts.

Install trunkim, point it at a .loomd fixture, emit HTML / PPTX / PDF / MP4.

rubyv0.1

Enter the compiler

The v0.1 gem lives in ruby/. Ruby 3.3+ and Bundler are required.

cd ruby
bundle install

Emit the four cuts

Slides (HTML + PPTX), searchable PDF, and shot-ready video from the example fixtures.

bundle exec trunkim build ../examples/l1-product-review.loomd --out ../dist/l1 --emit html,pptx
bundle exec trunkim build ../examples/l2-handout.loomd --target pdf --out ../dist/l2
bundle exec trunkim build ../examples/l3-launch-spot.loomd --target video --out ../dist/l3

Or smoke the whole path

One command for local full acceptance when Typst / Chrome / ffmpeg are installed.

bundle exec rake smoke

Outputs

CutPath
HTML slidesdist/l1/index.html
PPTXdist/l1/l1-product-review.pptx
PDFdist/l2/l2-handout.pdf
MP4 + VTTdist/l3/l3-launch-spot.mp4

Dependencies

NeedTool
AlwaysRuby 3.3+, Bundler
PDFTypst
VideoChrome or Edge + ffmpeg
Voicepip install edge-tts

Day-to-day commands

bundle exec trunkim validate ../examples/l1-product-review.loomd
bundle exec trunkim ir ../examples/l3-launch-spot.loomd --target video
bundle exec trunkim build <file.loomd> --out DIR [--target slides|pdf|video] [--emit html,pptx,pdf,mp4]

Clone the repository that contains ruby/, examples/, and docs/. This page is the public face of ruby/README.md.

→ Browse fixtures · → Scene recipes