Export options
Repolyze offers multiple ways to export and share your repository analysis results.Plain Text
Copy a readable text summary to clipboard
Markdown
Copy formatted markdown for documentation
PDF Report
Download a professional PDF report
Accessing export options
Export actions are located in the analysis header, next to the branch selector.Open the summary actions menu
Look for the action buttons in the top-right corner of the analysis results.
- Quick copy button: Click the copy icon to instantly copy as plain text
- More options menu: Click the three-dot menu for additional formats
Select your export format
Choose from the dropdown menu:
- Copy as Plain Text: Simple, readable format
- Copy as Markdown: Formatted for GitHub/docs
- Download as PDF: Professional report
Plain text export
Quick and simple format for sharing in chat, email, or issue trackers.What’s included
- Repository name and metadata
- Overall score and category breakdown
- Technology stack
- Key insights (top 5)
- Refactoring opportunities
- Quick start commands
Example output
Markdown export
Formatted markdown perfect for documentation, READMEs, or GitHub wikis.What’s included
Everything from plain text export, plus:- Markdown formatting (headers, lists, code blocks)
- Collapsible sections
- Proper link formatting
- Table formatting for scores
Example output
Markdown copy implementation
Markdown copy implementation
The markdown export is handled by the
copySummary() function in lib/share.ts:PDF report export
Professional, print-ready PDF report with comprehensive analysis details.PDF report features
Professional design
Professional design
- Custom “Caffeine” color palette (warm browns, creams)
- Rounded corners and modern typography
- Color-coded score indicators
- Visual progress bars and circular score display
Comprehensive content
Comprehensive content
- Hero section: Repository name, description, stars, forks, language
- Score card: Overall score with circular progress + 6 category scores
- Executive summary: AI-generated overview
- Purpose & audience: What it does and who it’s for
- Technology stack: Pills/badges for each technology
- Quick start: Terminal-style command blocks
- Project structure: Table of key folders
- Key insights: Color-coded cards with priority badges
- Refactoring opportunities: Impact and effort ratings
- Automation suggestions: Organized by type
Multi-page layout
Multi-page layout
- Automatic pagination with intelligent page breaks
- Consistent headers and footers
- Page numbers and generation date
- Cream background on all pages
Generating a PDF
Click Download as PDF from the more options menu.Wait for generation
PDF generation typically takes 2-5 seconds depending on analysis complexity.
The button shows a pulsing animation while generating.
PDF structure
Page 1: Overview
Page 2: Technical Details
Page 3+: Insights & Recommendations
PDF color coding
Insights and scores use semantic colors:Strengths
Green for positive findings
Warnings
Gold/amber for cautions
Issues
Red for problems
PDF implementation details
The PDF generator uses jsPDF library with custom rendering:PDF generation code structure
PDF generation code structure
File:
lib/pdf-export.ts (850 lines)Key functions:generatePDFReport(): Main PDF generation (lines 9-812)downloadPDFReport(): Triggers download (lines 814-835)drawScoreCard(): Renders score visualization (lines 150-257)drawInsightsCards(): Creates insight cards (lines 571-690)drawTable(): Generic table renderer (lines 397-546)
Export use cases
Stakeholder reports
Use PDF exports for:- Executive summaries
- Client deliverables
- Audit documentation
- Project presentations
Team collaboration
Use Markdown exports for:- GitHub wiki pages
- Team documentation
- Project READMEs
- Confluence/Notion pages
Quick sharing
Use Plain Text exports for:- Slack/Teams messages
- Email updates
- Issue tracker comments
- Quick references
Troubleshooting
Copy not working
Copy not working
If clipboard operations fail:
- Ensure your browser supports Clipboard API
- Check that you’ve granted clipboard permissions
- Try using HTTPS (required for Clipboard API)
- Use a modern browser (Chrome, Firefox, Safari, Edge)
PDF download fails
PDF download fails
If PDF generation fails:
- Check browser console for errors
- Verify pop-ups aren’t blocked
- Ensure sufficient browser memory
- Try a smaller repository or refresh the page
- Check that JavaScript is enabled
Export button disabled
Export button disabled
Copy confirmation feedback
When you copy content, you’ll see visual confirmation:- Icon change: Copy icon changes to checkmark
- Color change: Button turns primary color
- Tooltip update: Shows “Copied!” message
- Duration: Feedback displays for 2 seconds
Best practices
Choose the right format
- PDF: For formal reports, presentations, or archival
- Markdown: For documentation sites or wikis
- Plain text: For quick sharing or issue tracking
Include context
Add notes about:
- Branch analyzed
- Date of analysis
- Purpose of the analysis
- Follow-up actions needed
Next steps
Analyzing Repositories
Learn what data gets included in exports
Understanding Scores
Interpret score breakdowns in your reports