https://github.com/karanjangid8656/neuro-forge
NeuroForge is a powerful, intuitive, and modern drag-and-drop platform to design, train, and export neural networksโall in your browser.
https://github.com/karanjangid8656/neuro-forge
css framer-motion javascript nextjs reactjs shadcn tailwind tensorflow typescript
Last synced: 3 months ago
JSON representation
NeuroForge is a powerful, intuitive, and modern drag-and-drop platform to design, train, and export neural networksโall in your browser.
- Host: GitHub
- URL: https://github.com/karanjangid8656/neuro-forge
- Owner: KaranJangid8656
- Created: 2025-04-10T20:02:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-10T20:18:26.000Z (about 1 year ago)
- Last Synced: 2025-04-11T00:17:54.103Z (about 1 year ago)
- Topics: css, framer-motion, javascript, nextjs, reactjs, shadcn, tailwind, tensorflow, typescript
- Language: TypeScript
- Homepage: https://neuro-forge.vercel.app/
- Size: 130 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ง NeuroForge
**NeuroForge** is a powerful, intuitive, and modern drag-and-drop platform to design, train, and export neural networksโall in your browser. Built with cutting-edge web technologies, it brings the full power of machine learning and neural network visualization to users with no need for backend services.
> ๐ Visual. Interactive. Intelligent. Open-source.
---
## ๐ Live Demo
๐ [Try it out now](https://neuro-forge.vercel.app/)
---
## ๐ฆ Tech Stack
| Layer | Technology |
|--------------------|---------------------------------|
| Frontend | Next.js, React, TypeScript |
| ML Engine | TensorFlow.js |
| UI Styling | Tailwind CSS, shadcn/ui |
| Animation | Framer Motion |
| Graph Visualization| ReactFlow |
| Charting | Recharts |
| Icons | Lucide React |
| Tooling | ESLint, Prettier |
---
## ๐ง Core Features
### โ๏ธ Drag-and-Drop Model Builder
- Visual interface to build neural networks
- Supports core, convolutional, and recurrent layers
- Layer types: Input, Dense, Dropout, Conv2D, MaxPooling2D, Flatten, LSTM, Activation
### ๐งฉ Layer Configuration Panel
- Dynamic UI for setting layer-specific parameters
- Mobile-responsive layout
- Smart validation for layer compatibility
### ๐ Real-Time Training
- In-browser training using TensorFlow.js
- Live metrics for accuracy and loss
- Supports MNIST and XOR datasets
### ๐ Training Visualization
- Real-time charts using Recharts
- Displays training/validation accuracy & loss
- Responsive and interactive
### ๐ง Code Generator
- Export trained models as:
- Python (TensorFlow/Keras)
- JavaScript (TensorFlow.js)
- One-click copy & download
### ๐ก AI-Powered Suggestions
- Automatic tips for:
- Model architecture improvements
- Hyperparameter tuning
- Regularization techniques
### ๐งพ Live Console Panel
- Timestamped training logs
- Real-time error and success messages
- Auto-scroll and log filtering
---
## ๐บ Architecture Overview
### ๐งญ Data Flow
1. **User Interaction** โ UI event triggers callback
2. **State Update** โ ModelBuilder.tsx updates core state
3. **Re-render** โ Components reflect new data
4. **Training** โ TensorFlow.js runs training loop
5. **Metrics Callback** โ UI updated in real-time
6. **Visualization** โ Charts + logs reflect new progress
### ๐ Key State Objects
- `layers`: Layer configurations
- `selectedLayer`: Layer being edited
- `modelConfig`: Training settings
- `trainingMetrics`: Accuracy/loss values
- `logs`: Live console messages
- `model`: TensorFlow.js model instance
---
## ๐จ Challenges & Solutions
| Challenge | Solution |
|------------------------------|----------|
| In-browser training perf. | Async TF.js ops with UI syncing |
| Visualizing complex models | Simplified layer cards + mobile layouts |
| TensorFlow compatibility | Feature detection + fallback support |
| State complexity | Centralized state in ModelBuilder.tsx |
---
## ๐ฎ Advanced Capabilities
- โ
**Intelligent Layer Validation**
- โ
**Dataset-Adaptive Training**
- โ
**Progressive Enhancement**
- โ
**Dynamic Code Rendering**
- โ
**Custom Mobile Navigation**
---
## ๐ ๏ธ Installation
```bash
git clone https://github.com/your-username/neuroforge.git
cd neuroforge
npm install
npm run dev
```
## ๐ฅ Contributors
Made with โค๏ธ by **Karan Suthar**
Want to contribute? PRs are welcome!
---
## ๐ License
**MIT License** โ feel free to use, modify, and share ๐
---
## ๐ค Future Plans
- โ
Support for more datasets (CIFAR-10, IMDB)
- โ
Export to ONNX
- โ
Training history downloads
- โ
Real-time collaboration (multi-user)