deframer

Use deframer

Export a site

deframer create turns a published Framer site into a Next.js project in a folder on your computer.

npx deframer@latest create https://yoursite.framer.website ./site

The first argument is the address of the published site. The second is the folder for the project; it must be empty or new. Without it, deframer names the folder after the site.

What happens

  1. deframer asks the server to build the site. The server checks your plan: your first site is free (one per account and computer); others need Lifetime.
  2. The build waits for a free builder. The terminal shows your place in line, then each step: reading pages, downloading images and fonts, building the project.
  3. The finished project is downloaded and unpacked into the folder. A broken download resumes where it stopped.
  4. deframer installs the project's packages and prints the command to start it.

If you press Ctrl+C while it waits, the build keeps running on the server. Run the same command again within 24 hours to pick it up.

Update the project later

When you change the site in Framer, run this in the project folder:

npx deframer@latest sync

Files you edited are kept and listed; everything else is replaced with the new version. Texts you changed in content.overrides.json are sent with the build and applied. See Make it yours.

Options

create and sync take the same options.

OptionWhat it does
--no-installDownload the project but do not install its packages.
--startBuild the project for production and start it at http://127.0.0.1:3000 (it keeps running).
--verifyStart it and compare it with the published site (needs npx playwright install chromium).
--port <port>Port for --start and --verify. Default 3000.
--colors <file>A JSON file with the site's Framer color styles, for readable colour names in the code.
--jsonPrint the result as JSON, and progress as JSON lines, for scripts and agents.

Run the project

The folder is a normal Next.js project. From inside it:

pnpm dev

Build and host it like any Next.js app: pnpm build, then deploy to Vercel, Netlify, Cloudflare or your own server.

Custom domains work too: give the address your site is published at, like https://www.example.com. See Plans and billing for which sites your plan covers.