Skip to content

nerv00kaworu/growthmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

42 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒณ GrowthMap

AI-powered project growth system โ€” build ideas as trees, let AI expand branches and deepen content, then accept or reject suggestions.

โœจ Features

  • Tree-based project canvas โ€” visual mind-map with React Flow
  • AI Expand โ€” generate child node suggestions from any node
  • AI Deepen โ€” enrich node summaries and add content blocks
  • Undo โ€” up to 10 levels of undo for all tree mutations
  • Node Search โ€” search nodes by title with highlight + jump
  • Import / Export โ€” JSON full project backup, Markdown export
  • Drag-to-reparent โ€” drag edges in the canvas to move nodes
  • Keyboard Shortcuts โ€” Esc, E, D, Delete, Ctrl+Z
  • Auto-maturity โ€” nodes auto-advance maturity as content grows
  • Node Types โ€” idea, concept, task, question, decision, risk, resource, note, module
  • Mainline tracking โ€” mark primary branch for structured paths
  • DB auto-backup โ€” DB backed up before any destructive operation
  • Dark theme throughout

๐Ÿš€ Quick Start

Prerequisites

  • Python 3.10+
  • Node.js 18+

One-click Start

./start.sh

Open http://localhost:3100

Manual Setup

Backend:

cd src/backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8100

Frontend:

cd src/frontend
npm install
npx next dev -p 3100

โš™๏ธ LLM Configuration

Click โš™๏ธ LLM ่จญๅฎš in the header to configure:

Provider Notes
OpenAI gpt-4o, gpt-4-turbo, etc.
OpenAI-compatible Any base URL (LM Studio, Ollama, etc.)
Anthropic Via OpenAI-compat proxy

Settings are stored in localStorage.

โŒจ๏ธ Keyboard Shortcuts

Key Action
Esc Deselect / close panels
E AI Expand selected node
D AI Deepen selected node
Delete Delete selected node
Ctrl+Z Undo

Click โŒจ๏ธ in the header to view shortcuts overlay.

๐Ÿ—๏ธ Architecture

growthmap/
โ”œโ”€โ”€ start.sh                  # One-click launcher
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ backend/              # FastAPI + SQLAlchemy + SQLite
โ”‚   โ”‚   โ”œโ”€โ”€ main.py
โ”‚   โ”‚   โ”œโ”€โ”€ api/routes.py     # REST API
โ”‚   โ”‚   โ”œโ”€โ”€ ai/routes.py      # AI expand/deepen
โ”‚   โ”‚   โ”œโ”€โ”€ models/           # DB models + schemas
โ”‚   โ”‚   โ””โ”€โ”€ db/               # Async SQLite
โ”‚   โ””โ”€โ”€ frontend/             # Next.js 15 + React Flow + Zustand
โ”‚       โ””โ”€โ”€ src/
โ”‚           โ”œโ”€โ”€ app/page.tsx  # Main layout + header
โ”‚           โ”œโ”€โ”€ stores/       # Zustand store
โ”‚           โ”œโ”€โ”€ components/   # MindMap, NodePanel, GrowthNode, ...
โ”‚           โ””โ”€โ”€ lib/          # API client, types, LLM config
Browser โ”€โ”€โ–บ Next.js (3100) โ”€โ”€โ–บ FastAPI (8100) โ”€โ”€โ–บ SQLite
                                      โ””โ”€โ”€โ–บ LLM API (OpenAI/compat)

๐Ÿ“ธ Screenshots

(Coming soon)

๐Ÿค Contributing

  1. Fork the repo
  2. Create a feature branch: git checkout -b feat/my-feature
  3. Commit: git commit -m "feat: ..."
  4. Push and open a PR

Please keep all user-facing text in Traditional Chinese (็น้ซ”ไธญๆ–‡), and maintain dark theme throughout.

๐Ÿ“„ License

MIT

About

๐ŸŒณ GrowthMap โ€” AI-driven project growth system. Nodes grow outward (expand) and inward (deepen).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors