https://github.com/neo-ciber94/cocinaria
A recipe generator using AI
https://github.com/neo-ciber94/cocinaria
ai claude gemini oauth2 openai postgresql s3 vercel-ai-sdk
Last synced: 8 months ago
JSON representation
A recipe generator using AI
- Host: GitHub
- URL: https://github.com/neo-ciber94/cocinaria
- Owner: Neo-Ciber94
- License: gpl-3.0
- Created: 2024-07-12T00:47:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-13T15:44:36.000Z (about 1 year ago)
- Last Synced: 2025-01-06T17:47:10.233Z (10 months ago)
- Topics: ai, claude, gemini, oauth2, openai, postgresql, s3, vercel-ai-sdk
- Language: Svelte
- Homepage: https://cocinaria.vercel.app
- Size: 1.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🍰🧁 CocinarIA 🍔🍕
CocinarIA is an AI recipe generator that uses the `Vercel AI SDK` to generate the recipes, and uses
OpenAI `DALLE-3` for generating the recipe images.
By default it uses an `OpenAI` API Key but you can configure it to use `Gemini` or `Claude`.
> Currently OpenAI is configured for image generation.
## ✨ Proyect for: https://github.com/midudev/hackaton-vercel-2024
## 🌎 Web Page: https://cocinaria.vercel.app
## 🌈 Features
- Auth
- [x] Google
- [x] Github
- [x] Discord
- [x] Home page with latest created recipes
- [x] Generate recipe page for user to generate recipes
- [x] My recipes page to show the user recipes
- [x] Fully responsive (mobile, tablet and desktop)
- [x] Installable (PWA)
## 💻 Running locally
For running locally you need to setup some environment variables, checkout the `.env.example` file.
### Database
- `DATABASE_URL` a postgres database URL, you can use the `docker-compose.yml` file to easily set it up.
### Auth
You can configure any of those: Google, Discord or Github, checkout the `.env.example` file.
### Storage
- `S3_BUCKET_NAME` The name of the S3 bucket
- `S3_API_ENDPOINT` The name of the endpoint (optional)
- `S3_ACCESS_KEY` Your AWS access key
- `S3_ACCESS_SECRET_KEY` Your AWS secret key
- `ASSETS_URL` The url where the images will be served from
I haven't tested without storage, but the app should generate recipes without problem but fail to upload the image,
you may want to disable storage in the code.
### AI
- `OPENAI_API_KEY` This is used to generate the recipes using the `AI SDK`.