From 0a4803191c1cd09324133a209968737d31339141 Mon Sep 17 00:00:00 2001 From: Anton Titovets Date: Fri, 7 Jun 2024 14:15:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B5=D0=BD=D1=82=D1=8B=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20vhs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/vhs/demo copy.tape | 16 ++++ service/vhs/demo.tape | 103 ++++++++++++++++++++++ service/vhs/start.tape | 19 ++++ service/vhs/telegram.tape | 19 ++++ service/vhs/telegram_keyboardmessage.tape | 23 +++++ service/vhs/telegram_send.tape | 25 ++++++ 6 files changed, 205 insertions(+) create mode 100644 service/vhs/demo copy.tape create mode 100644 service/vhs/demo.tape create mode 100644 service/vhs/start.tape create mode 100644 service/vhs/telegram.tape create mode 100644 service/vhs/telegram_keyboardmessage.tape create mode 100644 service/vhs/telegram_send.tape diff --git a/service/vhs/demo copy.tape b/service/vhs/demo copy.tape new file mode 100644 index 000000000..1c7378d2a --- /dev/null +++ b/service/vhs/demo copy.tape @@ -0,0 +1,16 @@ +Output opi.gif + +# Require echo + +Set Shell "cmd" +Set FontSize 10 +Set Width 720 +Set Height 480 + +Set Theme {"background": "#000000"} + +Type 'oint' Sleep 200ms Enter +Sleep 8s + + + diff --git a/service/vhs/demo.tape b/service/vhs/demo.tape new file mode 100644 index 000000000..9b62e9081 --- /dev/null +++ b/service/vhs/demo.tape @@ -0,0 +1,103 @@ +# 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 "Consolas" +# 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 +# Set MarginFill Set the file or color the margin will be filled with. +# Set Margin Set the size of the margin. Has no effect if MarginFill isn't set. +# Set BorderRadius Set terminal border radius, in pixels. +# Set WindowBar Set window bar type. (one of: Rings, RingsRight, Colorful, ColorfulRight) +# Set WindowBarSize Set window bar size, in pixels. Default is 40. +# Set TypingSpeed