Skip to content

Get a tailored cover letter in seconds, for FREE! 🤖 https://coverletter.work

Notifications You must be signed in to change notification settings

gianpaj/coverletter.work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoverLetter.work - Generate a cover letter for your next job for FREE

https://coverletter.work

Tip

Do you want to learn how to build a similar AI web application? Contact me at [email protected] and I'll help you get started. Visit escuela.dev to learn more about one-on-one mentoring classes.

Deploy the front-end

Deploy the example using Vercel:

Deploy with Vercel

Deploy the Puppeteer headless browser

Install the fly.io CLI and Docker Desktop (it's needed to build the Docker image). Maybe there is no need if you set Fly.io to use an Docker image that's already available (https://fly.io/docs/reference/configuration/#specify-a-docker-image).

brew install fly docker
fly launch # create a new app on Fly.io (the first time)
# then
fly deploy

How to use

To run the example locally you need to:

  1. Sign up at OpenAI's Developer Platform.
  2. Go to OpenAI's dashboard and create an API KEY.
  3. If you choose to use external files for attachments, then create a Vercel Blob Store.
  4. Set the required environment variable as the token value as shown the example env file but in a new file called .env.local
  5. npm install to install the required dependencies.
  6. npm dev to launch the development server.

Learn More

To learn more about OpenAI, Next.js, and the AI SDK take a look at the following resources:

Resouces

TODO