CyberTree is a futuristic, cyberpunk-themed developer tool designed to visualize, generate, and export file structures for your projects. Powered by AI (Local LLMs or Google Gemini), it converts natural language prompts into executable shell scripts.
Made with β€οΈ by me.yeatz
- π GitHub: github.com/me-yeatz
- π§ Contact: Open an Issue
- Neural Generation: Describe your app (e.g., "A modern React app with Redux") and get a perfect folder structure instantly
- Local & Cloud AI: Supports Google Gemini or Local LLMs (LM Studio, Ollama) via standard OpenAI-compatible API
- Cyberpunk UI: Fully immersive "System Interface" with glassmorphism, neon glows, and scanline effects
- Visual Tree Editor: Interactive tree view to manually add, rename, delete, and toggle folders
- Search & Filter: Real-time search through your file structure with auto-expansion
- ASCII Preview: Live ASCII tree generation for documentation or
README.md - Shell Export: Export your design to a
.shscript to auto-generate the actual directories and files
- Fast Build: Powered by Vite for lightning-fast hot module replacement
- Custom Theming: Tailwind CSS with custom cyberpunk color palette
- Type-Safe: Full TypeScript support with strict mode enabled
- Intuitive Interactions: Double-click to rename, hover actions for quick operations
| Category | Technology |
|---|---|
| Core | React 18.2, TypeScript |
| Build Tool | Vite 7.x |
| Styling | Tailwind CSS 3.4, PostCSS |
| Icons | Lucide React |
| AI Integration | Google Generative AI, OpenAI-Compatible API |
| Desktop | Electron |
| Fonts | Rajdhani, Fira Code |
- Node.js 18+ or 20+
- npm or yarn
# Clone the repository
git clone https://github.com/me-yeatz/Cybertree_Folder_Generator.git
cd Cybertree_Folder_Generator
# Install dependencies
npm install
# Copy environment configuration
cp .env.example .env# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview# Build executable
npm run electron:buildπ Your app will be available at http://localhost:5173
Create a .env file in the root directory:
# For Google Gemini
VITE_API_KEY=your_gemini_api_key_here
# For Local AI (LM Studio, Ollama)
VITE_AI_BASE_URL=http://localhost:1234/v1
VITE_AI_MODEL=local-model
VITE_AI_API_KEY=lm-studio- Get API key from Google AI Studio
- Add to
.envasVITE_API_KEY - Restart development server
- Install LM Studio or Ollama
- Start the API server (default:
http://localhost:1234/v1) - Configure
.envwith appropriate model name - No API key typically required for local instances
CyberTree/
βββ components/ # React components
β βββ LandingPage.tsx # Immersive entry experience
β βββ AsciiPreview.tsx # ASCII tree preview panel
β βββ TreeNodeItem.tsx # Individual tree node component
βββ services/ # API integration
β βββ aiService.ts # Local AI (OpenAI-compatible)
β βββ geminiService.ts # Google Gemini integration
βββ utils/ # Utility functions
β βββ treeUtils.ts # Tree manipulation & export logic
βββ App.tsx # Main application component & View Switcher
βββ index.tsx # React entry point
βββ types.ts # TypeScript interfaces
βββ constants.ts # App constants & initial tree
βββ electron-main.cjs # Electron main process
βββ vite.config.ts # Vite build configuration
The cyberpunk theme uses a custom color palette in tailwind.config.js:
colors: {
cyber: {
gold: '#ffdb89', // Primary accent
black: '#050505', // Background
gray: '#1f1f22', // Secondary
dark: '#0f0f10' // Dark panels
}
}- Rajdhani: Tech-styled headings
- Fira Code: Monospace for code elements
| Command | Description |
|---|---|
npm run dev |
Start Vite development server |
npm run build |
Build for production |
npm run preview |
Preview production build |
npm run lint |
Run ESLint |
npm run electron |
Run Electron in development |
npm run electron:build |
Build Electron executable |
| Platform | Status |
|---|---|
| Windows | β Primary |
| macOS | β Supported |
| Linux | β Supported |
| Web | β Supported |
| Mobile |
Problem: TypeScript compilation errors
Solution: Ensure you're using Node.js 18+ and have run `npm install`
Problem: Electron build fails
Solution: Run `npm run build` first to create the dist/ folder
Problem: "API Key not found"
Solution: Check your .env file is in the root directory and contains VITE_API_KEY
Problem: Local AI connection refused
Solution: Verify LM Studio/Ollama is running on the configured port (default: 1234)
Problem: AI returns no results
Solution: Try a more specific prompt or verify model name in VITE_AI_MODEL
Contributions are welcome! Please follow these guidelines:
- Code Style: Follow existing TypeScript patterns
- Theme: Maintain the cyberpunk aesthetic
- Components: Use existing Tailwind utility classes
- Tests: Add tests for new features
- Documentation: Update README for new features
This project is provided as-is for educational and personal use.
- React - UI framework
- Vite - Build tool
- Tailwind CSS - Styling
- Lucide - Icon library
- Google Gemini - AI generation
- Electron - Desktop framework
Made with β€οΈ by me.yeatz Β© 2026
β Star this repo if you find it helpful!
