How res-studio/res-studio works
RES Studio is a local-first website asset inspector: a user submits a target, the API captures assets through bounded HTTP or optional browser capture, then supports deeper discovery, analysis, and export. The repository also contains a distinct Java-mod-to-Bedrock conversion capability. Edges reflect shown calls, indexed references, or README statements; some analysis and export internals are not shown in the excerpts.
Main entry points: server.py API and static scan · bedrock_converter.py Static pack conversion · deep_scan.py Recursive discovery · playwright_scan.py Playwright capture
Components 18
Web capture
- API and static scan
server.py - Pinned HTTP transport
server.py - curl fallback
curl_transport.py - Recursive discovery
deep_scan.py - Background scan jobs
deep_jobs.py - Playwright capture
playwright_scan.py - Isolated browser broker
isolated_chromium.py - Chromium worker
chromium_worker.py
Inspection and export
- Captured assets
server.py - JavaScript analysis
engine.mjs - ZIP and JSON export
server.py
Local integrations
- MCP adapter
mcp_server.py
Bedrock conversion
- Mod archive inspection
java_mod_analyzer.py - Static pack conversion
bedrock_converter.py - Recipe mapping
bedrock_recipes.py - Item mapping
bedrock_items.py - Block mapping
bedrock_blocks.py
Other components
- Local user
Connections 20
- Local user → API and static scan: submits target
README.md - API and static scan → Pinned HTTP transport: fetches assets
server.py - API and static scan → curl fallback: falls back
server.py - API and static scan → Recursive discovery: starts discovery
server.py - Background scan jobs → Recursive discovery: runs discovery
deep_jobs.py - API and static scan → Background scan jobs: manages jobs
server.py - Playwright capture → Pinned HTTP transport: fetches resources
playwright_scan.py - API and static scan → Isolated browser broker: starts capture
README.md - Isolated browser broker → Chromium worker: launches worker
README.md - Pinned HTTP transport → Captured assets: returns content
server.py - Recursive discovery → Captured assets: collects files
deep_scan.py - Playwright capture → Captured assets: returns capture
playwright_scan.py - Captured assets → JavaScript analysis: analyzed by
README.md - API and static scan → ZIP and JSON export: exports findings
README.md - MCP adapter → API and static scan: uses API
README.md - Local user → Static pack conversion: provides JAR
README.md - Static pack conversion → Mod archive inspection: inspects archive
bedrock_converter.py - Static pack conversion → Recipe mapping: maps recipes
bedrock_converter.py - Static pack conversion → Item mapping: maps items
bedrock_converter.py - Static pack conversion → Block mapping: maps blocks
bedrock_converter.py