Giter Club home page Giter Club logo

receptia's Introduction

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

receptia's People

Contributors

yanfalcao avatar

Stargazers

Pedro Malta avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.