TideScope
๐ AI-powered open source collaboration tool. Interactive CLI to generate contributor guides and visualize technical debt as StarMaps. Lower barriers, boost productivity. ๐ AI ้ฉฑๅจ็ๅผๆบๅไฝๅทฅๅ ทใไบคไบๅผ CLI ็ๆ่ดก็ฎ่ ๆๅๅๆๆฏๅบๅกๆๅพใ้ไฝ้จๆง๏ผๆๅๆ็ใ
Install / Use
/learn @unitagain/TideScopeREADME
๐ซ Our Mission
As a beginner, have you ever found an open source project that interests you, but struggled to figure out what you could contribute? Where to start?
As an open source project maintainer, have you ever felt overwhelmed by the flood of PRs and Issues, unsure how to prioritize tasks and manage technical debt?
TideScope is inspired by star maps. By scanning GitHub repositories for Issues, PRs, and TODO comments in code, combined with LLM-powered intelligent analysis to extract required skills and difficulty assessments, it generates an intuitive Technical Debt StarMap. Each task appears as a star, distributed in a polar coordinate system by importance from center to edge, with related PR-Issue pairs forming constellation-like visual clusters.
Through this innovative visualization approach, we aim to help:
- ๐ฑ New contributors quickly find tasks matching their skill level
- ๐ฏ Project maintainers gain a clear overview of technical debt at a glance
- ๐ค Team collaboration become more efficient, transparent, and organized
โจ Core Features
๐ StarMap Visualization
- Ranking-Based Golden Angle Spiral Layout - Mathematically optimized distribution algorithm ensures uniform node placement
- Force-Directed Anti-Overlap Mechanism - Intelligent repulsion algorithm prevents node collisions, keeping the chart clear
- Constellation-Style Clustering - PRs and Issues automatically form tight constellation groups, intuitively showing relationships
- Gradient Glow Effects - Modern visual design optimized for dark themes
๐ง Intelligent Analysis
- LLM Skill Extraction - Automatically analyzes required tech stacks and skill points for each task
- Multi-Dimensional Scoring - Comprehensive assessment of priority, difficulty, impact scope, and risk level
- Smart Recommendations - Generates targeted implementation suggestions for each task
- Automatic Context - Automatically fetches project README as analysis background
๐ฏ Developer Friendly
- One-Click Scanning - Supports both local code and remote GitHub repositories
- Flexible Configuration - YAML config files for easy customization of scan rules
- Dual Interface - Web UI + CLI command line to meet different use cases
๐ผ๏ธ Demo
StarMap View
Example using SurfSense project <img width="1332" height="1164" alt="QQ_1763474452961" src="https://github.com/user-attachments/assets/1e99fb0f-2c35-41d6-b1c9-c9d70fbfc4f2" /> <img width="2416" height="807" alt="image" src="https://github.com/user-attachments/assets/a66a87f0-c8bc-42b5-b798-d84be218369d" />
StarMap Features:
- ๐ฏ Important tasks in the center circle, priority decreases outward
- ๐ Golden lines connect related PRs and Issues, forming "constellations"
- ๐ Hover for details: title, skills, difficulty, recommendations
- ๐จ Glow effects and animations enhance visual experience
- ๐ Golden angle spiral distribution, nodes evenly fill the entire space
Task Detail Assessment
Intelligent analysis example
Assessment Content:
- ๐ Priority: Auto-calculated (based on labels, update time, relevance)
- ๐ Required Skills: LLM auto-extraction (e.g., Docker, Authentication, Database, Backend)
- ๐ Difficulty: Smart assessment (1-5 scale)
- ๐ก Recommendations: Specific implementation steps and considerations
- ๐ Related: Auto-identify related PRs and discussions
๐จ Dual System Architecture
TideScope provides two core systems to meet different needs:
1๏ธโฃ Badge System - Best Entry Point for New Contributors
Core Value: Lower the barrier to open source contribution, help beginners quickly find suitable tasks
๐ฏ System Features
-
๐ Project Health Dashboard
- Real-time health score (0-100)
- Project activity trend analysis
- Open Issues and PR statistics
-
๐๏ธ AI-Powered Task Badges
- Auto-generate beautiful SVG badges
- Display task title, difficulty, required skills
- One-click jump to GitHub Issue
-
๐ฑ Beginner-Friendly Task List
- Filter Issues suitable for beginners
- Categorized by difficulty and skills
- Includes detailed implementation suggestions
-
๐ Auto-Generate CONTRIBUTING.md
- AI analyzes project to generate contribution guide
- Includes health metrics, recommended tasks, skill distribution
- Beautiful Markdown format, GitHub-ready
๐ง Technical Implementation
Workflow:
GitHub API โ Data Fetch โ LLM/Rule Analysis โ SVG Generation โ Markdown Rendering
Core Components:
-
analyzer/smart_analyzer.py- Smart Analyzer- Automatically choose LLM or rule-based analysis
- Extract required skills from Issues
- Assess task difficulty and priority
-
utils/hero_badge_generator.py- Hero Badge Generator- Generate project health panel
- Create recommended task badges
- Support multiple themes and sizes
-
scripts/generate_contributing.py- Documentation Generator- Auto-generate CONTRIBUTING.md
- Integrate health, tasks, and skill information
- Support custom templates
Output Files:
badges/
โโโ CONTRIBUTING.md # AI-generated contribution guide
โโโ README.md # Project README snippet
โโโ PREVIEW.html # Local preview page
โโโ assets/
โโโ hero_badge.svg # Project hero badge
โโโ health_panel.svg # Health panel
โโโ recommended_task.svg # Recommended task badge
โโโ beginner_task_*.svg # Beginner task badges
๐ก Use Cases
- โ Open Source Maintainers: One-click professional contribution guide
- โ New Contributors: Quickly understand project health and recommended tasks
- โ Team Collaboration: Unified task priority and skill requirements
2๏ธโฃ Star Map System - Universe View of Technical Debt
Core Value: Visualize technical debt as a starry sky, making management intuitive and engaging
๐ System Features
-
Polar Coordinate Layout
- Based on Golden Angle Spiral (137.5ยฐ)
- Important tasks in center, priority decreases outward
- Node size reflects impact scope
-
Constellation-Style Clustering
- PRs and Issues connected by golden lines forming "constellations"
- Auto-identify relationships between related tasks
- Visualize project module division
-
Interactive Exploration
- Hover to view task details (title, skills, difficulty, recommendations)
- Click to jump to GitHub
- Support zoom and pan
-
Multi-Dimensional Analysis
- Color-coded by difficulty (green-orange-red)
- Categorized by status (Open/Closed/Merged)
- Skill tag visualization
๐ง Technical Implementation
Workflow:
GitHub API โ Scan Issues/PRs โ LLM Analysis โ Coordinate Calculation โ ECharts Rendering
Core Components:
-
scanner/github/client.py- GitHub Data Fetcher- Batch fetch Issues and PRs
- Handle pagination and rate limits
- Caching mechanism to reduce API calls
-
analyzer/builder.py- Analysis Engine- Multi-dimensional scoring (priority, difficulty, impact)
- LLM skill extraction and recommendation generation
- Relationship identification
-
analyzer/star_map.py- StarMap Coordinate Algorithm- Golden angle spiral layout
- Square root radius mapping
- Force-directed anti-overlap optimization
-
web/src/pages/StarMapPage.tsx- Frontend Visualization- ECharts polar coordinate chart
- Interactive nodes and connections
- Responsive design
Output Files:
reports/
โโโ tidescope-raw.json # Raw scan data
โโโ tidescope-report.json # Analysis report (with coordinates)
๐ก Use Cases
- โ Project Maintainers: Global view of technical debt management
- โ Team Leads: Identify critical paths and bottlenecks
- โ Product Managers: Understand dev resource allocation
- โ Developers: Find interesting modules and tasks
๐ ๏ธ Tech Stack
๐ Backend Technologies
| Technology | Version | Purpose | |------------|---------|----------| | Python | 3.8+ | Core programming language | | Pydantic | 2.x | Data validation and modeling | | HTTPX | Latest | Async HTTP client (GitHub API) | | PyYAML | Latest | Configuration file parsing | | python-dotenv | Latest | Environment variable management | | FastAPI | Latest | REST API framework (Optional, for Web UI) | | Typer | Latest | Advanced CLI tool (Optional) |
๐จ Frontend Technologies (Web UI)
| Technology | Version | Purpose | |------------|---------|----------| | React | 18 | Modern UI framework | | TypeScript | Latest | Type-safe development | | Apache ECharts | 5.x | Data visualization (polar charts) | | Ant Design | 5.x | UI component library | | Vite | 5.x | Fast build tool |
๐ค LLM Integration
| Provider | Model | Notes | |----------|-------|-------| | Deepseek | deepseek-chat | Recommended: Cost-effective, relaxed rate limits | | OpenAI | gpt-4o-mini | Alternative: Powerful, higher cost |
LLM Analysis Content:
- Extract required skills (e.g., React, TypeScript, Docker)
- Assess difficulty (1-5 scale)
- Generate implementation recommendations
Fallback Strategy:
- Automatically uses rule-based ana
