DEV Community

Cover image for AI-Powered Cover Letter Generator with Django, HTMX, and Gemini
Hana Belay
Hana Belay

Posted on

AI-Powered Cover Letter Generator with Django, HTMX, and Gemini

A modern web application that generates cover letters tailored to one’s resume and job description. Built with Django and powered by Google's Gemini AI.

image

Link to source code: https://github.com/earthcomfy/cover_letter_generator

Features

🤖 AI-Powered Generation

  • Generate tailored cover letters based on your resume and job descriptions
  • Uses Google's Gemini AI for human-like, contextual writing
  • Learns from your favorite styles to personalize future generations

✍️ Smart Refinements

  • Refine generated cover letters with natural language prompts
  • Tracks revision history

📄 Resume Management

  • Upload and manage multiple resumes
  • Set a primary resume for quick generation
  • Automatic content extraction for AI processing

⭐ Personalization

  • Mark cover letters as favorites to influence future generations
  • Organize cover letters by job applications
  • Track multiple versions per application

Technology Stack

  • Backend: Django 5.1
  • Frontend:
    • Tailwind CSS for styling
    • HTMX for dynamic interactions
    • Alpine.js for client-side interactivity
  • AI: Google Gemini API
  • Authentication: Google OAuth

Roadmap

Here are some features I'm planning to implement:

🔗 Automated Job Import

  • Job application URL parsing to extract job details automatically
  • Dedicated Upwork job scraper integration
  • Smart parsing of job requirements and responsibilities

💬 Interactive Refinement

  • Chat-like interface for back-and-forth refinements using LangChain
  • Real-time collaborative editing

🎨 Style Customization

  • Tone selector (formal, conversational, enthusiastic, etc.)
  • Personal style preferences

📊 Analytics & Tracking

  • Track application success rates
  • Monitor which cover letters led to interviews
  • Analyze effective writing styles and tones
  • Statistics dashboard for favorite styles and patterns

Contributions are welcome! Please feel free to submit a Pull Request.

Top comments (0)