Transform rough classroom sketches into professional diagrams with AI-generated explanations.
SketchFlow is an AI-powered educational platform that enables teachers to convert rough hand-drawn classroom sketches into clean, structured diagrams with automatically generated explanations.
Instead of spending time recreating diagrams digitally after class, teachers can simply sketch naturally, provide a small amount of context, and let AI reconstruct the diagram while generating educational explanations.
- π¨ Interactive Drawing Canvas
- π€ AI Diagram Reconstruction
- π AI Generated Explanations
- πΌ Export as SVG / PNG
- πΎ Save Teaching Sessions
- π JWT Authentication
- β‘ Real-time Updates
- π Session Management
- π¬ AI Assistant Support
- π Modern Responsive UI
- React
- Vite
- Tailwind CSS
- Context API
- Perfect Freehand
- Node.js
- Express.js
- Supabase
- JWT Authentication
- Claude AI
- GPT-4o
- REST APIs
- WebSockets
SketchFlow
β
βββ Client
β βββ public
β βββ src
β β βββ assets
β β βββ components
β β βββ contexts
β β βββ types
β β βββ utils
β β βββ App.jsx
β β βββ constants.js
β β βββ index.css
β β βββ main.jsx
β β
β βββ package.json
β βββ vite.config.js
β βββ tailwind.config.js
β
βββ Server
β βββ controllers
β βββ middleware
β βββ routes
β βββ utils
β βββ Dockerfile
β βββ swagger.yaml
β βββ index.js
β βββ package.json
β
βββ docker-compose.yml
βββ README.md
git clone https://github.com/<username>/SketchFlow.gitcd SketchFlow
cd Client
npm installcd ../Server
npm installCreate a .env file inside the Server directory.
Example
PORT=5000
SUPABASE_URL=
SUPABASE_ANON_KEY=
JWT_SECRET=
CLAUDE_API_KEY=
OPENAI_API_KEY=cd Server
npm run devcd Client
npm run devThe application will usually be available at
Frontend:
http://localhost:5173
Backend:
http://localhost:5000
Swagger documentation is included.
Server/swagger.yaml
After running the backend, open
http://localhost:5000/api-docs
(if Swagger middleware is enabled)
Teacher
β
βΌ
Draw Diagram
β
βΌ
Provide Context
β
βΌ
AI Processing
β
βΌ
Generate Clean Diagram
β
βΌ
Generate Explanation
β
βΌ
Save / Export
- Collaborative Whiteboard
- OCR Support
- Version History
- Classroom Sharing
- AI Quiz Generator
- PDF Export
- Mobile Support
- Multi-language Support
| Name | Role |
|---|---|
| Navaneeth Raj | Developer |
| Nidhin M. M | Developer |
| Swantin Jo Mathew | Developer |
| Tanmay Suresh | Developer |
Government Model Engineering College
Department of Computer Engineering
Contributions are welcome!
-
Fork this repository.
-
Create a new branch.
git checkout -b feature-name- Commit changes.
git commit -m "Added feature"- Push your branch.
git push origin feature-name- Create a Pull Request.
This project is licensed under the MIT License.
If you found this project useful, please consider giving it a β on GitHub.
Made with β€οΈ using React, Node.js and AI.



