-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathllms-txt
More file actions
88 lines (71 loc) · 3.04 KB
/
llms-txt
File metadata and controls
88 lines (71 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# contributor.info
A React + TypeScript application for visualizing GitHub contributors and their contributions.
## Purpose
Discover and visualize GitHub contributors and their contributions. Track open source activity, analyze contribution patterns, and celebrate community impact.
## Key Features
- **Repository Analysis**: Analyze GitHub repository contributors and contribution patterns
- **Activity Tracking**: Track pull request activity, reviews, and comments
- **Health Metrics**: Repository health indicators including lottery factor analysis
- **Distribution Charts**: Visualize contribution distribution across contributors
- **Progressive Data Capture**: Automatic background data processing for comprehensive analysis
- **Real-time Updates**: Live data updates with smart notifications
## Architecture
- **Frontend**: React 18 with TypeScript, Vite build system
- **Styling**: Tailwind CSS with custom design system
- **Database**: Supabase (PostgreSQL) for data persistence
- **Authentication**: GitHub OAuth via Supabase Auth
- **Data Processing**: Inngest for background job processing
- **Deployment**: Netlify with functions
## Core Components
### Layout
- Semantic HTML structure with proper heading hierarchy
- Responsive design with mobile-first approach
- Accessible navigation with ARIA labels
### Repository View
- Search functionality for GitHub repositories
- Tabbed interface for different analysis views
- Real-time data loading with skeleton states
- Social sharing capabilities
### Activity Analysis
- Pull request activity timeline
- Contributor statistics with definition lists
- Trend analysis and metrics comparison
- Time-based filtering options
### Data Quality
- Progressive enhancement for missing data
- Automatic data quality detection
- Background processing notifications
- Smart refresh mechanisms
## Technical Standards
### Code Style
- No unnecessary React imports (JSX Transform enabled)
- Prefer editing existing files over creating new ones
- Use Tailwind classes for all styling
- Never use TypeScript 'any' type
- Mock external dependencies in tests
### Testing
- Vitest for unit testing (never Jest)
- Mock Supabase in all tests
- Test isolation with proper cleanup
- E2E testing for critical paths
### Performance
- Lazy loading for route components
- Progressive chart loading
- Web Vitals monitoring
- Bundle size optimization
### Accessibility
- Semantic HTML elements (article, section, nav, aside)
- Proper heading hierarchy (h1-h6)
- Time elements with datetime attributes
- Definition lists for statistics
- ARIA labels for complex interactions
## Database Schema
11 core tables: contributors, repositories, pull_requests, reviews, comments, organizations, contributor_organizations, tracked_repositories, monthly_rankings, daily_activity_snapshots, sync_logs
3 views: contributor_stats, repository_stats, recent_activity
## User Experience
Invisible, Netflix-like experience with:
- Database-first data queries
- Automatic data quality detection
- Subtle background notifications
- Progressive enhancement
- No manual intervention required