Transform your resume into compelling cover letters with advanced AI.
Features โข Demo โข Getting Started โข Tech Stack โข Contributing
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.
- 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
- ๐ 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
- โก 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
- Upload Your Resume: Drag and drop your PDF, DOCX, or TXT file
- Paste Job Description: Copy and paste the target job description
- Generate: Click the generate button and watch AI create your cover letter
- Copy & Use: Copy the generated letter to your clipboard
Live Demo: Visit NeuralLetter
- Node.js 18.0 or later
- npm or yarn package manager
- Google AI API key (Gemini 2.0 Flash)
-
Clone the repository
git clone https://github.com/dpithia/cover-letter-generator.git cd cover-letter-generator -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Edit
.env.localand add your Google AI API key:NEXT_PUBLIC_GOOGLE_API_KEY=your_google_api_key_here
-
Run the development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
To obtain your Google AI API key:
- Visit Google AI Studio
- Sign in with your Google account
- Create a new API key
- Add it to your
.env.localfile as shown above
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
- 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
- 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
- Next.js 14: React framework with App Router
- TypeScript: Type-safe JavaScript
- Tailwind CSS: Utility-first CSS framework
- Lucide React: Beautiful & consistent icons
- Framer Motion: Production-ready motion library
- Google Gemini 2.0 Flash: Advanced language model
- PDF-parse: PDF text extraction
- Mammoth.js: DOCX document processing
| Variable | Description | Required |
|---|---|---|
NEXT_PUBLIC_GOOGLE_API_KEY |
Google AI API key for Gemini integration | โ |
const options = {
tone: 'formal' | 'conversational' | 'technical',
focusAreas: ['technical', 'leadership', 'creativity', 'growth'],
length: 'concise' | 'standard' | 'detailed'
};- Modify
app/globals.cssfor custom animations - Update color schemes in the same file
- Customize component styling in individual files
-
Push to GitHub
git add . git commit -m "Initial commit" git push origin main
-
Deploy to Vercel
- Connect your GitHub repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on every push
- Netlify: Works with Next.js static export
- AWS Amplify: Full-stack deployment support
- DigitalOcean: App Platform support
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Make your changes
- Test thoroughly
- Submit a pull request
- Follow TypeScript best practices
- Use conventional commit messages
- Maintain consistent code style
- Write tests for new features
- Update documentation as needed
This project is licensed under the MIT License - see the LICENSE file for details.
- 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
- ๐ Bug Reports: GitHub Issues
- ๐ก Feature Requests: GitHub Discussions
- ๐ง Email: Contact Us
Made with โค๏ธ by the NeuralLetter Team
โญ Star this project โข ๐ Report Issue โข ๐ฐ View License
