How kaushal-0071/readmegen works
Main System Components
a) Frontend Layer:
• Sub-components:
• Pages (app directory structure)
• UI Components (components directory)
• Hooks (hooks directory)
• State Management (Zustand)
b) External Services:
• Google's Generative AI (Gemini)
• GitHub API (for repository analysis)
Component Relationships
a) Client-Side Flow:
• User Interface → State Management
• State Management → External Services
• External Services → Markdown Generation
• Markdown Generation → UI Display
Specific Implementation Details
Technical elements:
a) UI Components Layer:
• Theme Provider
• Toast Notifications
• Input Components
• Markdown Editor
• Loading States
b) State Management:
• Zustand Store (inputdata.js)
┌─────────────────────────────────────────────────┐
• User Interface │
• ┌─────────────┐ ┌─────────────┐ ┌──────────┐ │
• Pages │ │ Components │ │ Hooks │ │
• ┘ └─────────────┘ └──────────┘ │
• ┤
• State Management Layer │
• (Zustand) │
• ┤
• External Services │
• ┌─────────────┐ ┌─────────────┐ │
• Gemini AI │ │ GitHub API │ │
• ┘ └─────────────┘ │
• ┘
Important Notes
• Next.js app directory structure
• Component hierarchy
• Data flow between components
• Authentication points for API services
• Where Markdown processing occurs
Technical Stack Indicators
• Next.js
• Tailwind CSS
• Radix UI
• Zustand
• Google Generative AI