Set all three of these 👆🏼 ENV variables in a .env file at the root of your codebase.

https://vite.dev/guide/env-and-mode.html#env-files

Make sure to ALSO add ‘.env*’ to your .gitignore file so that the secret api key does NOT end up pushed to your GitHub.

https://www.w3schools.com/git/git_ignore.asp

Reply to this note

Please Login to reply.

Discussion

This might work … but prolly won’t also I think maybe goose won’t read ENV vars inside vite. You prolly need to set them in Mac OS … at least for now.

https://support.apple.com/guide/terminal/use-environment-variables-apd382cc5fa-4f58-4449-b20a-41c53c006f8f/mac

Gonna sleep on this. OpenRouter may be shitcoin-friendly but I’m just buying credits in fiat and it’s getting the job done.