Skip to content

Flutter & Rive app inspiring from Talking Tom, but this time interacting tom using ChatGPT like LLM models.

License

Notifications You must be signed in to change notification settings

Jaha96/interacting_bear

Repository files navigation

Talking Bear Flutter App

Welcome to the Talking Bear Flutter app! This project aims to recreate the delightful experience of the talking Tom game from our childhood using the latest technologies available to us. The app utilizes Rive for animations, Riverpod for state management, Google Cloud Text-to-Speech AI for text-to-speech and device's built in speech-to-text functionalities, and Chat GPT API for generating interesting and random responses. The primary goal is to create an interactive and cute application that listens, interacts, and generates exciting results for kids.

Demo

Showcase some use cases and interactions of the application, highlighting the engaging and unpredictable responses from the polar bear character.

Demo.video.mp4

Requirements

Getting Started

To run the project, follow these steps:

  1. Check you have installed Flutter. If not, install it from here.

    flutter --version
  2. Check you have installed Dart. If not, install it from here.

     dart --version
  3. Clone project and navigate to the project directory in your terminal.

    git clone https://github.com/Jaha96/interacting_bear.git
    cd interacting_bear
  4. Install required dependencies.

    flutter pub get
  5. Replace .env.example filename into .env and update your OpenAI API, Google Cloud API credentials. Example:

    OPENAI_API_KEY=your_openai_api_key
    GOOGLE_CLOUD_API_KEY=your_google_cloud_api_key
  6. Generate Riverpod autoclasses.

    flutter pub run build_runner build
  7. Run the app on web.

    flutter run -d chrome
  8. Now flutter automatically opens the web browser and runs the app.

To generate launcher icons for android and ios, run the following command: flutter pub run flutter_launcher_icons

Features

  • Cute and interactive polar bear character with various animations like hearing, waving, and talking.
  • Real-time text to speech using Google Cloud Text-to-Speech AI for accurate and seamless user interactions.
  • Rive animations for smooth and resource-efficient character movements.
  • Riverpod state management to ensure a clean and organized codebase.
  • Chat GPT API for generating interesting and random responses, adding an element of surprise for kids.

Language Support

The app supports both English and Japanese languages. However, for the purpose of this summit project, we will focus on the English language first.

Contribution

Contributions to this project are welcome! Feel free to create pull requests or open issues for bug fixes, feature requests, or any other improvements.

License

This project is licensed under the MIT License.


Thank you for your interest in the Talking Bear Flutter app! I hope you enjoy exploring the code and interacting with my cute polar bear character. If you have any questions or feedback, please don't hesitate to reach out to us. Happy coding!

About

Flutter & Rive app inspiring from Talking Tom, but this time interacting tom using ChatGPT like LLM models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published