A visual file tree editor with drag-and-drop interface and file upload support.
cd /home/kehem/Software/ckdash/tree
npm installnpm startThe server will run on http://localhost:3001
- Visual Tree Editor: Drag and drop nodes to rearrange your file structure
- Text Editing: Edit text files (.txt, .code, .doc) directly in the browser with Froala Editor
- File Upload: Upload images, videos, audio, PDF, and archive files
- Persistent Storage: All data saved to
/datafolder on the server - Real-time Preview: View uploaded images, videos, audio, and PDFs
/tree
├── index.html # Main UI
├── server.js # Express backend
├── package.json # Node dependencies
└── data/ # Data storage
├── tree.json # Tree structure
├── content.json # Text content
├── positions.json # Node positions
└── files/ # Uploaded files
GET /api/load- Load tree and contentPOST /api/save- Save tree and contentPOST /api/upload- Upload filePOST /api/delete-file- Delete uploaded file
- Start the server:
npm start - Open
http://localhost:3001in your browser - Right-click nodes to add items or use hover buttons
- For text files: Click "Create" to start editing
- For media files: Upload files via drag-and-drop or click
- Drag nodes to reposition them
- Double-click folder toggle dots to expand/collapse