diff --git a/cli/vhs/README.md b/cli/vhs/README.md new file mode 100644 index 0000000000..5231bdadc2 --- /dev/null +++ b/cli/vhs/README.md @@ -0,0 +1,3 @@ +# VHS Files + +This folder includes [vhs](https://github.com/charmbracelet/vhs) files for demo purposes. diff --git a/cli/vhs/example.flow.json b/cli/vhs/example.flow.json new file mode 100644 index 0000000000..707ca6adfc --- /dev/null +++ b/cli/vhs/example.flow.json @@ -0,0 +1,37 @@ +{ + "summary": "", + "description": "", + "value": { + "modules": [ + { + "id": "a", + "value": { + "type": "rawscript", + "content": "// import * as wmill from \"https://deno.land/x/windmill@v1.50.0/mod.ts\"\n\nexport async function main(x: string) {\n console.log(\"Hello from Deno! The argument x is \" + x);\n return x;\n}\n", + "language": "deno", + "input_transforms": { + "x": { + "type": "static", + "value": "" + } + } + } + }, + { + "id": "b", + "value": { + "type": "rawscript", + "content": "def main():\n print(\"Hello from Step 2, in Python!\");\n", + "language": "python3", + "input_transforms": {} + } + } + ] + }, + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": {}, + "required": [], + "type": "object" + } +} diff --git a/cli/vhs/output/run-flow.gif b/cli/vhs/output/run-flow.gif new file mode 100644 index 0000000000..89dc779250 Binary files /dev/null and b/cli/vhs/output/run-flow.gif differ diff --git a/cli/vhs/output/run-flow.webm b/cli/vhs/output/run-flow.webm new file mode 100644 index 0000000000..7f7a1a72f5 Binary files /dev/null and b/cli/vhs/output/run-flow.webm differ diff --git a/cli/vhs/output/setup.gif b/cli/vhs/output/setup.gif new file mode 100644 index 0000000000..d9620a28f3 Binary files /dev/null and b/cli/vhs/output/setup.gif differ diff --git a/cli/vhs/output/setup.webm b/cli/vhs/output/setup.webm new file mode 100644 index 0000000000..0c0b8d6736 Binary files /dev/null and b/cli/vhs/output/setup.webm differ diff --git a/cli/vhs/run-flow.tape b/cli/vhs/run-flow.tape new file mode 100644 index 0000000000..ff5b526c2a --- /dev/null +++ b/cli/vhs/run-flow.tape @@ -0,0 +1,66 @@ +# VHS documentation +# +# Output: +# Output .gif Create a GIF output at the given +# Output .mp4 Create an MP4 output at the given +# Output .webm Create a WebM output at the given +# +# Require: +# Require Ensure a program is on the $PATH to proceed +# +# Settings: +# Set FontSize Set the font size of the terminal +# Set FontFamily Set the font family of the terminal +# Set Height Set the height of the terminal +# Set Width Set the width of the terminal +# Set LetterSpacing Set the font letter spacing (tracking) +# Set LineHeight Set the font line height +# Set LoopOffset % Set the starting frame offset for the GIF loop +# Set Theme Set the theme of the terminal +# Set Padding Set the padding of the terminal +# Set Framerate Set the framerate of the recording +# Set PlaybackSpeed Set the playback speed of the recording +# +# Sleep: +# Sleep