NextJS → Flask, minus the weight
Fewer files. Fewer dependencies. Fewer tokens every time an AI reads your code.
Exhibit A: a “normal” NextJS app
Live scan of dogwalker-next (snapshot) (0.1s)
Source code
2,924 lines
53 files · 87.5 KB
LLM tokens to read it
~22,397
every time an AI works on this code
Dependencies
470 packages
from package-lock.json
node_modules
421.0 MB
on disk, for a dog-walking CRM
| Type | Files | Lines |
|---|---|---|
.tsx | 27 | 1,730 |
.ts | 18 | 1,039 |
.json | 2 | 62 |
.md | 3 | 42 |
.css | 1 | 26 |
.mjs | 2 | 25 |
Convert it to Flask
Upload a zip of a NextJS app (without node_modules / .next — they’d be skipped anyway). The open-source gpt-oss-120b model via Groq rewrites it as a lean Flask app.
Max upload: 3 MB.
Tip: cd your-next-app && zip -r app.zip . -x "node_modules/*" ".next/*" ".git/*" "data/*"
…or pull one straight from GitHub
Search public NextJS repos and convert one without downloading anything — we fetch the source, strip the junk, and feed it to the same pipeline.
Loading popular NextJS repos…