Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I recently automated this process, however, in a very different way.

- CLI run for every job you want to apply for (this is important)

- JavaScript (Deno) with Puppeteer to run the JS for the page

- Create a directory for all the artefacts <yyyy-mm-dd-ms-pagetitle>

- Save the webpage link (artefact)

- Take a screenshot of the page (artefact)

- Extract the HTML (artefact)

- Convert HTML to Markdown with a CLI (artefact)

- Send Markdown to the Grok API to extract just the Job Description as Markdown (artefact)

- Send Job Description and Autobiography to Grok API to generate a Resume (artefact)

- Send Job Description and Autobiography to Grok API to generate a Cover Letter (artefact)

- Use pandoc to convert the Markdown Resume and Cover Letter into Open Document Format (LibreOffice) (artefacts)

The important differences here are:

- You need to find the job you are interested in. Why automate this?

- Run the CLI `job-hunter https://job.site/jobid` (50sec runtime)

- Open the ODF documents, review, edit, save (human involved is important)

- Use a bash script running LibreOffice CLI to convert ODF documents to PDF

- Review the PDFs

- Manually click the apply button on the site and upload the documents

I also keep a spreadsheet with the details for each job I apply for so I can track interactions, think CRM for job applications and recruiters. This could be automated, however, I got a job so have lost interest.

Points of interest:

- Markdown is a fantastic format in general, but for LLMs as prompts and documents, it's awesome.

- If you just curl the page html, you don't get the recruiters email addresses in most cases, hence the use of Puppeteer.

- Having all the artefacts saved on disk is important for review before and after the application, including adding notes.

- By using an Autobiography that is extreme in detail, the LLM can add anything and everything about you to the documents.

- Use Grok and support Elon. OpenAI can stick their "Open" where it fits.

- I don't end up having to format the documents that are generated as ODF files, they look great.

I can apply for around 10 to 20 jobs in a day if I try hard. Most of the time it is around 5 because I am doing other things. They are only jobs I'm interested in though, and I can customise the documents. Also, If I am applying for a job that includes AI, I add a note at the bottom stating it has been generated by an LLM and customised.

There's probably more interesting points, but you get the idea.

My TODO list includes a CLI switch to only open the page in a Firefox profile so I can authenticate to the page. This removes the stupid "automate auth on ever job site" issue. Simply authenticate and keep the cookie in the hunter profile.

The repo is private for the time being, but I could make it public.

Edit: formatting.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: