@replisite/cli
v0.1.2
Published
Convert Framer, Webflow, WordPress, Wix and Squarespace sites to code you own, from the command line.
Maintainers
Readme
@replisite/cli
Convert a Framer, Webflow, WordPress, Wix or Squarespace site into code you own, from the command line. No dependencies; Node 20 or later.
npx @replisite/cli convert https://your-site.com --yesInstall it to get a replisite command (npm install -g @replisite/cli), or run it with npx @replisite/cli.
Commands
replisite convert <url> [options] Convert a published site and download it as a ZIP
replisite detect <url> [--json] Show which builder, CMS, framework and host a site uses
replisite sites List the sites on your account
replisite export <site-id> [options] Download an edited site from your accountconvert
| Option | Meaning |
| --- | --- |
| --format html\|nextjs | Output. Default html. |
| --platform <name> | auto, framer, webflow, wordpress, wix or squarespace. Default auto. |
| --pages <n> | Most pages to convert. Default: the server's limit. |
| --out <file.zip> | Where to save. Default replisite-<host>.zip. |
| --yes | Confirm you own the site or have permission to reproduce it. Asked interactively otherwise. |
Large sites convert in steps; the CLI resumes after each one, and after a dropped connection, the same way the website does. When it finishes it prints a link to open the conversion in the visual editor.
sites and export
These use your Replisite account through an agent token. Create one at https://replisite.com/agents, then:
export REPLISITE_TOKEN=rpl_…
npx @replisite/cli sites
npx @replisite/cli export <site-id> --format nextjs --components --contentexport includes every edit saved in the editor, plus the site's analytics and redirects. --cleanup, --readable, --components and --content override the options saved with the project.
Global options
--host <url> (or REPLISITE_HOST) points at another Replisite server. --help and --version do what they say.
Only convert sites you own or have permission to reproduce.
