Get up and running with AI Explorer in 5 minutes!
- Flutter SDK installed (3.0.0+)
- IDE (VS Code or Android Studio)
- Git installed
- Firebase account created
git clone https://github.com/highlanderkev/ai-explorer.git
cd ai-explorer
flutter pub getOption A: FlutterFire CLI (Recommended)
dart pub global activate flutterfire_cli
flutterfire configureOption B: Manual
- Go to Firebase Console
- Create/select project
- Enable Firebase AI
- Download config files
- Update
lib/firebase_options.dart
- Open Firebase Console
- Navigate to Build → Firebase AI
- Click Enable
- Enable billing if required
# Check available devices
flutter devices
# Run on device/emulator
flutter run- Launch app
- Tap GenUI Chat
- Try: "Create a contact form"
- See the magic happen! ✨
Easy:
"Show me a simple card"
"Create a button"
Medium:
"Create a contact form with name and email"
"Show a product card with image and price"
Advanced:
"Build a flight booking interface with date pickers"
"Create a dashboard with statistics cards"
# Add to PATH (Unix/Linux/Mac)
export PATH="$PATH:/path/to/flutter/bin"
# Verify
flutter doctorflutter clean
flutter pub get- Check
firebase_options.darthas your credentials - Verify Firebase AI is enabled
- Ensure billing is configured
# Clean and rebuild
flutter clean
flutter pub get
flutter run✅ You're Done! The app is running.
To Learn More:
- Read README.md for features overview
- Check USAGE.md for advanced usage
- Review SETUP.md for detailed setup
To Customize:
- Modify widget catalog in
lib/screens/genui_chat_screen.dart - Adjust system instruction for AI behavior
- Add custom examples in
lib/screens/examples_screen.dart
To Contribute:
- Read CONTRIBUTING.md
- Fork the repository
- Make your changes
- Submit a pull request
# Run app
flutter run
# Run tests
flutter test
# Analyze code
flutter analyze
# Format code
dart format .
# Update dependencies
flutter pub upgrade
# Clean build
flutter clean
# Build for release
flutter build apk # Android
flutter build ios # iOS- Install Flutter extension
- Open project folder
- Press F5 to run
- Install Flutter plugin
- Open project
- Click Run button
lib/
├── main.dart # App entry point
├── screens/
│ ├── home_screen.dart # Home screen
│ ├── genui_chat_screen.dart # Chat interface
│ └── examples_screen.dart # Examples
└── firebase_options.dart # Firebase config
- Documentation: Start with README.md
- Issues: GitHub Issues
- Community: Flutter Discord, Reddit
- Press
rin terminal while app is running - Or use IDE hot reload button
- Instantly see code changes
flutter run --debugflutter run --releaseflutter run -d <device-id>🎯 Try building something:
- Ask AI to create a custom form
- Modify the widget catalog
- Add a new example
- Create custom widgets
🚀 Share your experience:
- Star the repo on GitHub
- Share with the Flutter community
- Contribute improvements
💡 Learn more:
- Experiment with different prompts
- Read the full documentation
- Join Flutter community discussions
Need help? Open an issue on GitHub or check the documentation!
Ready to contribute? Read CONTRIBUTING.md to get started!
Happy coding! 🎉