Professional web interface for DAZ Studio automation - designed for users who prefer visual, form-based interactions over command-line interfaces.
Vangard Pro is a modern, colorful web interface that provides:
- Visual Command Discovery: Browse all available commands with icons and descriptions
- Dynamic Form Generation: Automatically generated forms based on command parameters
- Real-time Validation: Instant feedback on required fields and input types
- Professional Design: Dark theme with glassmorphism effects and smooth animations
- User-Friendly: No command-line knowledge required
pip install -e .# Direct launch
vangard-pro
# Or through the main launcher
vangard proThe server will start at: http://127.0.0.1:8000
Navigate to http://127.0.0.1:8000 in your web browser to access the Pro interface.
- Searchable Command List: Quickly find commands by name or description
- Command Icons: Visual indicators for different command types
- Organized Categories: Commands are alphabetically sorted for easy navigation
- Auto-generated Forms: Forms are created automatically from command definitions
- Input Validation: Required fields are clearly marked
- Type-specific Inputs: Different input types (text, number, checkbox, etc.) based on parameter types
- Help Tooltips: Hover over the info icon to see parameter descriptions
- Real-time Feedback: See command execution results immediately
- Syntax Highlighting: Color-coded output (success, error, info)
- Collapsible Output: Hide/show output panel as needed
- Timestamped Logs: Each output line includes a timestamp
- Loading Indicators: Visual feedback during command execution
- Toast Notifications: Non-intrusive success/error messages
- Theme Toggle: Switch between dark and light themes
- Responsive Design: Works on desktop and tablet devices
User Browser
↓
vangard/static/index.html (Frontend)
↓
JavaScript App (app.js)
↓ (HTTP POST)
FastAPI Server (vangard/pro.py)
↓
Command Classes
↓
DAZ Studio
Backend:
- FastAPI (Web server)
- Python command classes
- Existing Vangard infrastructure
Frontend:
- Vanilla JavaScript (no framework dependencies)
- CSS3 with custom properties for theming
- HTML5 semantic markup
Color Palette:
- Primary: Indigo (#6366f1)
- Success: Emerald Green (#10b981)
- Warning: Amber (#f59e0b)
- Error: Red (#ef4444)
- Accent: Purple (#8b5cf6)
Visual Style:
- Dark theme by default (professional for 3D work)
- Glassmorphism effects
- Smooth transitions and animations
- Icon-based visual language
- Browse the command list in the left sidebar
- Use the search box to filter commands by name or description
- Click on a command to view its details and form
- Required Fields: Marked with a red asterisk (*)
- Optional Fields: Can be left empty
- Help Icons: Click the ⓘ icon to see parameter descriptions
- Array Inputs: Enter comma-separated values for array parameters
- Fill out the form with the required parameters
- Click the "Execute Command" button
- Watch the loading indicator while the command runs
- View the results in the output panel below the form
- Success Output: Displayed in green
- Error Output: Displayed in red
- Info Output: Displayed in blue
- Clear Output: Click the trash icon to clear the output
- Collapse/Expand: Click the arrow icon to toggle the output panel
While using Pro mode, you can also access the interactive API documentation:
- Swagger UI: http://127.0.0.1:8000/docs
- OpenAPI Schema: http://127.0.0.1:8000/openapi.json
Edit /vangard/static/js/app.js and update the COMMAND_ICONS object:
const COMMAND_ICONS = {
'your-command': '🎨', // Add your custom icon mapping
// ...
};Edit /vangard/static/css/styles.css and modify the CSS variables in the :root selector:
:root {
--color-primary: #your-color;
/* ... */
}All styles are in /vangard/static/css/styles.css. The CSS is organized into sections:
- Base Styles
- Header
- Sidebar
- Main Content
- Forms
- Output
- Utilities
| Feature | CLI | Interactive | GUI | Server | Pro |
|---|---|---|---|---|---|
| Visual Interface | ❌ | ❌ | ✅ | ❌ | ✅ |
| No Command Syntax | ❌ | ❌ | ✅ | ✅ | ✅ |
| Form-based Input | ❌ | ❌ | ✅ | ✅ | ✅ |
| Modern Design | ❌ | ❌ | ❌ | N/A | ✅ |
| Real-time Feedback | ✅ | ✅ | ✅ | ✅ | ✅ |
| Command Discovery | ❌ | ✅ | ✅ | ||
| API Access | ❌ | ❌ | ❌ | ✅ | ✅ |
| Web-based | ❌ | ❌ | ❌ | ✅ | ✅ |
If port 8000 is already in use, you can modify the port in /vangard/pro.py:
uvicorn.run(
"vangard.pro:app",
host="127.0.0.1",
port=8001, # Change to your preferred port
# ...
)Ensure the static files are properly included in your installation:
pip install -e . --force-reinstallPro mode works best with modern browsers:
- Chrome/Edge 90+
- Firefox 88+
- Safari 14+
Potential features for future versions:
- Command history and favorites
- Batch command execution
- WebSocket support for real-time output streaming
- File upload widget for file path parameters
- Command templates and presets
- Multi-language support
- Keyboard shortcuts
- Desktop app packaging (via pywebview or Electron)
To contribute to Pro mode:
- Frontend code:
/vangard/static/ - Backend code:
/vangard/pro.py - Follow the existing code style and design patterns
- Test in multiple browsers before submitting PRs
Same as the main Vangard project - GNU Affero General Public License v3.0.
Questions or Issues?