How samkwibe/legacylift works
LegacyLift is a Streamlit code-modernization and mentorship app. A developer supplies code or a repository, chooses a provider and workflow, then receives analysis, a refactor or translation/security result, documentation, review, and generated tests; project walkthroughs and PDF reports are additional capabilities. The graph includes the documented capabilities even where implementation excerpts were unavailable. Edges from the UI to unsampled modules rely on app.py’s indexed references and the README workflow; provider calls are shown where client source demonstrates them. Other unsampled relationships are omitted rather than inferred.
Main entry points: app.py Streamlit App · nvidia_client.py NVIDIA Client · gemini_client.py Gemini Client · documenter.py Code Documentation
Components 20
User Experience
- Streamlit App
app.py - Glass UI Theme
core/ui_theme.py
Code Workflows
- Static Analysis
core/analyzer.py - Code Refactoring
core/refactor.py - Security Audit
core/security.py - Code Translation
core/translator.py - Code Documentation
core/documenter.py - Code Review
core/explainer.py - Test Generation
core/test_generator.py - Prompt Library
core/prompts.py
Project Tools
- ZIP Ingestion
core/zip_parser.py - GitHub Import
core/github_integration.py - Project Scanner
core/project_analyzer.py - PDF Export
core/pdf_export.py - PDF Report
core/pdf_export.py
AI Services
- Gemini Client
core/gemini_client.py - NVIDIA Client
core/nvidia_client.py - External LLMs
- GitHub
Other components
- Developer
Connections 30
- Developer → Streamlit App: submits code
README.md - Streamlit App → Glass UI Theme: renders with
app.py - Streamlit App → Static Analysis: requests analysis
app.py - Streamlit App → Code Refactoring: requests refactor
app.py - Streamlit App → Security Audit: requests audit
app.py - Streamlit App → Code Translation: requests translation
app.py - Streamlit App → Code Documentation: requests docs
app.py - Streamlit App → Code Review: requests review
app.py - Streamlit App → Test Generation: requests tests
app.py - Streamlit App → ZIP Ingestion: parses upload
app.py - Streamlit App → GitHub Import: loads repository
app.py - Streamlit App → Project Scanner: requests walkthrough
app.py - Streamlit App → PDF Export: exports report
app.py - Code Refactoring → Prompt Library: formats prompt
core/refactor.py - Code Documentation → Prompt Library: formats prompt
core/documenter.py - Code Review → Prompt Library: formats prompt
core/explainer.py - Project Scanner → Prompt Library: formats prompt
core/project_analyzer.py - Code Refactoring → Gemini Client: calls provider
core/refactor.py - Code Documentation → Gemini Client: calls provider
core/documenter.py - Code Review → Gemini Client: calls provider
core/explainer.py - Project Scanner → Gemini Client: calls provider
core/project_analyzer.py - Security Audit → NVIDIA Client: calls provider
core/security.py - Code Translation → NVIDIA Client: calls provider
core/translator.py - Code Documentation → NVIDIA Client: calls provider
core/documenter.py - Code Review → NVIDIA Client: calls provider
core/explainer.py - Project Scanner → NVIDIA Client: calls provider
core/project_analyzer.py - Gemini Client → External LLMs: sends request
core/gemini_client.py - NVIDIA Client → External LLMs: sends request
core/nvidia_client.py - GitHub Import → GitHub: clones repository
- PDF Export → PDF Report: generates
core/pdf_export.py