Skip to content

Anjan50/coverai

Repository files navigation

CoverAI – LLM-Powered Cover Letter Generator

A modern web application that transforms your resume and professional data into AI-generated, personalized cover letters. Built with React, TypeScript, and Vite, featuring multi-LLM support (OpenAI, Google Gemini, Anthropic Claude) and professional PDF export capabilities.

CoverAI Screenshot

🌟 Features

Multi-LLM Support

  • OpenAI ChatGPT: Leverage GPT models for intelligent content generation
  • Google Gemini: Utilize Google's advanced AI capabilities (Recommended)
  • Anthropic Claude: Access Claude's thoughtful and precise language generation
  • Easy Switching: Seamlessly switch between providers based on your needs

Intelligent Data Processing

  • Flexible Input: Accept resume data in multiple formats (plain text, structured JSON)
  • AI-Powered Organization: Automatically structure and categorize your professional information
  • Editable Categories: Review and refine organized data across Philosophy, Work Experience, Projects, Background, and Skills
  • Smart Analysis: AI extracts key insights from your narrative

Professional Cover Letter Generation

  • Job-Specific Tailoring: Deep analysis of job descriptions to create targeted cover letters
  • Custom Instructions: Provide specific guidance for tone, emphasis, and key points
  • Rich Text Editing: Built-in editor with formatting tools (bold, italic, headings)
  • Real-time Preview: See your cover letter as you edit

Export & Management

  • PDF Export: Download professionally formatted PDFs with proper typography
  • Data Persistence: All data saved locally in browser storage
  • Letter History: Save and manage multiple cover letters
  • Applicant Information: Store and reuse your contact details

πŸ“Έ Screenshots

1. Setup & API Configuration

Setup Screen Choose your preferred AI provider and securely configure your API key. All keys are stored locally and never sent to external servers.

2. Data Input

Input Data Screen Paste your resume or professional information in any format. The AI will automatically organize it into structured categories.

3. AI Processing

Organize Processing Watch as the AI analyzes your narrative, extracting key information about your experience, skills, and background.

4. Organized Data Review

Organized Wisdom Review and refine your organized data across Philosophy, Work Experience, Projects, Background, and Skills. Each section is fully editable.

5. Job Details Input

Job Details Provide the job description and optional custom instructions. The AI will analyze the role and align your experience with the opportunity.

6. Cover Letter Editor

Edit & Download Edit your generated cover letter with rich text formatting tools. Make it perfect before downloading.

7. PDF Export

PDF Preview Download your cover letter as a professionally formatted PDF with proper typography and layout.

πŸš€ Getting Started

Prerequisites

Installation

  1. Clone the repository

    git clone <repository-url>
    cd coverai
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev
  4. Open your browser Navigate to http://localhost:5173

Building for Production

npm run build

The production build will be available in the dist directory.

πŸ“– Usage Guide

Step 1: Setup

  1. Select your preferred AI provider (Gemini recommended)
  2. Enter your API key securely
  3. Test the connection to ensure everything works

Step 2: Input Your Data

  1. Choose between Resume Format or JSON Format
  2. Paste your resume, CV, or professional information
  3. Click "Organize with AI" to process your data

Step 3: Review & Organize

  1. Review the AI-organized data across all categories
  2. Edit any section to refine the content
  3. Ensure all information accurately represents your background

Step 4: Job Details

  1. Paste the job description
  2. Optionally add custom instructions for the cover letter
  3. Click "Forge the Letter" to generate

Step 5: Edit & Download

  1. Review the generated cover letter
  2. Use formatting tools to emphasize key points
  3. Edit content as needed
  4. Enter applicant information
  5. Download as PDF or save for later

πŸ—οΈ Technology Stack

Frontend

  • React 19 - Modern UI library
  • TypeScript - Type-safe development
  • Vite - Fast build tool and dev server
  • CSS3 - Custom styling with modern features

AI Integration

  • OpenAI SDK - ChatGPT integration
  • Google Generative AI SDK - Gemini integration
  • Anthropic SDK - Claude integration

PDF Generation

  • jsPDF - Client-side PDF generation
  • html2canvas - HTML to image conversion

Data Management

  • localStorage - Client-side data persistence
  • React State Management - Component-level state

πŸ“ Project Structure

coverai/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ AppWrapper.jsx          # Main app wrapper with theme
β”‚   β”‚   β”œβ”€β”€ LLMSelector.jsx         # AI provider selection & API key management
β”‚   β”‚   β”œβ”€β”€ DataInput.jsx           # Resume/data input interface
β”‚   β”‚   β”œβ”€β”€ DataOrganizer.jsx       # AI-powered data organization
β”‚   β”‚   β”œβ”€β”€ EditableGrid.jsx        # Grid-based data editing interface
β”‚   β”‚   β”œβ”€β”€ JobInput.jsx            # Job description input
β”‚   β”‚   β”œβ”€β”€ LetterGenerator.jsx    # Cover letter generation
β”‚   β”‚   β”œβ”€β”€ LetterEditor.jsx       # Rich text editor for cover letters
β”‚   β”‚   └── DownloadButton.jsx     # PDF export functionality
β”‚   β”œβ”€β”€ utils/
β”‚   β”‚   β”œβ”€β”€ llmService.js           # LLM API integration service
β”‚   β”‚   └── apiTester.js            # API connection testing
β”‚   β”œβ”€β”€ App.jsx                     # Main application component
β”‚   β”œβ”€β”€ App.css                     # Global styles
β”‚   └── main.tsx                    # Application entry point
β”œβ”€β”€ screenshots/                    # Application screenshots
β”œβ”€β”€ public/                         # Static assets
└── dist/                           # Production build output

πŸ”’ Privacy & Security

  • 100% Client-Side: All processing happens in your browser
  • Local Storage Only: Your data never leaves your device
  • Secure API Keys: Keys stored securely in browser localStorage
  • No Backend Required: No server-side data collection or storage
  • No User Accounts: Completely anonymous and private

🎯 Key Features in Detail

Smart Data Organization

The AI analyzes your input and automatically organizes it into:

  • Philosophy: Your worldview, values, and approach to work
  • Work Experience: Professional journey, roles, and achievements
  • Key Projects: Specific projects showcasing your capabilities
  • Background: Educational and personal history
  • Skills & Competencies: Technical and soft skills

Intelligent Cover Letter Generation

  • Analyzes job descriptions for core requirements and company culture
  • Aligns your experience with role-specific needs
  • Generates personalized, professional content
  • Supports custom instructions for tone and emphasis

Professional PDF Export

  • Clean, professional typography
  • Consistent formatting across pages
  • Automatic filename generation
  • Customizable applicant information

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Built with modern web technologies for optimal performance
  • Designed for job seekers who want professional, AI-powered cover letters
  • Inspired by the need for personalized, targeted job applications

Built with ❀️ using React, TypeScript, and AI

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published