Overview
By default, Artifactuse loads panels from our CDN. You can deploy panels to your own CDN for full control.Panels (Open Source)
Panels are open source and free to self-host. Included:- JSON Viewer
- SVG Viewer
- Diff Viewer
- HTML Preview
- React Preview
- Vue Preview
- Form Panel
Setup
1
Clone the repository
2
Install and build
3
Deploy to your CDN
Option A: Cloudflare Workers (Recommended)Deploy to Cloudflare’s edge network for low-latency global delivery.That’s it! Your panels are now live on Cloudflare’s edge network.
Option B: AWS S3 + CloudFront
Your CDN structure should look like:
Custom Domain
Custom Domain
- Add your domain to Cloudflare
- Update
worker/wrangler.toml:
- Deploy:
npm run deploy:cf
Deployment Commands
Deployment Commands
Option B: AWS S3 + CloudFront
Manual S3 Deployment
Manual S3 Deployment
Copy each panel’s
dist/ folder to your CDN:Your CDN structure should look like:
4
Configure the SDK
Point the SDK to your CDN:
Studio Panels (Pro)
Studio panels (Canvas Editor, Video Editor, Code Runtime) are available for Pro customers. Included:- Canvas Editor
- Video Editor
- Code Runtime (JavaScript & Python)
Setup
1
Get access
Subscribe to Pro to get repository access.
2
Clone, build, deploy
Same process as panels:Option A: Cloudflare Workers (Recommended)Option B: AWS S3Your CDN structure should include:
3
Configure the SDK
Configuration
CDN URL
Custom Panel Mapping
You can add, override, or disable specific panels without changing the base CDN:Mixed CDN Example
Use different CDNs for different panels:Runtime Panel Registration
Register or override panels at runtime:Version Pinning
Pin to a specific version for stability:CORS
If your CDN is on a different domain, ensure CORS headers are configured:Cloudflare Workers automatically handles CORS headers. No additional configuration needed.
Comparison
Next Steps
Panels
Clone the open source repository
Custom Panels
Learn how to build custom panels
Pro Panels
Get access to Studio panels