A Next.js application that helps you discover recipes based on ingredients you have in your fridge and pantry. Powered by Groq's AI to generate creative recipe suggestions tailored to your available ingredients and dietary requirements.
- Ingredient Management: Add, edit, and remove ingredients with an intuitive interface
- AI-Powered Recipes: Get recipe suggestions using Groq's LLaMA 3.3 70B model
- Custom Requirements: Specify dietary restrictions, cuisine preferences, or other requirements
- Persistent Storage: Your ingredients and settings are saved locally in your browser
- Progressive Web App: Install the app on your mobile device or desktop for an app-like experience
- Offline Support: Service worker caches app resources for offline functionality
- Clean Architecture: Well-organized component structure for maintainability and reusability
- Deno runtime installed
- A Groq API key (free tier available)
- Clone the repository
- Install dependencies:
npm install- Click the settings icon (⚙️) in the top-right corner
- Enter your Groq API key
- Click "Save"
Your API key is stored locally in your browser and is used for all recipe generation requests.
Run the development server:
deno run devOpen http://localhost:3000 to see the application.
Build the application for production:
npm run build
npm run start- Add Ingredients: Enter items from your fridge and pantry
- Set Requirements (optional): Specify dietary needs, cuisine type, cooking time, etc.
- Generate Recipes: Click "Get Recipes" to receive AI-generated suggestions
- Get Inspired: View 3 simple recipe ideas with descriptions
- Framework: Next.js 15 with React 19
- Runtime: Deno
- Styling: Tailwind CSS
- AI Provider: Groq (LLaMA 3.3 70B Versatile)
- Language: TypeScript
- PWA: next-pwa for Progressive Web App functionality
iOS (Safari):
- Open the app in Safari
- Tap the Share button (square with arrow)
- Scroll down and tap "Add to Home Screen"
- Tap "Add" to confirm
Android (Chrome):
- Open the app in Chrome
- Tap the menu (three dots)
- Tap "Add to Home Screen" or "Install App"
- Tap "Add" to confirm
Chrome/Edge:
- Open the app
- Look for the install icon (+) in the address bar
- Click "Install"
Desktop PWA features:
- Runs in its own window
- Appears in your application menu
- Works offline with cached content
See ARCHITECTURE.md for detailed information about the component architecture and design patterns used in this project.
For information about the Progressive Web App features and how to install the app on your device:
- See PWA.md for comprehensive PWA documentation including:
- Installation instructions for mobile and desktop
- Service worker configuration
- Caching strategies
- Offline functionality
- Troubleshooting guide
For developers integrating with the API or wanting to understand the API capabilities:
- See API.md for comprehensive API documentation including:
- Authentication and rate limiting
- Request/response formats
- Error handling and codes
- Validation rules
- Security features
- Code examples
Deploy this application to Deno Deploy:
- Go to the Deno Deploy dashboard
- Click "New Project"
- Connect your GitHub repository
- Deploy!
This project is open source and available under the MIT License.
