dumbtv
dumbtv takes the ads, screen tracking and update nags out of your Fire TV over ADB. No root, none of your apps touched, every step can be undone. Free and open source.
Modern QR-based access control for gated communities, schools, events, and clubs across Egypt and the Gulf. Real-time monitoring, offline scanning, and full audit logs.
SecurityTypeScript · JavaScriptGitHub @iDorghamOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Physical access control systems today operate in isolation from marketing and business intelligence. Real estate developers, gated compounds.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Secure arrivals. Connected communities. One access platform.
GateFlow connects residents, visitors, security teams, and property operators across every gate—from invitation to verified entry.Read the full README ↗GateFlow is a multi-tenant access-management platform for gated compounds, residential communities, resorts, and controlled properties. It replaces phone calls, paper visitor logs, and fragmented access control systems with one unified digital workflow shared by residents, visitors, security guards, and property operators.
[!IMPORTANT]
💡 Core Competitive Advantage
The first platform that closes the gap between digital advertising spend and physical gate access — tracking a visitor from ad click all the way to the actual residential gate and recording it as a real conversion.
By persisting UTM parameters and campaign metadata from initial ad engagement through pass creation to offline physical scanner validation, GateFlow triggers server-side conversion events (via Meta CAPI and GA4) upon physical entry—giving property developers and operators true end-to-end attribution on marketing campaigns.
| Dimension | Details |
|---|---|
| Product | Multi-tenant physical-access, visitor-management, and growth platform |
| Surfaces | Six product applications plus an internal design-system application |
| Web Tech | Next.js 16, React 19, TypeScript, and Tailwind CSS |
| Mobile Tech | Expo SDK 57 and React Native for residents and gate security |
| Data Layer | PostgreSQL 16, Prisma ORM, and tenant-scoped domain isolation |
| Security | Cryptographically signed QR credentials, RBAC, AES-256 encrypted offline queue |
| Markets | Built for Middle Eastern & international operations (Arabic & English, full RTL/LTR) |
This repository is the GateFlow product monorepo. It houses the complete source code for customer- and operator-facing applications, shared core packages, database schemas, local setup scripts, security primitives, unit/integration test suites, and deployment workflows.
Whether you are evaluating GateFlow for property operations or building on the platform as a developer, jump directly to the section tailored to your role:
Evaluate GateFlow's operational value, visitor workflows, physical-to-digital ROI, and multi-tenant security control towers.
Explore monorepo architecture, technology stack, zero-trust QR cryptography, local setup, and automation tooling.
GateFlow separates each user role into a dedicated, optimized application while sharing database models, security invariants, authorization rules, and UI design foundations.
| Application | Primary users | Responsibility |
|---|---|---|
| Client Dashboard | Property managers, supervisors, operators | Operational control tower for properties, units, residents, gates, live scan activity, incidents, watchlists, and reporting. |
| Admin Dashboard | Platform administrators | Global tenant onboarding, organization lifecycle management, subscriptions, cross-tenant analytics, and system health. |
| Application | Primary users | Responsibility |
|---|---|---|
| Resident Mobile | Residents using iOS or Android | Native mobile experience for instant guest invitations, recurring passes, quota tracking, and real-time arrival notifications. |
| Resident Portal | Residents using a web browser | Web self-service portal for pass management, multi-unit access, pass revocation, and account management. |
| Application | Primary users | Responsibility |
|---|---|---|
| Scanner App | Guards and gate supervisors | Frontline mobile app for rapid QR scanning, offline signature validation, encrypted scan queues, shift tools, and supervised overrides. |
| Marketing Site | Prospective customers and partners | Public bilingual website for product showcases, industry solutions, lead capture, SEO content, and marketing funnels. |
| Workspace | Primary users | Responsibility |
|---|---|---|
| Design System | Designers and engineers | Interactive documentation for Atlassian Design System (ADS) tokens, UI primitives, accessibility rules, and RTL conventions. |
| Shared Packages | All applications | Shared database access, Zod schemas, API clients, UI components, TypeScript types, and localization dictionaries. |
Resident Mobile / Portal
│ creates and shares a signed pass
▼
Visitor QR credential
│ presented at the compound gate
▼
Scanner App ────── offline queue & background sync
│ validates signature & records entry
▼
Client Dashboard ── live operations & real-time analytics
│
└────────────── Admin Dashboard for platform governance
GateFlow follows an enterprise monorepo structure managed by Turborepo and pnpm, delivering strict workspace boundaries and cached incremental builds.
/Gateflow (Monorepo Root)
├── /apps # Mission-Critical Applications
│ ├── admin-dashboard # Platform Admin Operations (Next.js 16)
│ ├── client-dashboard # B2B Property Manager Control Tower (Next.js 16)
│ ├── marketing # Public Landing & Growth Funnels (Next.js 16)
│ ├── resident-mobile # Native Resident Mobile App (Expo SDK 57)
│ ├── resident-portal # Web Resident Self-Service (Next.js 16)
│ └── scanner-app # Offline-First Gate Verification (React Native)
├── /packages # Shared Infrastructure Packages
│ ├── db # Prisma ORM, PostgreSQL schema & tenant isolation
│ ├── ui # Atlassian Design System (ADS) UI library
│ ├── types # Universal TypeScript types & Zod schemas
│ ├── i18n # Localized AR/EN translation dictionaries
│ ├── api-client # Type-safe API client wrappers
│ └── config # Shared ESLint, Tailwind, & TSConfig presets
├── /scripts # Engineering Automation Scripts (Ralph Tooling)
└── /docs # Workspace & Product Documentation
Verification happens exclusively at the edge. Every visitor QR code contains a cryptographically signed HMAC payload. Security guards can scan and validate access passes instantly even during complete cellular or internet outages. All offline scan events are buffered in an AES-256 encrypted local storage queue and synchronized automatically when connectivity resumes.
GateFlow bridges the gap between online advertising campaigns and physical property arrivals:
utm_source, utm_campaign, ad IDs) from initial ad click through digital pass generation to physical gate arrival.Built on global design tokens for color, typography, spacing, and elevation. Ensures 100% visual and behavioral consistency across Next.js web dashboards and React Native / Expo mobile surfaces.
Launch your local development environment in minutes.
# 1. Automated environment setup & database initialization
pnpm setup:dev
# 2. Launch the Client Dashboard (http://localhost:3001)
pnpm dev:client
| Target Application | Command | Local Address |
|---|---|---|
| Client Dashboard | pnpm dev:client | http://localhost:3001 |
| Admin Dashboard | pnpm dev:admin | http://localhost:3002 |
| Marketing Site | pnpm dev:marketing | http://localhost:3000 |
| Resident Portal | pnpm dev:resident | http://localhost:3004 |
| Scanner Mobile App | pnpm dev:scanner | Expo CLI / Simulator |
| Resident Mobile App | pnpm dev:mobile | Expo CLI / Simulator |
[!TIP] Need detailed step-by-step instructions? Read the complete Developer Setup & Local Environment Guide for PostgreSQL configuration, environment variable matrices, database seeding, mobile simulators, and troubleshooting.
GateFlow adheres to strict security-by-design standards across all applications:
AsyncLocalStorage) automatically scopes queries by organizationId and fails closed if context is absent.Engineered specifically for Middle Eastern and global operations:
GateFlow's engineering lifecycle is accelerated by custom automation tooling (internally called Ralph / Ralph Loop)—a set of Node.js/Bash scripts, Husky git hooks, and phase verification tools located in /scripts and .agents/:
For details, view the Automation Tooling Guide.
pnpm.overrides ensures unified transitive dependencies across all workspaces.[!NOTE] Strategic Roadmap Single Source of Truth: For active feature initiatives, sprint plans, shipped features, and strategic goals, visit UPCOMING.md — Strategic Roadmap & Initiatives.
| Category | Reference Document | Purpose |
|---|---|---|
| Product | PRD Specification (v13.0) | Technical product requirements & feature matrix |
| AI Knowledge | Master AI Knowledge Base | Definitive system context for Grok, Claude & external LLMs |
| NotebookLM | NotebookLM Ultimate Context | Single-source source for Google NotebookLM |
| Audits | Master Ecosystem Audit | 6-app audit, security, performance, pros/cons, and invariants |
| Setup | Developer Setup Guide | Step-by-step local environment & database setup |
| Environment | Environment Variables | Complete environment variable matrix per application |
| Attribution | Marketing Suite |
| Physical attribution, CAPI integration, & growth funnels |
| Automation | Automation Guide | Automation scripts, hooks, & CLI tooling |
| Infrastructure | Infrastructure Guide | Vercel, Expo EAS, and deployment workflows |
| History | CHANGELOG | Version history and audit remediation outcomes |
| Full Index | Docs Index | Complete map of all repository documentation |