How venloud/horror-shorts works
Night Files is an automated illustrated horror/true-crime/folklore video pipeline. Its main workflow generates a story, narration and visuals, renders and validates a video, buffers it, then stages it for TikTok and YouTube queueing through Buffer; a recovery worker repairs missing queue receipts. The graph also preserves visual asset reuse, research, checkpointing, and the documented Remotion-to-FFmpeg fallback. Edges cite the README or source-index references; unsampled implementation details are omitted rather than inferred.
Main entry points: main.py Generator · explainer.py Explainer planner · images.py AI images · media.py Real media
Components 28
Generation
- Generator
pipeline/main.py - Video renderer
pipeline/render.py - Remotion composition
pipeline/remotion_post.py - Production gate
pipeline/production_gate.py
Story and research
- Story writer
pipeline/story.py - Grounded research
pipeline/research.py - Narration voice
pipeline/voice.py
Visual production
- Explainer planner
pipeline/explainer.py - Real media
pipeline/media.py - AI images
pipeline/images.py - Asset library
pipeline/library.py - Cutout visuals
pipeline/cutout.py - Scene set builder
pipeline/set_builder.py - Shot rules
pipeline/shot_rules.py - Sprite assets
pipeline/sprites.py - Noir graphics
pipeline/noir.py - Motion style
pipeline/hollywood.py - Spoken numbers
pipeline/spoken_numbers.py
Distribution
- Release buffer
pipeline/buffer.py - Publisher
pipeline/publish.py - Pending assets
pipeline/youtube_pending.py - Queue recovery
tools/auto_buffer_backfill.py - Buffer service
- TikTok and YouTube
Shared state
- Resume checkpoint
pipeline/checkpoint.py - Shared helpers
pipeline/common.py - Image budget
pipeline/cf_budget.py
Other components
- Pipeline trigger
Connections 30
- Pipeline trigger → Generator: triggers
README.md - Generator → Story writer: generates story
README.md - Story writer → Grounded research: grounds facts
pipeline/story.py - Generator → Narration voice: creates narration
README.md - Generator → Explainer planner: plans visuals
pipeline/main.py - Explainer planner → Story writer: uses story
pipeline/explainer.py - Explainer planner → Real media: selects real media
pipeline/explainer.py - Explainer planner → AI images: requests images
pipeline/explainer.py - Real media → AI images: fills remaining shots
pipeline/media.py - Real media → Asset library: uses archive
pipeline/media.py - AI images → Asset library: uses assets
pipeline/images.py - AI images → Image budget: checks quota
pipeline/images.py - AI images → Scene set builder: builds sets
pipeline/images.py - Real media → Shot rules: applies shot rules
pipeline/media.py - Asset library → Sprite assets: uses asset paths
pipeline/library.py - Explainer planner → Noir graphics: renders graphics
pipeline/explainer.py - Explainer planner → Spoken numbers: checks spoken text
pipeline/explainer.py - Explainer planner → Motion style: uses style module
pipeline/explainer.py - Generator → Video renderer: renders video
README.md - Generator → Production gate: checks output
pipeline/main.py - Generator → Resume checkpoint: resumes work
pipeline/main.py - Generator → Release buffer: stores finished video
README.md - Video renderer → Remotion composition: composes clips
README.md - Video renderer → Video renderer: FFmpeg fallback
- Publisher → Release buffer: stages oldest item
README.md - Publisher → Pending assets: stores paired assets
pipeline/publish.py - Publisher → Buffer service: queues posts
README.md - Buffer service → TikTok and YouTube: queues by channel
README.md - Queue recovery → Buffer service: repairs queue receipts
README.md - Generator → Shared helpers: uses shared helpers
pipeline/main.py