Honk is a Flutter mobile app that lets groups of people effortlessly coordinate around shared activities. Create an activity (a "honk"), invite friends via a QR code or invite link, and everyone sees each other's real-time status at a glance — whether that's "on my way", "already there", "skipping today", or any custom label you define.
Think of it as a lightweight, ephemeral status board for your crew.
| Feature | Description |
|---|---|
| Activity Feed | See all your active honks and the current status of every participant at a glance |
| Create a Honk | Define an activity, location, optional details, custom status options, and an auto-reset timer |
| Invite via QR / Link | Share a unique invite code as a scannable QR code or a deep link |
| Join Approval Flow | Creators approve or deny join requests before members see group statuses |
| Real-time Status Updates | Participant statuses sync live via Supabase Realtime — no refresh needed |
| Status Auto-reset | Statuses automatically expire after a configurable window, keeping the feed fresh |
| Push Notifications | FCM notifications for join requests, approvals, and honk activity |
| Google Sign-In | One-tap authentication with Google |
| Deep Link Handling | Auth redirects and invite codes work seamlessly via deep links |
- Flutter — cross-platform UI toolkit
- BLoC / Cubit — predictable state management
- GoRouter — declarative navigation with deep link support
- Freezed — immutable, union-type domain models
- Injectable + GetIt — compile-safe dependency injection
- ForUI — component library; Material 3 with an electric-violet brand palette and Fredoka/Nunito typography
- mobile_scanner + pretty_qr_code — QR scanning and generation
- Supabase — Postgres database, Row-Level Security, Realtime subscriptions, and Edge Functions (Deno)
- Firebase Cloud Messaging — push notifications via a Supabase Edge Function webhook
The project follows Clean Architecture with a feature-first folder structure:
lib/
├── core/ # Shared infrastructure
│ ├── di/ # Dependency injection (Injectable + GetIt)
│ ├── router/ # App routing (GoRouter)
│ ├── deep_link/ # Deep link & invite-code parsing
│ ├── env/ # Environment config (Envied)
│ └── theme/ # Material 3 theme, colours, spacing
│
└── features/
├── auth/ # Authentication (Google Sign-In, session management)
│ ├── data/
│ ├── domain/
│ └── presentation/ # BLoC, pages, widgets
├── honk/ # Core activity feature
│ ├── data/
│ ├── domain/ # HonkActivity, Participant, StatusOption entities
│ └── presentation/ # Feed, details, create, QR scanner, invite pages
└── notifications/ # FCM token management & local notifications
Each feature layer has a clear responsibility:
domain/— entities, repository interfaces, pure business logicdata/— Supabase/Firebase implementations of domain interfacespresentation/— BLoC/Cubit, pages, and widgets
profiles User profiles (username, FCM token)
honk_activities Group activities (location, invite code, recurrence, status-reset window)
honk_activity_status_options Per-activity custom status labels
honk_activity_participants Members with join-approval flow (pending → active / denied)
honk_participant_statuses Per-user ephemeral status per occurrence (expires automatically)
All tables have Row-Level Security enabled. Access is governed by the can_access_honk_activity database function.
- Flutter SDK
^3.xwith Dart^3.12 - A Supabase project with migrations applied
- A Firebase project with FCM enabled and
google-services.jsonplaced inandroid/app/ - A
.envfile at the project root (see.env.exampleif provided)
# 1. Clone the repository
git clone <repo-url>
cd honk
# 2. Install dependencies
flutter pub get
# 3. Run code generation (Freezed, Injectable, GoRouter, Envied, JSON)
dart run build_runner build --delete-conflicting-outputs
# 4. Launch the app
flutter runTip: Run
dart run build_runner watch --delete-conflicting-outputsduring development to keep generated files up to date automatically.
Create a .env file (gitignored) with at minimum:
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your-anon-key
HONK_WEBHOOK_SECRET=your-webhook-secretAfter editing .env, re-run code generation to regenerate the Env class.
| Command | Purpose |
|---|---|
flutter pub get |
Install dependencies |
dart run build_runner build --delete-conflicting-outputs |
One-shot code generation |
dart run build_runner watch --delete-conflicting-outputs |
Watch mode code generation |
flutter run |
Run on a connected emulator or device |
flutter analyze |
Static analysis (flutter_lints) |
dart format . |
Format all Dart files |
flutter test |
Run unit and widget tests |
- Follow Conventional Commits — e.g.
feat(honk): add recurrence picker - Keep commits focused and independently buildable
- Run
flutter analyzeandflutter testbefore opening a PR - PRs should include a short summary, linked issue/task, verification steps, and screenshots for UI changes
- Never commit secrets — store them in
.envonly
- Generated files (
*.g.dart,*.freezed.dart,injection.config.dart,app_router.g.dart) are produced bybuild_runner— do not edit them manually - Register new dependencies in
lib/core/di/register_module.dart - Environment switches (dev / prod) are handled in
main.dartviaconfigureDependencies(AppEnv.dev) - The Supabase Edge Function powering push notifications lives in
supabase/functions/honk-push/