This is a working, simplified version of the Claude.md topic analyzer perfect for job applications and demonstrations.
- Real LDA topic modeling using scikit-learn
- Professional visualization with interactive HTML
- No external API dependencies - uses realistic sample data
- Works immediately without configuration
- Demonstrates ML skills with actual implementation
-
Install dependencies:
pip install -r requirements_simple.txt
-
Run the application:
python app_simple.py
-
Open your browser:
http://localhost:5000
✅ Machine Learning: Real LDA implementation with scikit-learn ✅ Data Processing: Text preprocessing, tokenization, lemmatization ✅ Web Development: Flask API with clean endpoints ✅ Visualization: Professional HTML/CSS/JavaScript ✅ Code Quality: Clean, documented, maintainable code ✅ Problem Solving: Working solution that actually runs
- Sample Data: 10 realistic claude.md files from different project types
- Real Analysis: Actual LDA topic modeling (not mocked)
- Professional UI: Beautiful, responsive visualization
- API Endpoints: RESTful JSON APIs for data access
- Error Handling: Graceful fallbacks and error management
GET /- Main dashboardGET /analyze- Analysis status and resultsGET /visualization- Topic visualization HTMLGET /api/topics- JSON topic dataGET /how-it-works- Technical explanation
- Backend: Flask (Python)
- ML: scikit-learn, NLTK
- Frontend: HTML5, CSS3, JavaScript
- Data: NumPy, SciPy
- Visualization: Custom HTML with CSS Grid
The app analyzes 10 sample claude.md files and typically discovers 5 topics:
- Frontend Development - React, TypeScript, Vue components
- Backend Services - APIs, databases, server architecture
- User Authentication - Login, security, tokens
- Code Structure - Patterns, design, architecture
- Testing & Quality - Unit tests, validation, specs
- Requirements: All dependencies in
requirements_simple.txt - No Environment Variables: Works out of the box
- Lightweight: Minimal dependencies
- Fast Startup: Analysis completes in seconds
| Feature | Original | Simple Version |
|---|---|---|
| GitHub API | Required | Not needed |
| Dependencies | 12+ packages | 6 packages |
| Configuration | GitHub PAT required | None |
| Startup time | 30+ seconds | 5 seconds |
| Data source | Live GitHub | Sample data |
| Reliability | API dependent | 100% reliable |
- Job application demos
- Portfolio projects
- Technical interviews
- ML/NLP demonstrations
- Quick prototypes
If you want to extend this for production:
- Add GitHub API integration (see original
app.py) - Add database storage
- Implement user authentication
- Add more visualization options
- Deploy to cloud platform
Ready to impress? Just run python app_simple.py and you're good to go! 🎉