mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
Adds a Blocks tab to the Studio left sidebar with the full 78-item registry
catalog (58 blocks + 20 components). Users can browse by category, search by
title/description, preview CDN-hosted poster thumbnails with video-on-hover,
and install items on-demand with one click or drag-to-timeline.
Core changes:
- BlockCategory type + resolveBlockCategory() for 7 categories (Captions, VFX,
Transitions, Effects, Social, Data, Scenes)
- Registry API routes: GET /api/registry/blocks (catalog) + POST install
- StudioApiAdapter extended with listRegistryCatalog + installRegistryBlock
- Vite adapter reads from disk; CLI adapter fetches from GitHub (24h cache)
- BlockParam interface + params on 6 blocks for future parameter controls
Studio UI:
- 4th sidebar tab "Blocks" with responsive grid, category pills, search bar
- BlockCard: CDN poster thumbnail, video autoplay on hover, duration + WebGL badges
- On-demand install: blocks append as sub-compositions on timeline; components
overlay at start=0 spanning full duration with transparent background patching
- TIMELINE_BLOCK_MIME drag-and-drop to timeline
- BlockParamsPanel (Phase 3 scaffold) auto-opens for parameterized blocks
Registry manifests:
- All 58 blocks backfilled with preview: { video, poster } CDN URLs
- All 20 components normalized to object format + poster URLs added
- 6 blocks annotated with params (Liquid Glass/Background, Portal, Chart,
Logo Outro, Magnetic)
- flowchart-vertical preview generated and uploaded to CDN
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
|
|
"name": "caption-texture",
|
|
"type": "hyperframes:component",
|
|
"title": "Texture",
|
|
"description": "Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable",
|
|
"tags": ["captions", "caption-style", "texture", "mask"],
|
|
"files": [
|
|
{
|
|
"path": "caption-texture.html",
|
|
"target": "compositions/components/caption-texture.html",
|
|
"type": "hyperframes:snippet"
|
|
},
|
|
{
|
|
"path": "lava.png",
|
|
"target": "compositions/components/lava.png",
|
|
"type": "hyperframes:asset"
|
|
},
|
|
{
|
|
"path": "marble-012.png",
|
|
"target": "compositions/components/marble-012.png",
|
|
"type": "hyperframes:asset"
|
|
},
|
|
{
|
|
"path": "metal-046-b.png",
|
|
"target": "compositions/components/metal-046-b.png",
|
|
"type": "hyperframes:asset"
|
|
},
|
|
{
|
|
"path": "wood-066.png",
|
|
"target": "compositions/components/wood-066.png",
|
|
"type": "hyperframes:asset"
|
|
},
|
|
{
|
|
"path": "concrete-042-a.png",
|
|
"target": "compositions/components/concrete-042-a.png",
|
|
"type": "hyperframes:asset"
|
|
},
|
|
{
|
|
"path": "rock-058.png",
|
|
"target": "compositions/components/rock-058.png",
|
|
"type": "hyperframes:asset"
|
|
}
|
|
],
|
|
"preview": {
|
|
"video": "https://static.heygen.ai/hyperframes-oss/registry/components/caption-texture-lava/preview.mp4?v=1779051416",
|
|
"poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-texture.png"
|
|
}
|
|
}
|