FvRE v3.1 — Recipe → FVS App Converter (results)

Took the v3.0 recipe for Oscar, ran it through the converter, produced a FVS app spec in two modes.

What it does

Reads a v3.0 recipe, produces a FVS-compatible app:

Three modes

ModeOutputUse caseStatus
A — Static mirror Rendered HTML + downloaded assets + fvs-app.json Archival, backup, snapshot done
B — Live edit fvs-app.json with editable content blocks Operator wants the content editable done (spec)
C — Hybrid Static shell + editable zones Marketing sites, speed + selective edit same code path

Test: Oscar

Source: wp-oscar.freshvibeapps.com (WordPress + Elementor)

Recipe: 7 pages, 28 assets, 10 interactions, 134 DOM root nodes

Converter output (Mode A):

Converter output (Mode B):

Sample of mapped blocks (Mode B, first 5 of Oscar's home page)

[
  {"type": "site-header", "source_role": "header", "fvs_confidence": 0.6},
  {"type": "nav", "source_role": "navigation", "fvs_confidence": 0.6},
  {"type": "modal", "source_role": "modal", "fvs_confidence": 0.6},
  {"type": "rich-text", "source_role": "content", "fvs_confidence": 0.6,
   "text": "Learn with Nature"},
  {"type": "rich-text", "source_role": "content", "fvs_confidence": 0.6,
   "text": "Explore the World of Trees"},
  ...
]

Block mapper (v3.1)

The classifier looks at the DOM role hint from v3.0 and maps to FVS block types:

DOM roleFVS block
herohero
headersite-header
footersite-footer
navigationnav
sidebarsidebar
modalmodal
form-sectionform
testimonialtestimonial-carousel
teamteam-grid
pricingpricing-table
featuresfeature-grid
galleryimage-gallery
card-sectioncard-grid
ctacta-banner
contentrich-text

Known limitations (v3.1)

How to use

# Scan a site
python3 fvre_v3_scan.py https://example.com --out recipe.json

# Convert to FVS app (static mirror)
python3 fvre_v3_convert.py recipe.json --mode A --out ./my-fvs-app

# Or convert to editable FVS spec
python3 fvre_v3_convert.py recipe.json --mode B --out ./my-fvs-app-edit

Next: v3.2 (CMS as the editor)

Now we have a spec format that describes the FVS app. v3.2 wires up the FreshCards editor so the operator can edit any of the content blocks inline. The spec stays the same — v3.2 just adds the editing surface.

← back to v3 design · ← back to index