- Name: Chat to Notes Converter
- Goal: Transform AI conversations from ChatGPT, Gemini, Claude, and Grok into beautifully formatted study notes
- Features:
- Smart content parsing and structure detection
- Color-coded sections (definitions, examples, code blocks, lists)
- PDF and DOCX export functionality
- User consent for data collection to improve AI models
- Responsive design with modern UI
- Production: https://3000-ityckbbqj8f5sckyao32y-6532622b.e2b.dev/
- Local Development: http://localhost:3000
- Chat URL Processing: Supports ChatGPT, Gemini, Claude, and Grok URL formats
- Smart Content Extraction: Automatically detects and formats:
- Definitions and explanations
- Code blocks with syntax highlighting
- Lists and bullet points
- Examples and use cases
- Questions and answers
- Beautiful UI:
- Gradient header design
- Color-coded content sections
- Responsive layout with TailwindCSS
- FontAwesome icons for visual enhancement
- Export Functions: PDF and DOCX download capabilities
- Data Collection Consent: Optional user agreement for model training
- Demo Mode: Working sample data for immediate testing
POST /api/process-chat- Process chat URLs and return formatted notes- Parameters:
{ url: string, allowDataCollection: boolean } - Response: Structured notes with sections, metadata, and formatting
- Parameters:
GET /api/platforms- Get list of supported AI platforms
The converter intelligently organizes chat content into:
- Title: Extracted from first user question
- Summary: Brief overview from first AI response
- Sections:
- Questions (blue theme)
- Definitions (blue theme)
- Explanations (yellow theme)
- Examples (green theme)
- Lists/Key Points (purple theme)
- Code Blocks (red theme with syntax highlighting)
- Backend: Hono Framework (TypeScript)
- Frontend: Vanilla JavaScript with TailwindCSS
- Platform: Cloudflare Workers/Pages
- Icons: FontAwesome 6.4.0
- PDF Generation: html2pdf.js
- HTTP Client: Axios
- Data Models:
ChatMessage(role, content, timestamp)FormattedContent(title, summary, sections, metadata)
- Storage: Currently in-memory processing (designed for Cloudflare D1 integration)
- Processing Pipeline: URL extraction → Content parsing → Intelligent formatting → Export generation
- Paste Chat URL: Copy your AI chat share link into the input field
- Optional Data Consent: Check if you want to help improve AI models
- Try Demo: Click "Try Demo" for instant preview with sample data
- Review Notes: See your formatted notes with color-coded sections
- Export: Download as PDF or DOCX for studying or sharing
- Platform: Cloudflare Pages (edge deployment)
- Status: ✅ Active (local development complete)
- Environment: Development server running on PM2
- Build: Vite build process generates optimized bundles
- Last Updated: October 2, 2024
# Install dependencies
npm install
# Start development server
npm run build
pm2 start ecosystem.config.cjs
# Test locally
curl http://localhost:3000
# Check PM2 status
pm2 logs --nostream- Gradient Header: Modern purple-to-blue gradient design
- Interactive Elements: Hover effects and smooth transitions
- Loading States: Animated spinner with pulse effect
- Responsive Design: Mobile-first approach with Tailwind utilities
- Color Coding: Each content type has distinct color theme for easy scanning
- Real chat URL parsing (currently using demo data)
- Advanced content detection (tables, images, references)
- Multiple export formats (Markdown, HTML, LaTeX)
- User accounts and saved notes history
- Collaborative note sharing features
- Integration with note-taking apps (Notion, Obsidian)
This project demonstrates modern web development with:
- Edge-first deployment strategy
- TypeScript for type safety
- Clean separation of frontend/backend logic
- Modern CSS framework integration
- Accessibility considerations in UI design