Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 10 days 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 (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T15:44:36.000Z (5 months ago)
- Last Synced: 2024-12-28T12:30:46.921Z (19 days 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 locallyFor 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 fromI 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`.