v1.0 ยท 96% size reduction

Convert Any Website
to Figma

Extract computed HTML/CSS from any URL with optimized output, style deduplication, compression, and encryption.

Quick Start
# Fetch page data as JSON
curl "https://v1.lyoko.xyz/api/fetch-url?url=https://example.com"

# With viewport and format options
curl "https://v1.lyoko.xyz/api/fetch-url?\
url=https://example.com&\
viewport=mobile&\
format=base64"

# Encrypted binary format
curl "https://v1.lyoko.xyz/api/fetch-url?\
url=https://example.com&\
format=binary&\
encrypt=true&\
encryptionKey=your-secret" -o page.wtf
โšก

Fast

Powered by Puppeteer with Chrome, running on Vercel's edge network.

๐Ÿง 

Intelligent

Smart style deduplication and CSS variable extraction for design system analysis.

๐Ÿ”

Secure

AES-256-GCM encryption with gzip compression in our custom WTF format.

๐Ÿ“ฑ

Multi-Viewport

Desktop (1440px), Tablet (768px), or Mobile (375px) viewports supported.

๐ŸŽฏ

Theme Extraction

CSS variables extracted to a separate theme object for design system analysis.

๐Ÿ“ฆ

96% Smaller

Style deduplication, compact bounding rects, and className filtering.

API Endpoints

GET /api/fetch-url

Fetch computed HTML/CSS from any URL with full customization options.

url (required) viewport cssMode format encrypt encryptionKey
POST /api/fetch-url

Same as GET but accepts JSON body for complex requests.

All GET params in body
GET /test-html-css

Comprehensive test page with all HTML tags and CSS properties for testing.

96.9%

Size Reduction

500+

CSS Properties

3

Viewports

AES-256

Encryption