Turn any document or web page into a branching chat tree for structured exploration and knowledge work.
- Frontend: Next.js 15 (App Router), React 19, TypeScript
- UI: Tailwind CSS, shadcn/ui components, Radix UI
- Backend: Convex (real-time database), NextAuth.js
- Canvas: ReactFlow for concept visualization
- Markdown: react-markdown with syntax highlighting
- Install dependencies:
npm install --legacy-peer-deps- Set up environment variables:
cp .env.local.example .env.local
# Edit .env.local with your credentials- Initialize Convex:
npx convex dev- Run the development server:
npm run devOpen http://localhost:3000 to see the app.
- 🌳 Branching Conversations: Fork any assistant response to explore multiple paths
- 📌 Concept Anchoring: Capture highlights with full source provenance
- 🔗 Context Management: Inspect and control what context is included in each branch
- 📎 Multi-Source: Attach PDFs and URLs to any chat node
- 📝 Markdown Export: Export branches with citations and formatting
/app # Next.js app router pages
/components # React components
/ui # shadcn/ui components
/canvas # ReactFlow canvas components
/chat # Chat interface components
/convex # Convex backend functions
/lib # Utility functions and configurations
This project was built for the FoundersHack hackathon (Aug 15-17, 2025).
- Authentication: NextAuth.js with credentials/OAuth providers
- Real-time Sync: Convex for instant updates across tabs
- Streaming: Server-sent events for LLM token streaming
- Context Assembly: Smart ancestor message inclusion with overrides
- Branching Logic: Tree structure with parent-child message relationships
- ✅ Core web app with authentication
- ✅ Dive (workspace) creation and management
- ✅ Concept creation from text snippets
- ✅ Chat tree with branching
- 🚧 LLM integration with streaming
- 🚧 Context inspector
- 🚧 Attachment support
- 🚧 Markdown export
Built for FoundersHack 2025