Turn ASCII folder trees into working React + Node projects in seconds.
Paste a structure โ visualize it โ export a working project.
- Paste standard ASCII folder structures
- Supports
โโโ,โโโ,โ, and indentation-based formats
- Expand/collapse folders
- Smooth animations
- Clean IDE-like experience
- Real-time filtering
- Auto-expands matching folders
- Highlights matches
- File/folder counts
- Intelligent file-type icons
- Copy full path
- Export tree as Markdown
Generate a fully working project ZIP directly from your structure.
- React + Vite (JSX)
- React + Vite + Tailwind
- React + Vite + TypeScript (TSX)
- React + Vite + TSX + Tailwind
- Node + Express backend
- Root
.gitignore
- Frontend with working dev server
- Backend with Express +
/api/status - Vite proxy preconfigured
- Clean starter UI
Yes โ it actually runs. Not fake files.
You have two modes:
Scaffold is created at root:
frontend/
backend/
Run from:
cd frontend
npm install
npm run devExample:
Parent: WORK_PLEASE
Target: apps
Output:
WORK_PLEASE/apps/frontend
WORK_PLEASE/apps/backend
๐ You MUST run from THIS location:
cd WORK_PLEASE/apps/frontend
npm install
npm run devโ Running from existing apps/frontend (from your input tree) will fail.
If your input already contains:
apps/frontend
apps/backend
Those are treated as plain folders, not scaffold apps.
โก๏ธ The tool generates NEW working apps in the selected destination.
Files like:
package.json
vite.config.js
may be empty in your input tree.
โ๏ธ The tool replaces them with valid scaffold configs when presets are enabled.
Example:
src/utils/
These may be added by presets.
โ๏ธ Safe to delete โ๏ธ Required for some setups
(Translation: donโt panic, nothing is broken.)
- With Tailwind โ no
App.css - Without Tailwind โ standard CSS setup
Generated projects use Vite 8
You need:
- Node.js 20.19+ OR
- Node.js 22.12+
The generated project uses different module systems:
- Frontend โ ES Modules
(type: "module") - Backend (JS mode) โ CommonJS
(require)
This is intentional for compatibility and simplicity.
package.json- import syntax (
importinstead ofrequire)
App.jsxmain.jsxvite.config.js
App.tsxmain.tsxvite.config.tstsconfig.json
tailwind.config.jspostcss.config.js
- Parse ASCII โ structured JSON tree
- Render interactive collapsible UI
- Merge scaffold presets into user-defined structure
- Replace empty config placeholders with working defaults
- Generate production-ready ZIP using JSZip
git clone https://github.com/Far-200/folder-structure-visualizer
cd folder-structure-visualizer/frontend
npm install
npm run devThis tool has been tested with:
- Large monorepo-style trees
- Nested folders (10+ levels)
- JSX + TSX combinations
- Tailwind on/off
- Backend on/off
- Root + custom placement
- Parser is flexible, not strict โ expects reasonable ASCII format
- Custom placement can confuse users if they run wrong folders (Trust me on this ๐ซ )
- Not designed for malformed or inconsistent tree syntax
- Mixing ESM (frontend) and CommonJS (backend JS mode) can confuse beginners
- Large template strings in codebase (planned extraction into modular templates)
- Rapid project scaffolding
- Visualizing large repos
- Sharing architecture
- Generating README trees
- Built recursive tree renderer
- Dynamic scaffold generator
- Real working full-stack output
- Practical developer tool (not just UI demo)
- Smart placeholder replacement system (prevents broken configs)
- Dynamic preset merging with conflict-safe tree injection
I didnโt want to manually create 50 folders and 70 files for a project. I'm too lazy for that.
I needed something that would skip the structure trap and get me to the actual coding faster.
So I built a tool to do it for me.
Then I realized โ if it solves my problem, itโll probably help other developers too.
So I turned it into this.
- Extract scaffold templates into modular files (better maintainability)
- Add more backend presets (FastAPI, NestJS, etc.)
- README auto-generation for exported projects
- Improved placement guidance in UI
- Better validation for malformed ASCII input
Farhaan Khan CSE Student โข Full-Stack Builder โข AI Explorer
If this helped you โ star the repo.
If it broke โ open an issue ๐


