Generate visuals
from code.
Replace manual screenshot workflows with a deterministic, version-controlled pipeline. Define your visuals in JSON, run a single CLI command, and watch your docs update automatically.
How it works
Transform your documentation workflow with a simple CLI that captures, versions, and syncs your visual assets automatically.
Define your visuals
Create a docsync.config.json file that specifies exactly what to capture—URLs, selectors, viewports, and personas.
Run the CLI
Execute npx poliage run locally or in CI. The headless browser captures all visuals deterministically.
Docs update instantly
Approved visuals upload to the CDN. Your documentation references permanent URLs that always serve the latest approved version.
Configuration as code
Your visual definitions live in JSON alongside your source code. Review changes in pull requests, roll back with git, and maintain a complete version history of every documentation asset.
{
"project": "acme-dashboard",
"baseUrl": "http://localhost:3000",
"output": "./docs/images",
"visuals": [
{
"key": "login-modal",
"path": "/auth/login",
"selector": "[data-testid='login-modal']",
"viewport": { "width": 1280, "height": 800 }
},
{
"key": "dashboard-overview",
"path": "/dashboard",
"actions": ["waitForSelector('.chart-loaded')"],
"personas": ["admin", "user"]
},
{
"key": "settings-panel",
"path": "/settings",
"selector": "[data-testid='settings']",
"locales": ["en", "ko", "ja"]
}
],
"ci": {
"parallel": 4,
"retries": 2,
"uploadOnSuccess": true
}
}Built for production workflows
Every feature designed to eliminate manual work and ensure consistency across your entire documentation surface.
Headless Browser Capture
Powered by Playwright for consistent captures.
CI/CD Integration
Run captures in your existing pipeline.
Version Control
Track every visual change in Git.
Ready to automate your visuals?
Stop manually capturing and updating screenshots. Start generating deterministic visuals from code with a single CLI command.
No credit card required • 14-day free trial • Cancel anytime
Poliage Platform