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.
Showcase some use cases and interactions of the application, highlighting the engaging and unpredictable responses from the polar bear character.
https://github.com/Jaha96/interacting_bear/assets/18748558/47503d50-ed7e-4050-99f8-1fc9bee3d3e0
To run the project, follow these steps:
Check you have installed Flutter. If not, install it from here.
flutter --version
Check you have installed Dart. If not, install it from here.
dart --version
Clone project and navigate to the project directory in your terminal.
git clone https://github.com/Jaha96/interacting_bear.git
cd interacting_bear
Install required dependencies.
flutter pub get
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
Generate Riverpod autoclasses.
flutter pub run build_runner build
Run the app on web.
flutter run -d chrome
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
The app supports both English and Japanese languages. However, for the purpose of this summit project, we will focus on the English language first.
Contributions to this project are welcome! Feel free to create pull requests or open issues for bug fixes, feature requests, or any other improvements.
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!