https://github.com/nextgenailabs/genaimindmapflowbuilder
GenAI Mind Map Flow Builder is a Generative AI tool that creates intelligent mind maps from diverse data sources like PDFs, SQL, CSV, media files, and websites. It visualizes core ideas and relationships using Gen AI LLM models from OpenAI and Google Gemini. Built with FastAPI and ReactJS.
https://github.com/nextgenailabs/genaimindmapflowbuilder
fastapi flow-builder generative-ai google-gemini knowledge-extraction llm mindmap openai pdf-to-mindmap python reactjs second-brain
Last synced: about 2 months ago
JSON representation
GenAI Mind Map Flow Builder is a Generative AI tool that creates intelligent mind maps from diverse data sources like PDFs, SQL, CSV, media files, and websites. It visualizes core ideas and relationships using Gen AI LLM models from OpenAI and Google Gemini. Built with FastAPI and ReactJS.
- Host: GitHub
- URL: https://github.com/nextgenailabs/genaimindmapflowbuilder
- Owner: NextGenAILabs
- Created: 2025-03-28T23:02:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T18:22:42.000Z (about 1 year ago)
- Last Synced: 2025-03-31T18:36:21.870Z (about 1 year ago)
- Topics: fastapi, flow-builder, generative-ai, google-gemini, knowledge-extraction, llm, mindmap, openai, pdf-to-mindmap, python, reactjs, second-brain
- Language: Python
- Homepage:
- Size: 87.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ง GenAI Mind Map Flow Builder (Gnosis)
**GenAI Mind Map Flow Builder** is a cutting-edge, AI-powered tool designed to convert complex, multi-format data into structured, interactive mind maps. Powered by LLMs like OpenAI GPT-4o and Google Gemini, it allows users to process, query, visualize, and summarize knowledge extracted from diverse sources.
## ๐บ Watch Demo on YouTube
[](https://youtu.be/sxvKbQI7Wl0)
---
## ๐ Key Features
### ๐ **Multi-Source Data Integration**
- Upload or connect multiple data sources including:
- Documents, csv, web pages, databases, images, audio, and video
- Add unlimited data sources in one flow
- Reuse and interlink previous answers
### ๐ง **AI-Powered Mind Map Generation**
- Uses OpenAI GPT-4o and Google Gemini to:
- Extract data insights and visualize them with graph and dataframes (tables)
- Ask multiple questions on multiple data sources
- Generate mind maps automatically for single data source
- Prepare PDF Report for the entire flow
### ๐งญ **Two Mind Map Modes**
- **Automatic Mode**:
- Upload any one source
- Mind map and summaries are auto-generated with dataframes and graph visualization
- **Manual Mode**:
- Upload/connect multiple sources as you can
- AI suggests follow-up questions based on context
- You can:
- Ask Answers on follow-up questions
- Ask your own questions
- Generate PDF report
- AI replies in a 3-part format:
1. ๐งพ **Answer**
2. ๐ **Data Table / DataFrame (if applicable)**
3. ๐ **Graph (if applicable)**
### ๐ **Cross-Source Questioning**
- Ask questions across:
- Multiple sources
- Previous AI responses
- Link insights between different data nodes
### ๐ **Mind Map to Report**
- Export entire flow as an AI-generated structured PDF report (Insights will be generated)
- Auto-capture questions, answers, tables, graphs, and source traceability
### ๐ค **Export Options**
- Download/share mind maps as images or JSON
- Export complete flow as a detailed report (PDF)
- Print-friendly visualization
---
## ๐ Supported Data Sources
| Category | Supported Formats |
|---------------|-------------------|
| **Documents** | `.pdf`, `.docx`, `.txt`, `.md` |
| **Spreadsheets** | `.csv` |
| **Presentations** | `.pptx` |
| **Images** | `.jpg`, `.jpeg`, `.png`, `.webp`, `.svg` |
| **Audio** | `.wav`, `.mp3`, `.aac`, `.ogg`, `.flac`, `.mpeg`, `.aiff` |
| **Video** | `.mp4`, `.webm`, `.wmv`, `.flv`, `.mov`, `.3gpp`, etc. |
| **Web Pages** | Web URLs, HTML files |
| **YouTube** | Public YouTube Video links|
| **Databases** | SQL (MySQL, PostgreSQL, SQLite), etc
---
## ๐ผ๏ธ Screenshots
### ๐ Landing Page



### ๐ Create Flow & Add Sources



### ๐ค Choose Agent / Persona

### ๐ค Follow-Up Questions & AI Responses


### โ Custom Q&A Interface


### โ Add More Sources & Continue Flow




### ๐ Ask Questions on Previous Responses


### ๐งฉ Visualize Complete Mind Map Flow

### ๐งพ Summarize Complete Flow


### โก Auto Mind Map from PDFs, Videos, and More



---
## ๐ ๏ธ Tech Stack
| Layer | Tech |
|--------------|------|
| **Frontend** | ReactJS, CSS |
| **Backend** | FastAPI (Python) |
| **AI Models**| OpenAI GPT-4o, Google Gemini Pro |
| **Storage** | Local File System, AWS S3 |
| **Database** | MongoDB, SQLite |
| **Vector Store** | ChromaDB (configurable) |
---
## โ๏ธ Setup Instructions
### ๐ Clone the Repository
```bash
git clone https://github.com/NextGenAILabs/GenAIMindMapFlowBuilder.git
cd GenAIMindMapFlowBuilder
```
### ๐ง Backend Setup (FastAPI + Poetry)
```bash
cd backend
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate (Windows)
pip install poetry
poetry install
uvicorn app:app --reload
```
### ๐ป Frontend Setup (React)
```bash
cd frontend
npm install
npm run dev
```
---
## ๐ Environment Variables
Create a `.env` file inside the `backend/` folder:
```env
# .env
mongo_db_url=
openai_api_key=
gemini_api_key=
aws_access_key_id=
aws_secret_access_key=
bucket_name=
```
> Replace values with actual credentials.
---
## ๐งช Example Workflow
1. Upload a `.pdf`, connect a SQL database, or paste a URL
2. AI reads and summarizes data
3. System builds a visual mind map
4. Ask follow-ups, skip them, or ask custom questions
5. Explore answers (text + table + graph)
6. Export final report as a shareable PDF
---
## ๐ค AI Integration Details
| Model | Purpose |
|----------------|---------|
| **OpenAI GPT-4o** | NLP, summarization, Q&A, flow generation |
| **Google Gemini Pro** | Multimodal input (text, image, video), deeper analysis |
---
## ๐ก Inspirations
- [NotebookLM (Google)](https://notebooklm.google/)
- [Obsidian Mind Map Plugin](https://obsidian.md/)
- [Miro](https://miro.com/)
- [Whimsical](https://whimsical.com/)
- [Notion AI](https://www.notion.so/product/ai)
---
## ๐ LICENSE:

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
---
## ๐ฌ Contact
๐ง **Email**: [nextgenailabs99@gmail.com](mailto:nextgenailabs99@gmail.com)