ByteBites is an interactive AI-powered recipe generator and meal planner. Users can input ingredients they have at home, and the system generates recipes using AI or Api. Additionally, users can save meals, plan their week, and generate shopping lists based on their selections. The system also recommends ingredients based on upcoming scheduled recipes.
- π‘ Minimalist, Rounded Modern UI: A simple, flat design.
- π¨ Color Palette: Warm and inviting food tones (π orange, π green, π― beige, π· deep red).
- π Typography: Readable serif font.
- π Dark Mode Toggle: Switch between light and dark themes.
- Interactive Recipe Search: Use filters such as type, diet, and more to refine searches.
- Ingredient-Based Search: Find recipes by entering specific ingredients.
- AI-Generated Recipes: Create custom recipes using AI based on selected ingredients.
- Like and Bookmark Recipes: Save favorite recipes for easy access.
The dashboard provides a comprehensive overview of user activity and key metrics, divided into three rows:
- Bookmarks Card: Displays the total number of bookmarked recipes.
- Weekly Meals Card: Shows the number of meals scheduled for the current week.
- Cart Items Card: Indicates the total number of items in the shopping cart.
- AI-Generated Recipes Card: Displays the total number of AI-generated recipes created by the user.
- Activity Card: Tracks recent user activities, such as bookmarked recipes, purchased ingredients, and scheduled meals.
- Required Ingredients Card: Recommends ingredients based on upcoming scheduled meals, with an option to add them to the shopping cart.
- Pending Cart Items Card: Provides quick actions to check purchased ingredients.
- AI Recipe Card: Allows users to quickly generate recipes by selecting tags.
- Calendar Card: Displays recipes scheduled for the current week in a calendar view.
- Plan and schedule meals by selecting specific dates and times.
- View meals on a calendar for easy visualization.
- Hover over calendar items for a quick recipe description.
- Click on a meal to remove it from the schedule.
- View a quick summary of a recipe, including its ingredients, by selecting a recipe card.
- Add recipes or individual ingredients directly to the shopping cart.
- View liked recipes along with a brief description of each.
- Use quick actions to remove recipes from the liked list or toggle their bookmark status.
- Add recipes and ingredients to a temporary shopping cart.
- Update or create a new shopping list, automatically merging duplicates and adjusting quantities.
- Change username and profile picture.
- Update password.
- Simple credential-based login and signUp features.
- Responsive Design: Works well on most screen sizes.
- Scalable and Maintainable: Focused on scalability and ease of maintenance.
- Lazy Loading: Improves performance by loading images only when needed.
- ToolTip Add tooltip to show full name of recipe
- Dark Mode User can switch light and dark mode
- β‘ Next.js: Server-side rendering for fast loading.
- π§ Gemani API: AI-powered recipe text generation.
- π§ Stable Diffusion API by Cloudflare: AI-powered recipe image generation.
- π² Spoonacular API: Fetch real-world recipes, ingredient details, and nutrition data.
- ποΈ Supabase: Stores user data and recipes.
- π NextAuth.js: Authentication.
- πΈ Stripe: payments method.
- βοΈ React Query: Remote state management.
- Password reset functionality.
- "Delete Account" button.
- Animations for smoother user experience.
- Drag-and-drop functionality for the meal planning calendar.
- Notifications and user feedback.
- Feedback form for reporting bugs.
- Login /sigUp form need improvements (done)
- Stripe implementation (done)
- Clone the repository:
git clone https://github.com/rajwindersxxx/bytebites.git2.Install dependencies:
cd bitebytes
npm install3.Add a .env.local file:
rename sample.env to .eve.local and put your keys4.Set up your Supabase database:
- Execute
db.sqlon the Supabase database (tested on remote supabase). - Use the Supabase key to connect to the database.
5.Finally, run the project:
npm run dev6.Access the project at http://localhost:3000
LIVE DEMO Link: https://bytebitesxxx.vercel.app
As a self-taught developer, this is my first project with Next.js. I would appreciate your feedback on my project. Thank you!"
- NOTE: AI feature take time more then 10s on vercel so due to serverless function limit it won't work well. It might need scheduling and running server
Please note that this project is intended for personal learning, experimentation, and non-commercial purposes.
While contributions and modifications to the code are welcome, the design and overall concept should not be directly used or replicated for commercial ventures. We encourage you to build upon the ideas and code to create your own unique projects with distinct designs.
Thank you for respecting these guidelines.





