An interactive Flutter app for kids featuring a cute polar bear character inspired by Talking Tom and Duolingo's Lily. The app creates an engaging experience where children can listen, interact, and discover exciting responses through voice conversations with their animated polar bear friend.
- Rive animation used in this project.
- Live demo: interactingbear.jackjapar.com
- App demo usage Video:
Demo.video.mp4
- Rive for smooth and resource-efficient animations including hearing, waving, and talking
- Riverpod for state management to ensure a clean and organized codebase
- Google Cloud Text-to-Speech AI for real-time text-to-speech and device's built-in speech-to-text functionalities
- Chat GPT API for generating interesting and random responses
- Tested with Flutter 3.35.6
- Google Cloud API key
- OpenAI API key
To run the project, follow these steps:
-
Check you have installed Flutter. If not, install it from here.
flutter --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.examplefilename into.envand 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.
dart run build_runner build # or watch dart run build_runner watch -
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
I deployed this app on AWS S3 bucket and used CloudFront for CDN. And you can find CDK code for deploying this app on AWS ./cdk
Contributions to this project are welcome! Feel free to create pull requests or open issues for bug fixes, feature requests, or any other improvements.
If you have any questions or feedback, please don't hesitate to reach out to me. Happy coding!
Keywords: flutter, rive, riverpod, google-cloud-text-to-speech, chat-gpt, interactive-app, kids-app, talking-bear, animation, voice-interaction, flutter-app, flutter-project, duolingo, talking-tom, openai, flutter-web, flutter-desktop, flutter-mobile