Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/tepi/vhs/demo.tape

A .http Test Runner
Go to Latest
File
# dco run --rm vhs demo.tape# vhs < demo.tape
Output ./demo.gif# Output ./demo.asciiSet Shell zshSet Theme "Monokai Pro"# Set FontFamily "Fira Code"Set TypingSpeed 100msSet Framerate 10Set Padding 30Set FontSize 17Set Width 800Set Height 1150Set LineHeight 1.5Set WindowBar ColorfulSet MarginFill "#dddddd"Set Margin 10Set BorderRadius 10
Require denoRequire tepiRequire batcat
Hide# Type "deno cache --unstable ../../src/cli.ts"# Enter# Type "deno install --unstable -Af -n tepi ../../src/cli.ts"# Type "deno cache -A npm:cli-highlight" Enter# Type "alias cat='deno run -A npm:cli-highlight --language http --theme theme.json'" EnterType "alias cat='batcat --style=snip'" EnterType clear EnterSleep 1sShow
Type "cat demo.http"Sleep 300msEnter
Sleep 3s
Type "tepi demo.http"Sleep 300msEnter
Sleep 10s# Sleep 2s