Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
56 changes: 56 additions & 0 deletions ct/hyperframes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#!/usr/bin/env bash
_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/DevScripts/main"
_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func"
source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func")

# Copyright (c) 2021-2026 community-scripts ORG
# Author: Estcool9
# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE
# Source: https://github.com/heygen-com/hyperframes

APP="HyperFrames CLI"
var_tags="${var_tags:-development;video;editing;ai}"
var_cpu="${var_cpu:-4}"
var_ram="${var_ram:-4096}"
var_disk="${var_disk:-20}"
var_os="${var_os:-debian}"
var_version="${var_version:-13}"
var_unprivileged="${var_unprivileged:-1}"
var_arm64="${var_arm64:-yes}"

header_info "$APP"
variables
color
catch_errors

function update_script() {
header_info
check_container_storage
check_container_resources

if ! command -v hyperframes >/dev/null 2>&1; then
msg_error "No HyperFrames installation found!"
exit
fi

NODE_VERSION="22" NODE_MODULE="hyperframes" setup_nodejs
setup_ffmpeg

if [[ "$(dpkg --print-architecture)" == "arm64" ]]; then
msg_info "Ensuring Chromium for ARM64"
$STD apt install -y chromium
msg_ok "Ensured Chromium for ARM64"
fi

$STD hyperframes browser ensure
msg_ok "Updated successfully!"
exit
}

start
build_container
description

msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW}Use the CLI over SSH; projects are stored in /opt/hyperframes_data.${CL}"
34 changes: 34 additions & 0 deletions install/hyperframes-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash

# Copyright (c) 2021-2026 community-scripts ORG
# Author: Estcool9
# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE
# Source: https://github.com/heygen-com/hyperframes

source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os

NODE_VERSION="22" NODE_MODULE="hyperframes" setup_nodejs
setup_ffmpeg

if [[ "$(dpkg --print-architecture)" == "arm64" ]]; then
msg_info "Installing Chromium for ARM64"
$STD apt install -y chromium
msg_ok "Installed Chromium for ARM64"
fi

msg_info "Preparing HyperFrames browser"
$STD hyperframes browser ensure
msg_ok "Prepared HyperFrames browser"

mkdir -p /opt/hyperframes_data
$STD hyperframes --version

motd_ssh
customize
cleanup_lxc
55 changes: 55 additions & 0 deletions json/hyperframes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"name": "HyperFrames CLI",
"slug": "hyperframes",
"categories": [
20
],
"date_created": "2026-11-27",
"type": "ct",
"updateable": true,
"privileged": false,
"platforms": [
"pve"
],
"architectures": [
"amd64",
"arm64"
],
"interface_port": null,
"documentation": "https://github.com/heygen-com/hyperframes#readme",
"website": "https://hyperframes.heygen.com/",
"repository": "https://github.com/heygen-com/hyperframes",
"logo": "https://opengraph.githubassets.com/1/heygen-com/hyperframes",
"description": "HyperFrames is an open-source, code-first video editor that turns HTML, CSS and GSAP timelines with media assets into deterministic MP4 videos. Its CLI scaffolds projects, launches a local Studio preview, checks compositions and renders video with Chromium and FFmpeg.",
"install_methods": [
{
"type": "default",
"script": "ct/hyperframes.sh",
"resources": {
"cpu": 4,
"ram": 4096,
"hdd": 20,
"os": "Debian",
"version": "13"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "This is a CLI-only container; connect over SSH, work in /opt/hyperframes_data and create a project with `hyperframes init <name>`.",
"type": "info"
},
{
"text": "The Studio preview binds to 127.0.0.1:3002. Use an SSH tunnel to view it in a browser; no LAN-facing web service or login is created.",
"type": "warning"
},
{
"text": "On ARM64, the installer uses Debian Chromium because upstream does not publish Chrome Headless Shell for Linux ARM64; capture may use the slower screenshot fallback.",
"type": "info"
}
]
}