A ready-to-run Flutter app with streaming GPT-4o chat, voice input, saved chat history and a paywall screen, on a Supabase backend with Row Level Security. Paste your keys, run one SQL file, and start building the part that makes your app different.
# .env SUPABASE_URL=https://your-project.supabase.co OPENAI_API_KEY=sk-… USE_EDGE_FUNCTION=true # production mode $ flutter pub get && flutter run
Answers arrive token by token over Server-Sent Events. Auto-scroll follows the answer and stops as soon as you scroll up to read.
Attach a photo and the model sees it. Switch between GPT-4o mini and GPT-4o right in the chat.
Speech-to-text with silence detection and auto-send, so users can talk instead of type.
Every chat is saved per user. Pin, rename and delete chats. Images and files go to Supabase Storage.
Email auth, Postgres and Row Level Security: each user only ever sees their own chats and files. One schema.sql sets it all up.
A ready-made Edge Function adds the key server-side and enforces a daily message limit per user (default 50).
Change one system prompt to turn the assistant into a fitness coach, a support agent or anything else.
A Pro upgrade screen with demo mode, structured for RevenueCat so you can connect real purchases.
All keys live in one .env file. If one is missing, the app shows a setup screen instead of crashing.
Tokens are collected and pushed to the UI at most every 50 milliseconds, and only the message bubble being written rebuilds, never the whole screen. State runs on Riverpod, navigation on go_router.
You get the full project as a .zip with a step-by-step README and a troubleshooting table.
Paste your Supabase and OpenAI keys into the included .env file.
Run schema.sql once in the Supabase SQL Editor. Tables, policies and indexes are created for you.
flutter pub get, then flutter run. When you're ready to ship, switch on production mode with one line.
FOUNDER at checkout for 50% off.
Secure checkout through Lemon Squeezy. You can sell the apps you build. You can't resell the kit itself as a template.
Yes. The live demo logs you in as a guest, no sign-up needed. It gives real AI answers, limited to 15 messages per day.
Only to build for iOS. Android and Web work on Windows, macOS and Linux.
During development the app calls OpenAI directly with the key from .env, which is fine for testing. For release, production mode routes requests through the included Supabase Edge Function, so the key never ships inside your app, and each user gets a daily limit.
Not out of the box. The paywall runs in demo mode and is prepared for RevenueCat. You add your RevenueCat keys and store products to charge real money.
You get a real Postgres database, SQL you can read, and Row Level Security policies that keep each user's data private. The whole schema is one SQL file.
Write to support@dohamasystems.com.