framer-export 4.4.2 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -8
- package/dist/cli/index.js +2344 -464
- package/dist/cli/index.js.map +1 -1
- package/package.json +13 -5
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src="https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&logo=typescript&logoColor=white" alt="TypeScript" />
|
|
3
3
|
<img src="https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=node.js&logoColor=white" alt="Node.js" />
|
|
4
4
|
<img src="https://img.shields.io/badge/Puppeteer-40B5A4?style=for-the-badge&logo=puppeteer&logoColor=white" alt="Puppeteer" />
|
|
5
|
-
<img src="https://img.shields.io/badge/version-
|
|
5
|
+
<img src="https://img.shields.io/badge/version-5.0.0--beta.1-blue?style=for-the-badge" alt="Version" />
|
|
6
6
|
<img src="https://img.shields.io/badge/license-MIT-green?style=for-the-badge" alt="License" />
|
|
7
7
|
</p>
|
|
8
8
|
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
<br />
|
|
11
11
|
F-EXPORT
|
|
12
12
|
<br />
|
|
13
|
-
<sub>
|
|
13
|
+
<sub>Multi-Platform Website Exporter · 25+ platforms</sub>
|
|
14
14
|
</h1>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<b>Export
|
|
17
|
+
<b>Export 25+ website platforms into a fully working local mirror.</b><br/>
|
|
18
18
|
All assets, animations, fonts, videos, and scripts — downloaded, rewritten, and pretty-printed.<br/>
|
|
19
19
|
Badges and tracking removed. Ready to serve.
|
|
20
20
|
</p>
|
|
@@ -35,7 +35,9 @@
|
|
|
35
35
|
|
|
36
36
|
| Feature | Description |
|
|
37
37
|
|---------|-------------|
|
|
38
|
-
| **Multi-Platform** | Auto-detects Framer, Webflow,
|
|
38
|
+
| **Multi-Platform** | Auto-detects 25+ platforms (Framer, Webflow, Wix, Shopify, Notion, WordPress, Squarespace, Ghost, …) |
|
|
39
|
+
| **One File Per Platform** | Each exporter is a self-contained handler — adding one never touches the others |
|
|
40
|
+
| **Anti-Bot Aware** | Cloudflare / captcha challenges fail loudly with a clear message; never an empty export |
|
|
39
41
|
| **Full Mirror** | Downloads HTML, CSS, JS, images, fonts, and videos |
|
|
40
42
|
| **Badge Removal** | Strips "Made in Webflow", Wix ads banner, Framer badge |
|
|
41
43
|
| **URL Rewriting** | All CDN URLs rewritten to local relative paths |
|
|
@@ -44,7 +46,7 @@
|
|
|
44
46
|
| **SEO Optimization** | Injects canonical, OG tags, and robots meta if missing |
|
|
45
47
|
| **Interactive Setup** | Arrow-key wizard with platform detection and progress animation |
|
|
46
48
|
| **Cooking Animation** | Shimmer gradient progress indicator during export |
|
|
47
|
-
| **Local Server** | Built-in serve.
|
|
49
|
+
| **Local Server** | Built-in serve.js with SPA fallback and CORS headers |
|
|
48
50
|
| **Smart Naming** | Output folder auto-named from URL (e.g. `webflow-mysite/`) |
|
|
49
51
|
|
|
50
52
|
## 🚀 Quick Start
|
|
@@ -64,7 +66,7 @@ npm run dev -- https://mysite.webflow.io
|
|
|
64
66
|
npm run dev -- https://user.wixsite.com/my-site
|
|
65
67
|
|
|
66
68
|
# Serve the exported site
|
|
67
|
-
cd webflow-mysite && node serve.
|
|
69
|
+
cd webflow-mysite && node serve.js
|
|
68
70
|
```
|
|
69
71
|
|
|
70
72
|
## 🌐 Platforms
|
|
@@ -138,7 +140,7 @@ npm run format # Format with Prettier
|
|
|
138
140
|
```
|
|
139
141
|
webflow-mysite/
|
|
140
142
|
├── index.html # Main page (URLs rewritten, badges stripped)
|
|
141
|
-
├── serve.
|
|
143
|
+
├── serve.js # Local HTTP server with SPA fallback
|
|
142
144
|
├── styles/ # CSS files
|
|
143
145
|
├── scripts/
|
|
144
146
|
│ ├── vendor/ # Platform JS modules (pretty-printed)
|
|
@@ -202,7 +204,7 @@ src/
|
|
|
202
204
|
7. **Integrity Strip** - SHA integrity hashes and CORS attributes removed for local serving
|
|
203
205
|
8. **URL Rewrite** - All CDN URLs in HTML, CSS, and JS rewritten to local paths
|
|
204
206
|
9. **Pretty-Print** - Minified JS files reformatted with Prettier for readability
|
|
205
|
-
10. **Output** - Clean `index.html` + `serve.
|
|
207
|
+
10. **Output** - Clean `index.html` + `serve.js` written to output directory
|
|
206
208
|
|
|
207
209
|
## 🤝 Contributing
|
|
208
210
|
|