Skip to content

zdllucky/smart_8ball

Repository files navigation

Ponder8 (Smart 8 Ball)

Powered by firebase TypeScript CEL

Powered by flutter Dart

Git Secret

Powered by OpenAI GPT3.5-Turbo Whisper

Google Ads Enabled

About

This project is a simple 8Ball that uses AI to answer your questions. Contains firebase cloud setup and flutter application (iOS/ Android).

Run the project locally

Before you start

  1. Install git-secret
  2. Ensure you have access to the project secrets
  3. Unpack secrets git secret reveal

Emulator (Recommended)

  1. Install Node.js version @16
  2. Install firebase-tools globally npm install -g firebase-tools
  3. Initialize firebase firebase init
  4. Go to the project cloud functions directory cd firebase/functions
  5. Install dependencies npm install
  6. Run the emulator npm run emulator:all

Application

  1. Install Flutter

  2. In the root of the project run flutter pub get

  3. Run build_runner flutter pub run build_runner build --delete-conflicting-outputs

  4. Run the app flutter run

    Environment variables:

    1. FIREBASE_ENV - cloud or emulator
    2. EMULATOR_REMOTE_HOST - localhost or actual host IP address to access remote emulations

About

Magic 8Ball Flutter App powered by Firebase services and ChatGPT for real minded answers

Topics

Resources

Stars

Watchers

Forks

Contributors