launchframe 0.2.6 → 0.3.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/LICENSE +1 -1
- package/README.md +56 -147
- package/package.json +6 -6
- package/template/LICENSE +21 -0
- package/template/launchframe.config.json +14 -0
- package/template/package-lock.json +1908 -830
- package/template/package.json +2 -11
- package/template/CHANGELOG.md +0 -80
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025 JCodesMore
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,147 +1,56 @@
|
|
|
1
|
-
# Launchframe
|
|
2
|
-
|
|
3
|
-
> **Scaffold a SaaS-ready Next.js codebase from any URL — in one command.**
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
npx launchframe@latest <url> "<saas idea>"
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
Launchframe drops an [AI-cloner template](https://github.com/JCodesMore/ai-website-cloner-template) into **your current folder (project root)** by default — so **`.cursor`**, **`.claude`**, and the rest of the dotfolders sit where your editor expects them when you open that folder. It **runs `npm install` for you**. Then tell your AI **Build it** (same as `/clone-website`).
|
|
10
|
-
|
|
11
|
-
## Why Launchframe
|
|
12
|
-
|
|
13
|
-
Cloning a website is a solved problem if you have a great AI agent and a great template. What's missing is **a one-command entrypoint that wires those together with your specific intent**.
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
## CLI Reference
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
npx launchframe@latest <url> "<saas idea>" [options]
|
|
61
|
-
|
|
62
|
-
Arguments:
|
|
63
|
-
<url> URL of the site you want to clone (e.g. https://linear.app)
|
|
64
|
-
<saas idea> One-line description of the SaaS you're building
|
|
65
|
-
|
|
66
|
-
Options:
|
|
67
|
-
--dir <path> Output folder (default: . — current directory / project root)
|
|
68
|
-
--force Merge into a non-empty directory (use with care)
|
|
69
|
-
--skip-install Skip npm install (for CI / debugging only)
|
|
70
|
-
--help, -h Show this message
|
|
71
|
-
--version, -v Show the version
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### Examples
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
npx launchframe@latest https://linear.app "AI-powered customer feedback platform"
|
|
78
|
-
|
|
79
|
-
npx launchframe@latest https://vercel.com "DevOps for ML" --dir launchframe-app
|
|
80
|
-
|
|
81
|
-
# Hostname-only — launchframe will prepend https://
|
|
82
|
-
npx launchframe@latest stripe.com "B2B billing for AI agent companies"
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Supported AI Agents
|
|
86
|
-
|
|
87
|
-
| Agent | Status |
|
|
88
|
-
| ------------------------------------------------------------- | -------------------------- |
|
|
89
|
-
| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | **Recommended** — Opus 4.7 |
|
|
90
|
-
| [Codex CLI](https://github.com/openai/codex) | Supported |
|
|
91
|
-
| [Cursor](https://cursor.com/) | Supported |
|
|
92
|
-
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | Supported |
|
|
93
|
-
| [GitHub Copilot](https://github.com/features/copilot) | Supported |
|
|
94
|
-
| [OpenCode](https://opencode.ai/) | Supported |
|
|
95
|
-
| [Windsurf](https://codeium.com/windsurf) | Supported |
|
|
96
|
-
| [Cline](https://github.com/cline/cline) / Roo Code | Supported |
|
|
97
|
-
| [Continue](https://continue.dev/) | Supported |
|
|
98
|
-
| [Amazon Q](https://aws.amazon.com/q/developer/) | Supported |
|
|
99
|
-
| [Augment Code](https://www.augmentcode.com/) | Supported |
|
|
100
|
-
| [Aider](https://aider.chat/) | Supported |
|
|
101
|
-
|
|
102
|
-
Every supported agent receives the same `/clone-website` skill — it's auto-synced from a single source-of-truth file in the template.
|
|
103
|
-
|
|
104
|
-
## How `/clone-website` Works
|
|
105
|
-
|
|
106
|
-
A multi-phase pipeline runs inside your AI agent. Browser automation MCP (Chrome MCP / Playwright MCP / Browserbase MCP) is required.
|
|
107
|
-
|
|
108
|
-
1. **Reconnaissance** — full-page screenshots at desktop + mobile, design-token extraction, mandatory scroll/click/hover/responsive sweep
|
|
109
|
-
2. **Foundation** — updates fonts, colors, globals.css; downloads all assets; extracts SVG icons
|
|
110
|
-
3. **Component Specs** — writes detailed `.spec.md` files for every section with exact `getComputedStyle()` values
|
|
111
|
-
4. **Parallel Build** — dispatches builder agents in git worktrees, one per section/component
|
|
112
|
-
5. **SaaS Rebrand Pass** — swaps product name, headlines, feature copy, CTAs, and brand marks to match `launchframe.config.json#idea`. Spacing, color, typography, animations stay 1:1
|
|
113
|
-
6. **Assembly + Visual QA** — merges worktrees, wires `src/app/page.tsx`, runs side-by-side diff against the original
|
|
114
|
-
|
|
115
|
-
Each builder agent gets the full component spec inline. No guessing.
|
|
116
|
-
|
|
117
|
-
## Editing the Config Mid-Project
|
|
118
|
-
|
|
119
|
-
`launchframe.config.json` is the contract between you and the skill. Change either field any time and re-invoke `/clone-website`:
|
|
120
|
-
|
|
121
|
-
```json
|
|
122
|
-
{
|
|
123
|
-
"url": "https://stripe.com",
|
|
124
|
-
"idea": "Usage-based billing for AI agent startups"
|
|
125
|
-
}
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
## Built On
|
|
129
|
-
|
|
130
|
-
- The amazing [`ai-website-cloner-template`](https://github.com/JCodesMore/ai-website-cloner-template) by [@JCodesMore](https://github.com/JCodesMore) — Launchframe vendors and extends this as its payload
|
|
131
|
-
- [Next.js 16](https://nextjs.org/), [React 19](https://react.dev/), [shadcn/ui](https://ui.shadcn.com/), [Tailwind CSS v4](https://tailwindcss.com/)
|
|
132
|
-
|
|
133
|
-
## Prerequisites
|
|
134
|
-
|
|
135
|
-
- [Node.js](https://nodejs.org/) 18+ to run the CLI
|
|
136
|
-
- [Node.js](https://nodejs.org/) 24+ inside the scaffolded project (for Next.js 16)
|
|
137
|
-
- An AI coding agent with browser automation MCP
|
|
138
|
-
|
|
139
|
-
## Not Intended For
|
|
140
|
-
|
|
141
|
-
- Phishing or impersonation
|
|
142
|
-
- Passing off someone else's design as your own
|
|
143
|
-
- Violating terms of service (some sites prohibit scraping or reproduction — check first)
|
|
144
|
-
|
|
145
|
-
## License
|
|
146
|
-
|
|
147
|
-
MIT — see [LICENSE](./LICENSE).
|
|
1
|
+
# Launchframe
|
|
2
|
+
|
|
3
|
+
> **Scaffold a SaaS-ready Next.js codebase from any URL — in one command.**
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx launchframe@latest <url> "<saas idea>"
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Launchframe drops an [AI-cloner template](https://github.com/JCodesMore/ai-website-cloner-template) into **your current folder (project root)** by default — so **`.cursor`**, **`.claude`**, and the rest of the dotfolders sit where your editor expects them when you open that folder. It **runs `npm install` for you**. Then tell your AI **Build it** (same as `/clone-website`).
|
|
10
|
+
|
|
11
|
+
## Why Launchframe
|
|
12
|
+
|
|
13
|
+
Cloning a website is a solved problem if you have a great AI agent and a great template. What's missing is **a one-command entrypoint that wires those together with your specific intent**.
|
|
14
|
+
|
|
15
|
+
- Pick a real, beautiful, production-tested landing page
|
|
16
|
+
- Pick the SaaS you want to ship
|
|
17
|
+
- Get a buildable Next.js codebase in seconds, ready for your AI agent to clone + rebrand
|
|
18
|
+
|
|
19
|
+
## Quick Start
|
|
20
|
+
|
|
21
|
+
From an **empty** project folder (or after `git init` only):
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
mkdir my-saas && cd my-saas
|
|
25
|
+
npx launchframe@latest https://linear.app "AI-powered customer feedback platform"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Then open **this folder** in [Cursor](https://cursor.com/) and chat: **Build it.**
|
|
29
|
+
|
|
30
|
+
Files land in the **current directory** so workspace rules apply. Prefer a subfolder? Use `--dir launchframe-app`.
|
|
31
|
+
|
|
32
|
+
## CLI Reference
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
npx launchframe@latest <url> "<saas idea>" [options]
|
|
36
|
+
|
|
37
|
+
Options:
|
|
38
|
+
--dir <path> Output folder (default: .)
|
|
39
|
+
--force Merge into a non-empty directory (use with care)
|
|
40
|
+
--skip-install Skip npm install (CI / debugging)
|
|
41
|
+
--help, -h Help
|
|
42
|
+
--version, -v Version
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Monorepo (this repository)
|
|
46
|
+
|
|
47
|
+
- **`template/`** — Next.js app + agent skills (what `npx launchframe` copies).
|
|
48
|
+
- **`bin/launchframe.mjs`** — CLI entrypoint.
|
|
49
|
+
|
|
50
|
+
To work on the app: `cd template && npm install && npm run dev`.
|
|
51
|
+
|
|
52
|
+
To verify the npm tarball before publish: `npm pack` at the repo root — the package must include `bin/` and `template/`.
|
|
53
|
+
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
MIT — see [LICENSE](./LICENSE).
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "launchframe",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Scaffold a SaaS-ready Next.js codebase from any URL.
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "Scaffold a SaaS-ready Next.js codebase from any URL. Copies the AI-cloner template wired with your URL and SaaS idea so your agent can run /clone-website.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"author": "
|
|
7
|
-
"homepage": "https://github.com/
|
|
6
|
+
"author": "JCodesMore",
|
|
7
|
+
"homepage": "https://github.com/JCodesMore/ai-website-cloner-template#readme",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/JCodesMore/ai-website-cloner-template.git"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/JCodesMore/ai-website-cloner-template/issues"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"launchframe",
|
package/template/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 JCodesMore
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://launchframe.dev/schema/launchframe.config.json",
|
|
3
|
+
"url": "https://vercel.com/",
|
|
4
|
+
"idea": "saas-idea",
|
|
5
|
+
"createdAt": "2026-05-15T00:27:49.833Z",
|
|
6
|
+
"launchframeVersion": "0.2.6",
|
|
7
|
+
"notes": [
|
|
8
|
+
"The /clone-website skill reads this file at the start of every run.",
|
|
9
|
+
"After scaffold: open this folder in Cursor (or your AI editor) and say **Build it** — same workflow.",
|
|
10
|
+
"`url` is the visual source-of-truth (clone its layout, spacing, tokens, motion).",
|
|
11
|
+
"`idea` is the rebranding directive applied AFTER the pixel-perfect clone.",
|
|
12
|
+
"Edit either field and re-invoke the skill to re-run."
|
|
13
|
+
]
|
|
14
|
+
}
|