A powerful tool for analyzing and organizing ideas from text using AI. This application helps users extract and structure key ideas, relationships, analogies, and insights from any piece of text.
- Core Ideas Extraction: Identifies main ideas, supporting ideas, contextual elements, and counterpoints
- Relationship Analysis: Maps relationships between ideas and identifies different types of connections
- Analogy Detection: Extracts and explains analogies used in the text
- Insight Generation: Provides evolution of ideas, key takeaways, trade-offs, and broader themes
- Frontend: Next.js with TypeScript
- Backend: FastAPI (Python)
- AI Integration: Groq API for text analysis
- Styling: Tailwind CSS
- Node.js 16+ and npm/yarn
- Python 3.8+
- Groq API key
- Clone the repository:
git clone <repository-url>
cd ideas-app
- Install frontend dependencies:
npm install
# or
yarn install
- Install backend dependencies:
cd backend
pip install -r requirements.txt
- Set up environment variables:
Create a
.env
file in the backend directory:
GROQ_API_KEY=your_api_key_here
- Start the backend server:
cd backend
python main.py
- In a new terminal, start the frontend development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 in your browser
- Enter or paste your text in the editor
- Click "Analyze" to process the text
- View the structured analysis in the accordion panels:
- Core Ideas
- Relationships
- Analogies
- Insights
ideas-app/
├── backend/ # FastAPI backend
│ ├── main.py # Main server file
│ └── prompt.txt # LLM prompt template
├── components/ # React components
├── lib/ # TypeScript utilities
├── pages/ # Next.js pages
└── styles/ # CSS styles
MIT License - feel free to use this project for your own purposes.