Add VHS gifs

This commit is contained in:
Micaiah Martin
2026-06-04 07:57:25 -06:00
parent c406315788
commit 50b00de580
8 changed files with 98 additions and 3 deletions

5
POC/.gitignore vendored
View File

@@ -12,9 +12,8 @@ bundle/
*.tar.gz
bitwarden-logs-*.zip
# Local answer files may hold installation id/key
answers.yaml
answers.yml
# Local install manifests
bitwarden.yaml
# Secrets / certs
*.pfx

View File

@@ -4,6 +4,8 @@ A single .NET tool that installs and manages a Bitwarden self-host deployment
`bitwarden.sh` + `run.sh` + Setup-container stack. It generates all config in-process and drives
Docker directly. Supports both **standard** and **lite** deployments.
![bwsh status](docs/images/status.gif)
> Status: working proof of concept. See **What's not done yet** at the bottom.
## Prerequisites
@@ -25,6 +27,8 @@ dotnet run -- install
It asks for your domain, region, installation id/key, and database name, then pulls the images,
starts the stack, and shows a live status table.
![bwsh install](docs/images/install.gif)
### Unattended with a manifest
Create `bitwarden.yaml`:
@@ -76,6 +80,7 @@ dotnet run -- migrate --root ./bwdata
- Versions default to the pinned `version.json` release; override per run with
`update --core-version <v> --web-version <v>` or in the manifest.
- A real `bwsh` binary can be produced with `dotnet publish -c Release --self-contained`.
- The demo GIFs are generated from VHS tapes in [`docs/`](docs/README.md).
## What's not done yet

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@@ -0,0 +1,29 @@
# bwsh install — live progress table marching to healthy.
# Render from POC/bwsh/: vhs docs/install.tape (setup: docs/README.md)
# Pre-pull the images first so the GIF shows orchestration, not downloads.
Output docs/images/install.gif
Require bwsh
Set Shell "bash"
Set FontSize 16
Set Width 1000
Set Height 460
Set Padding 24
Set TypingSpeed 60ms
Set WindowBar Colorful
Set BorderRadius 8
Set Theme "Dracula"
Hide
Type "export PS1='$ '"
Enter
Type "clear"
Enter
Show
Type "bwsh install --manifest bitwarden.yaml"
Sleep 700ms
Enter
Sleep 90s # pulling -> creating -> starting -> healthy, then the vault URL

33
POC/bwsh/docs/logs.tape Normal file
View File

@@ -0,0 +1,33 @@
# bwsh logs — per-service logs + the --export support bundle.
# Render from POC/bwsh/: vhs docs/logs.tape (setup: docs/README.md)
Output docs/images/logs.gif
Require bwsh
Set Shell "bash"
Set FontSize 16
Set Width 1200
Set Height 800
Set Padding 24
Set TypingSpeed 60ms
Set WindowBar Colorful
Set BorderRadius 8
Set Theme "Dracula"
Hide
Type "export PS1='$ '"
Enter
Type "clear"
Enter
Show
Type "bwsh logs identity -d lite"
Sleep 700ms
Enter
Sleep 3s
Type "bwsh logs --export support-bundle.zip -d lite"
Sleep 700ms
Enter
Sleep 3s

29
POC/bwsh/docs/status.tape Normal file
View File

@@ -0,0 +1,29 @@
# bwsh status — health table, versions, vault URL.
# Render from POC/bwsh/: vhs docs/status.tape (setup: docs/README.md)
Output docs/images/status.gif
Require bwsh
Set Shell "bash"
Set FontSize 16
Set Width 900
Set Height 620
Set Padding 24
Set TypingSpeed 60ms
Set WindowBar Colorful
Set BorderRadius 8
Set Theme "Dracula"
# Clean prompt so the recording shows the tool, not the shell.
Hide
Type "export PS1='$ '"
Enter
Type "clear"
Enter
Show
Type "bwsh status -d lite"
Sleep 700ms
Enter
Sleep 5s