ai_comments_to_tasks
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v11View latest version
A web application that analyzes long PR messages using AI, with a focus on extracting insights from tool messages (like bot reviews, automated checks, etc.).
- Paste long PR conversation text
- Intelligent chunking of messages
- AI analysis of the middle chunk focusing on tool messages
- Clean, responsive interface
backend/index.ts
- Main Hono server with API endpointsfrontend/index.html
- Main HTML interfacefrontend/index.tsx
- React frontend applicationshared/types.ts
- Shared TypeScript types
- Copy the entire conversation from your GitHub PR page
- Paste the text into the textarea (include bot messages, reviews, comments)
- Click "Analyze PR Messages"
- Get AI-powered insights focused on tool messages and automated feedback
The application intelligently chunks the PR text and analyzes the middle chunk (with context) to focus on:
- Tool/bot messages (CodeRabbit, Gemini Code Assist, GitHub Actions, etc.)
- Automated feedback and suggestions
- Code review insights from tools
- Build/test results
- Security or quality concerns raised by tools
- Backend: Hono + Val Town OpenAI (GPT-4o-mini)
- Frontend: React + TailwindCSS
- Storage: None (stateless analysis)
- Chunking: Smart text splitting based on PR conversation patterns
- ✅ Intelligent PR text chunking
- ✅ AI analysis focused on tool messages
- ✅ Beautiful, responsive UI with loading states
- ✅ Error handling and validation
- ✅ Formatted analysis output with sections and bullet points
- ✅ Chunk information display (shows which chunk was analyzed)