Skip to content

Neel49/Simplify-Cover-Letter-Generator

Repository files navigation

🚀 Cover Letter Generator Chrome Extension

This Chrome extension automates the process of generating a customized cover letter using OpenAI's API. It extracts job descriptions from webpages, generates a tailored cover letter, converts it into a PDF, and automatically attaches it to the file input field on the job application page.

🔥 This is similar to what Simplify Premium offers, but with our extension, you only pay for what you use through your own OpenAI account.

💰 No extra charges—we don’t make any money from this. Instead, you provide your own API key, and the extension generates cover letters at cost.

📌 For reference: Each cover letter costs around 1-2 cents to generate, depending on length and model usage.

🔥 ALSO, THIS ONLY WORKS ON GREENHOUSE APPLICATIONS RIGHT NOW. (🚧 We're working on adding support for Lever and Workday!)

Please star the repo if you like it and make a PR if you want to contribute! We're constantly updating this, so keep cloning it.

🔗 Click here to set up your OpenAI API key


🌟 Features

📄 Easy Resume & API Key Input: Enter API Key and RESUME directly from the extension popup.

🖱️ One-Click Cover Letter Generation: A button at the bottom right corner of the screen will allow to generate and upload cover letters.

🤖 AI-Powered Writing: Uses OpenAI's API to generate custom cover letters based on company.

📎 Auto-Attachment: Automatically adds the cover letter as a PDF to job applications.


⚙️ Setup Instructions

1️⃣ Clone or Download the Project

Ensure you have the project files available on your system.

2️⃣ Install Dependencies

Open your terminal in the project directory and run the following commands:

npm init -y
npm install jspdf
npm install --save-dev webpack webpack-cli    
npm install --save-dev babel-loader @babel/core @babel/preset-env

3️⃣ Initial Setup

This step is done when you first install the extension. The API key and resume entry are handled in Step 6 during usage.

4️⃣ Build the Project

After configuring the API key and resume, run:

npm run build

⏳ The build process may take up to 10 seconds.

⚠️ Every time you make changes to the source files, you must run npm run build again!

🛠 Customization Tip: If you would like to change the current promp to gpt, navigate to around line 64 in src/contentScripts.js and modify it there.

💡 Reminder: After making any changes, don't forget to run npm run build again to apply the updates!

5️⃣ Load the Extension in Chrome

  1. Open Chrome and go to chrome://extensions/.
  2. Enable Developer Mode using the toggle in the top-right corner.
  3. Click Load unpacked and select the directory containing the built extension.

6️⃣ Generate a Cover Letter

  • 📌 Pin the Extension: Click the extensions icon in Chrome and pin this extension for quick access.
  • 📋 Enter API Key & Resume: Click the extension icon, enter your API key and resume in the respective fields
  • 🖱️ Click the "Generate Cover Letter" Button: This button appears on job application pages in the bottom-right corner. Clicking it will automatically generate a cover letter and attach it to the application.

🛠 Troubleshooting

⚠️ API Issues

  • Ensure your API key is correctly entered in the extension popup.
  • Make sure your API key is active and has sufficient access to the OpenAI API.

❌ Job Description Not Found

  • The script looks for a job description inside .job__description.body. If your target job board uses a different class name, update the selector in contentScript.js accordingly.

📂 File Attachment Not Working

  • Ensure the job application page has an input field with the ID #cover_letter.
  • If the file input field has a different ID, update contentScript.js to match the correct selector.

⚠️ Notes

  • 💰 Be mindful of OpenAI API usage limits to avoid unexpected costs.

🚀 Enjoy Effortless Cover Letter Generation!

If you have any questions or issues, feel free to modify and extend the project to fit your needs. Happy job hunting! 🎯

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •