Skip to content

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

ย 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NeuralLetter

NeuralLetter Logo License: MIT Made with Next.js TypeScript

Transform your resume into compelling cover letters with advanced AI.

Features โ€ข Demo โ€ข Getting Started โ€ข Tech Stack โ€ข Contributing


๐ŸŒŸ Overview

NeuralLetter is a sophisticated AI-powered cover letter generator that leverages Google's Gemini 2.0 Flash model to create personalized, professional cover letters tailored to specific job descriptions. Built with modern web technologies, it provides a seamless user experience with multi-format resume upload support and intelligent content generation.

โœจ Key Benefits

  • AI-Powered Generation: Advanced language model creates contextually relevant cover letters
  • Multi-Format Support: Upload PDF, DOCX, or TXT files with intelligent text extraction
  • Professional Quality: Exemplar-based prompts ensure high-quality, industry-standard output
  • User-Friendly Interface: Modern, responsive design with intuitive workflow
  • Privacy-Focused: No authentication required - your data stays private
  • Fast & Efficient: Optimized for quick generation with minimal latency

๐Ÿš€ Features

Core Functionality

  • ๐Ÿ“„ Smart Resume Processing: Extract text from PDF, DOCX, and TXT files
  • ๐ŸŽฏ Job Description Analysis: Understands job requirements and tailors content accordingly
  • โœจ AI-Powered Generation: Creates personalized cover letters using advanced language models
  • ๐Ÿ“‹ Copy-to-Clipboard: Easy export functionality for immediate use
  • ๐ŸŽจ Modern UI: Sleek dark theme with smooth animations and responsive design

Technical Capabilities

  • โšก High Performance: Built with Next.js 14 and optimized for speed
  • ๐Ÿ”’ Secure Processing: Client-side text processing with minimal data exposure
  • ๐Ÿ“ฑ Responsive Design: Works seamlessly across desktop, tablet, and mobile devices
  • ๐ŸŒ Cross-Platform: Web-based application accessible from any modern browser
  • ๐Ÿ› ๏ธ Type-Safe: Fully implemented with TypeScript for reliability

๐ŸŽฎ Demo

Quick Start Guide

  1. Upload Your Resume: Drag and drop your PDF, DOCX, or TXT file
  2. Paste Job Description: Copy and paste the target job description
  3. Generate: Click the generate button and watch AI create your cover letter
  4. Copy & Use: Copy the generated letter to your clipboard

Live Demo: Visit NeuralLetter

Screenshots

NeuralLetter Interface
Modern, intuitive interface designed for productivity

๐Ÿ› ๏ธ Getting Started

Prerequisites

  • Node.js 18.0 or later
  • npm or yarn package manager
  • Google AI API key (Gemini 2.0 Flash)

Installation

  1. Clone the repository

    git clone https://github.com/dpithia/cover-letter-generator.git
    cd cover-letter-generator
  2. Install dependencies

    npm install
  3. Set up environment variables

    cp .env.example .env.local

    Edit .env.local and add your Google AI API key:

    NEXT_PUBLIC_GOOGLE_API_KEY=your_google_api_key_here
  4. Run the development server

    npm run dev
  5. Open your browser Navigate to http://localhost:3000

API Key Setup

To obtain your Google AI API key:

  1. Visit Google AI Studio
  2. Sign in with your Google account
  3. Create a new API key
  4. Add it to your .env.local file as shown above

๐Ÿ—๏ธ Architecture

Project Structure

cover-letter-generator/
โ”œโ”€โ”€ app/                    # Next.js app directory
โ”‚   โ”œโ”€โ”€ globals.css        # Global styles and animations
โ”‚   โ”œโ”€โ”€ layout.tsx         # Root layout component
โ”‚   โ””โ”€โ”€ page.tsx           # Main application page
โ”œโ”€โ”€ components/            # React components
โ”‚   โ”œโ”€โ”€ Header.tsx         # Application header
โ”‚   โ”œโ”€โ”€ ui/               # Reusable UI components
โ”‚   โ””โ”€โ”€ ...               # Other components
โ”œโ”€โ”€ utils/                 # Utility functions
โ”‚   โ”œโ”€โ”€ ai-config.ts      # AI configuration and retry logic
โ”‚   โ””โ”€โ”€ generate-cover-letter.ts  # Core generation logic
โ””โ”€โ”€ lib/                   # External library configurations

Key Components

AI Generation System

  • Gemini 2.0 Flash Integration: State-of-the-art language model for high-quality output
  • Exemplar-Based Prompts: Trained on top-tier cover letters for professional results
  • Customizable Output: Configurable tone, length, and focus areas
  • Error Handling: Comprehensive retry logic and graceful degradation

File Processing Pipeline

  • Multi-Format Support: PDF, DOCX, and TXT file processing
  • Intelligent Extraction: Advanced text extraction with error handling
  • Client-Side Processing: Privacy-focused with minimal server dependencies
  • User Experience: Drag-and-drop interface with real-time feedback

๐Ÿ’ป Tech Stack

Frontend

AI & Processing

Development Tools


๐Ÿ”ง Configuration

Environment Variables

Variable Description Required
NEXT_PUBLIC_GOOGLE_API_KEY Google AI API key for Gemini integration โœ…

Customization

AI Generation Parameters

const options = {
  tone: 'formal' | 'conversational' | 'technical',
  focusAreas: ['technical', 'leadership', 'creativity', 'growth'],
  length: 'concise' | 'standard' | 'detailed'
};

Styling Customization

  • Modify app/globals.css for custom animations
  • Update color schemes in the same file
  • Customize component styling in individual files

๐Ÿš€ Deployment

Vercel (Recommended)

  1. Push to GitHub

    git add .
    git commit -m "Initial commit"
    git push origin main
  2. Deploy to Vercel

    • Connect your GitHub repository to Vercel
    • Add environment variables in Vercel dashboard
    • Deploy automatically on every push

Other Platforms

  • Netlify: Works with Next.js static export
  • AWS Amplify: Full-stack deployment support
  • DigitalOcean: App Platform support

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Workflow

  1. Fork the repository
  2. Create a feature branch
    git checkout -b feature/amazing-feature
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Code Standards

  • Follow TypeScript best practices
  • Use conventional commit messages
  • Maintain consistent code style
  • Write tests for new features
  • Update documentation as needed

๐Ÿ“„ License

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


๐Ÿ™ Acknowledgments

  • Google AI Team - For the amazing Gemini language model
  • Next.js Team - For the excellent React framework
  • Tailwind CSS Team - For the utility-first CSS framework
  • Open Source Community - For the invaluable tools and libraries

๐Ÿ“ž Support


Made with โค๏ธ by the NeuralLetter Team

โญ Star this project โ€ข ๐Ÿ› Report Issue โ€ข ๐Ÿ“ฐ View License

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages