Skip to content

AI-powered Chrome extension that generates personalized cover letter PDFs from any job posting.

Notifications You must be signed in to change notification settings

SeanChiuGit/CoverLetterGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universal AI Cover Letter Generator

A Chrome extension that generates personalized cover letter PDFs from any resume and any job posting, using AI with automatic provider detection.


Features

  • One API Key → multiple AI providers
    (OpenAI, Groq, OpenRouter, Anthropic, Gemini, DeepSeek, Together…)
  • Automatic provider detection — no dropdowns or manual settings
  • Works on ALL websites (uses selectionText, no content scripts)
  • Upload PDF/TXT resumes (PDF.js-powered extraction)
  • AI resume parsing → structured data
  • Right-click → generate cover letter PDF
  • Professional formatting (US Letter, margins, spacing)
  • Secure: All data stored locally; API requests go directly to your provider

How to Use

1. Upload Your Resume & API

Click the extension icon → paste resume text or upload PDF/TXT
Click Parse & Save Resume.
Only needs to do this once

2. Generate a Cover Letter

  1. Select job description text on any website
  2. Right-click → Generate Cover Letter PDF
  3. Your personalized PDF downloads automatically

---

Installation (Developer Mode)

  1. Go to chrome://extensions/
  2. Enable Developer mode
  3. Click Load unpacked
  4. Select the extension folder

API Calls (Short Version)

The extension uses a single API Key field and automatically detects your provider based on key format.

Supported providers (auto-detected):

  • OpenAI (sk-...)
  • OpenRouter (sk-or-...)
  • Groq (gsk_...)
  • Anthropic (Claude) (sk-ant-...)
  • Google Gemini (AIza...)
  • DeepSeek / Together / others (fallback to OpenAI format)

Note: This extension is primarily tested using OpenAI-compatible APIs.
Other providers should work but may behave differently.

No configuration required — just paste your API key.


File Structure

coverlettergenerator/
├── manifest.json           # Chrome extension configuration
├── .gitignore              # Git ignore patterns
├── .gitattributes          # Git attributes
│
├── src/                    # Source code
│   ├── popup.html          # Extension popup UI
│   ├── popup.js            # Popup logic & PDF parsing
│   ├── background.js       # Service worker & main orchestrator
│   ├── api-providers.js    # Multi-provider API abstraction
│   ├── resume-parser.js    # AI-powered resume parsing
│   └── generate-pdf.js     # PDF generation wrapper
│
├── lib/                    # Third-party libraries
│   ├── jspdf.umd.min.js    # jsPDF for PDF creation
│   └── pdfjs/              # PDF.js for PDF text extraction
│       ├── pdf.mjs
│       └── pdf.worker.mjs
│
├── assets/                 # Static assets
│   └── images/
│       ├── icon.png        # Extension icon
│       ├── show.png        # Screenshot
│       └── generatorHowToUse.gif  # Tutorial demo
│
└── docs/                   # Documentation
    ├── README.md           # This file
    └── resume-text.js      # Sample resume data

About

AI-powered Chrome extension that generates personalized cover letter PDFs from any job posting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors