How sehoon787/autopolio works
Autopolio turns GitHub activity and user-maintained career records into tailored portfolio documents. The main workflow runs from a user-started analysis/generation pipeline through repository and contributor analysis, technology and achievement extraction, AI summarization, template mapping, and document export. The graph also preserves the career knowledge base, platform templates, provider configuration, and Electron desktop support. Some links are based on README descriptions or the source index; unsampled implementation details are not inferred.
Main entry points: pipeline_service.py Pipeline coordinator · analysis GitHub analysis · main.py FastAPI routes · pipeline_template_step.py Template mapping
Components 21
User clients
- Web application
frontend/src/App.tsx - Electron desktop
frontend/electron/main.ts
API and orchestration
- FastAPI routes
api/main.py - Pipeline endpoints
api/routers/pipeline.py - Pipeline coordinator
api/services/pipeline/pipeline_service.py - AI provider settings
api/routers/llm.py
Career analysis
- GitHub analysis
api/services/analysis - Contributor breakdown
api/services/analysis/contributor_analyzer.py - Technology detection
api/services/analysis/technology_detection_service.py - Achievement detection
api/services/achievement/achievement_service.py
Content generation
- AI summarization
api/services/llm/llm_generation.py - Local CLI models
api/services/llm/cli_llm_service.py - Template mapping
api/services/pipeline/pipeline_template_step.py - Document generation
api/services/document/document_service.py - Format export
api/services/export/export_service.py - Platform templates
api/services/platform/platform_template_service.py
Career data
- Career knowledge API
api/routers/knowledge - Career records
api/models/project.py - Analysis records
api/models/repo_analysis.py - Database sessions
api/database.py
Other components
- Career builder
Connections 22
- Career builder → Web application: uses
README.md - Career builder → Electron desktop: uses
README.md - Web application → FastAPI routes: requests
- Electron desktop → FastAPI routes: hosts
- FastAPI routes → Pipeline endpoints: registers
api/main.py - Pipeline endpoints → Pipeline coordinator: delegates
api/routers/pipeline.py - Pipeline coordinator → GitHub analysis: runs analysis
api/services/pipeline/pipeline_service.py - GitHub analysis → Contributor breakdown: isolates commits
README.md - Pipeline coordinator → Technology detection: detects technologies
- Pipeline coordinator → Achievement detection: extracts achievements
- Pipeline coordinator → AI summarization: summarizes projects
- AI provider settings → Local CLI models: configures CLI
api/routers/llm.py - Pipeline coordinator → Local CLI models: may invoke
- Pipeline coordinator → Template mapping: maps fields
api/services/pipeline/pipeline_service.py - Template mapping → Document generation: generates document
api/services/pipeline/pipeline_template_step.py - Document generation → Format export: exports formats
README.md - Platform templates → Template mapping: provides templates
README.md - Career knowledge API → Career records: manages records
README.md - GitHub analysis → Analysis records: stores analysis
README.md - Pipeline coordinator → Database sessions: uses sessions
api/services/pipeline/pipeline_service.py - Career records → Database sessions: uses base
api/models/project.py - Analysis records → Database sessions: uses base
api/models/repo_analysis.py