Skip to content

App for generating recipes, based on your preferences using ChatGPT API

Notifications You must be signed in to change notification settings

yanfalcao/ReceptIa

Repository files navigation

ReceptIa


Guiautismo

App to create recipes based on your favorite ingredients using ChatGPT API.

PRs Welcome Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Application

App image App image App image App image

Description

App developed to test my knowledge in Android Native and use new technologies and best practices. The app is designed to create recipes using artificial intelligence, specifically ChatGPT API, these recipes are generated based on your ingredients preferences, creating something perfect for you.

The app sends to the AI, information about ingredients that you are allergic to, intolerant of, or dislike. Being inclusive of all the users.

The app follows the practices and uses the official Android app Now In Android as a reference.

Features

✔️ Login with Google.

✔️ Create recipes using ChatGPT API.

✔️ Details of your recipes.

✔️ Historic of your recipes with filters.

✔️ Favorite your recipes.

Tools

Android Android Compose androidStudio firebase ChatGPT API Kotlin

Getting Started

  1. Install Android Studio, if you don't already have it;
  2. Download or clone the ReceptIa Project;
  3. Add Firebase to your Android project, following the intructions of Option 1, and the Step 1, Step 2 and Step 3.1;
  4. If you haven't yet specified your app's SHA fingerprint in Firebase, do so from the Settings page of the Firebase console. Refer to Authenticating Your Client for details on how to get your app's SHA fingerprint.
  5. Enable Google as a sign-in method in the Firebase console: a. In the Firebase console, open the Auth section. b. On the Sign in method tab, enable the Google sign-in method and click Save.
  6. When prompted in the console, download the updated Firebase config file (google-services.json), which now contains the OAuth client information required for Google sign-in.
  7. Move this updated config file into your Android Studio project, replacing the now-outdated corresponding config file. (See Add Firebase to your Android project.)
  8. In your firebase console open Authentication. Click Sign-in method, then click Google. Finally open Web SDK Configuration and save the Web Client Id;
  9. Now create your developer account on OpenAI platform
  10. Click Settings. Open the Manage Account, then click API Keys. Finally, create your secret key and save its value;
  11. Open the ReceptIA into Android Studio;
  12. Open the local.propeties file. Add the parameters below with the values saved on the last steps:
  GPT_API_KEY={YOUR_OPEN_AI_SECRET_KEY}
  WEB_CLIENT_ID={YOUR_FIREBASE_WEB_CLIENT_ID} 
  1. Build and run.

Developer

Yan Falcão
Yan Falcão

About

App for generating recipes, based on your preferences using ChatGPT API

Resources

Stars

Watchers

Forks

Languages