An open API service indexing awesome lists of open source software.

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.

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)