How papajammm/chickintel-2026 works
ChickIntel is an Expo app for managing poultry-farm operations and flock health. The principal workflow is a farmer entering the app, reviewing farm information, and using dedicated screens to manage batches, eggs, inventory, schedules, and health records; scanning and reporting provide additional capabilities. Authentication and Supabase-backed data access form an internal layer. The README mainly describes the Expo starter and UI, so several domain capabilities are identified from the repository tree rather than documented workflows; their connections are not asserted where source evidence was unavailable.
Main entry points: supabase.ts Supabase Client · supabase-batches.ts Chicken Batches · breed-image-inference.ts Breed Inference · supabase-admin.ts Admin Data Access
Components 25
Access and Home
- App Entry
app/index.tsx - Authentication
providers/auth-provider.tsx - Sign In
app/loginscreen.tsx - Farm Home
app/(tabs)/index.tsx - Admin Dashboard
app/admin/dashboard.tsx
Farm Operations
- Chicken Batches
utils/supabase-batches.ts - Batch Store
utils/batch-store.ts - Egg Batches
app/(tabs)/eggbatchitem/[color].tsx - Inventory
app/(tabs)/inventory.tsx - Schedule
app/(tabs)/schedule.tsx - Journal
app/(tabs)/journal/index.tsx - Reports
app/(tabs)/reports.tsx
Flock Intelligence
- Scan Workflow
app/(tabs)/scanner.tsx - Breed Inference
utils/breed-image-inference.ts - Breed Inference Function
supabase/functions/roboflow-breed-inference/index.ts - Health Scan
app/(tabs)/scanned-health/index.tsx - Health Rule Engine
utils/health-rule-engine.ts - Health Image Inference
utils/health-image-inference.ts - Health Inference Function
supabase/functions/roboflow-health-inference/index.ts - Health Monitoring
app/(tabs)/health-monitoring/index.tsx - Monitoring Records
utils/supabase-health-monitoring.ts
Data and Services
- Supabase Client
lib/supabase.ts - Admin Data Access
utils/supabase-admin.ts - Recent Breed Scans
utils/recent-breed-scans.ts
Other components
- Farmer
Connections 21
- Farmer → App Entry: opens app
- App Entry → Authentication: checks session
app/index.tsx - Authentication → Supabase Client: uses client
providers/auth-provider.tsx - Farmer → Sign In: signs in
- Farm Home → Chicken Batches: fetches batches
app/(tabs)/index.tsx - Chicken Batches → Supabase Client: queries data
utils/supabase-batches.ts - Chicken Batches → Batch Store: uses store
utils/supabase-batches.ts - Egg Batches → Batch Store: uses store
app/(tabs)/eggbatchitem/[color].tsx - Egg Batches → Chicken Batches: uses batch data
app/(tabs)/eggbatchitem/[color].tsx - Health Monitoring → Monitoring Records: loads records
app/(tabs)/health-monitoring/index.tsx - Monitoring Records → Supabase Client: queries data
- Health Scan → Health Rule Engine: resolves symptoms
- Health Rule Engine → Health Image Inference: uses predictions
utils/health-rule-engine.ts - Breed Inference → Supabase Client: uses client
utils/breed-image-inference.ts - Admin Dashboard → Admin Data Access: loads farmers
app/admin/dashboard.tsx - Admin Dashboard → Admin Data Access: toggles status
app/admin/dashboard.tsx - Admin Data Access → Supabase Client: uses client
- Scan Workflow → Recent Breed Scans: adds recent scans
README.md - Scan Workflow → Breed Inference: runs inference
- Breed Inference → Breed Inference Function: invokes function
- Health Image Inference → Health Inference Function: invokes function