Platform Mode
Platform Mode uses Reshot's managed infrastructure, giving you a visual review queue, version history, and automatic CDN delivery.
Configuration
JSON
{
"storage": {
"type": "reshot"
}
}
Features
| Feature | Description |
|---|---|
| Review Queue | Approve/reject visual changes before they go live |
| Version History | Complete history of all visual versions |
| Unbreakable URLs | Permanent URLs that auto-update when you approve changes |
| CDN Delivery | Global edge caching for fast asset loading |
| GitHub Integration | Block PRs until visuals are approved |
| Team Permissions | Owner, Member, Viewer roles |
Setup
1. Authenticate
Terminal
reshot auth
This opens a browser window for authentication and stores credentials in ~/.reshot/config.json.
2. Configure Storage
Set storage type to reshot in your config:
JSON
{
"storage": {
"type": "reshot"
}
}
3. Publish
Terminal
reshot publish
Review Workflow
When you publish:
- New Visuals: Marked as
PENDING - Changed Visuals: Marked as
PENDING(requires review) - Unchanged Visuals: Automatically
APPROVED
Team members review changes in the dashboard before they go live.
1
View Published Commits
Published assets appear in the CLI Commits page for review.
initial2
Review & Approve
Click a commit to review changed visuals and approve or reject.
clickAsset URLs
Platform mode provides permanent CDN URLs:
Code
https://cdn.reshot.dev/v1/assets/[project-id]/[visual-key]
These URLs never change. When you approve a new version, the same URL serves the updated image.
Platform Mode requires a Reshot account. Visit reshot.dev to sign up.