Conversation
Added professional demo screenshot (tui-final.gif) showing devx's TUI interface with realistic demo sessions and tmux previews. Included automated scripts to regenerate the demo: - setup-demo.sh: Sets up demo environment (Caddy routes, sessions, tmux) - create-demo-tmux-sessions.sh: Creates fake tmux sessions with realistic output - create-demo-caddy-routes.sh: Creates matching Caddy routes - restore-demo.sh: Cleans up demo environment - tui-final.tape: VHS recording script - demo-env/: Demo session and project configurations The demo uses fake data (no information leakage) but shows real tmux previews with scripted content for a professional presentation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Comprehensive guide for regenerating demos with context for future AI agents. Includes architecture, troubleshooting, and design decisions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Added animated demo screenshot at the top of README for immediate visual impact, showcasing devx's terminal interface. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
WalkthroughAdds documentation, demo assets, and scripts to generate and record DevX TUI screenshots: README GIF, Caddy config and route scripts, tmux session scripts, demo JSON configs, setup/restore orchestration scripts, and a VHS tape for a scripted TUI walkthrough. No runtime or API changes. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant Setup as setup-demo.sh
participant FS as Filesystem (~/.config/devx)
participant Caddy as Caddy API (localhost:2019)
participant Tmux as tmux
participant VHS as vhs (tui-final.tape)
participant TUI as devx TUI
participant Restore as restore-demo.sh
User->>Setup: run setup-demo.sh
Setup->>Caddy: validate srv1 server present
Setup->>FS: backup existing sessions/projects.json
Setup->>FS: install demo sessions/projects JSON
Setup->>Tmux: create 5 demo tmux sessions
Setup->>Caddy: POST 9 routes to /config/apps/http/servers/srv1/routes
Setup-->>User: demo environment ready
User->>VHS: play tape
VHS->>TUI: send scripted inputs
TUI-->>VHS: render UI states (navigation, preview, hostnames)
VHS-->>User: produce recording
User->>Restore: run restore-demo.sh
Restore->>Tmux: kill demo sessions
Restore->>Caddy: delete demo routes
Restore->>FS: restore backups or remove demo configs
Restore-->>User: demo environment cleaned up
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
screenshots/create-demo-tmux-sessions.sh (1)
6-6: Drop unusedSCRIPT_DIR.
SCRIPT_DIRis never referenced, which trips shellcheck (SC2034) and adds noise. Please remove it to keep the script clean.-SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
screenshots/tui-final.gifis excluded by!**/*.gif
📒 Files selected for processing (12)
README.md(1 hunks)screenshots/GENERATING.md(1 hunks)screenshots/caddy-config.json(1 hunks)screenshots/create-demo-caddy-routes.sh(1 hunks)screenshots/create-demo-tmux-sessions.sh(1 hunks)screenshots/delete-demo-caddy-routes.sh(1 hunks)screenshots/demo-env/.config/devx/projects.json(1 hunks)screenshots/demo-env/.config/devx/sessions.json(1 hunks)screenshots/kill-demo-tmux-sessions.sh(1 hunks)screenshots/restore-demo.sh(1 hunks)screenshots/setup-demo.sh(1 hunks)screenshots/tui-final.tape(1 hunks)
🧰 Additional context used
🪛 Shellcheck (0.11.0)
screenshots/create-demo-tmux-sessions.sh
[warning] 6-6: SCRIPT_DIR appears unused. Verify use (or export if used externally).
(SC2034)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Build
- Add --fail and -S to curl in create-demo-caddy-routes.sh so HTTP errors are detected and the script aborts before printing success - Preserve existing backups in setup-demo.sh by only creating backups if they don't already exist 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Summary
Changes
Screenshot Generation System
The demo uses:
Scripts included:
setup-demo.sh- Complete environment setupcreate-demo-tmux-sessions.sh- Realistic terminal contentcreate-demo-caddy-routes.sh- Route provisioningrestore-demo.sh- Full cleanupTest Plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Chores