Skip to content

https-shubhamsahu/sentri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SENTRI — Smart Entry with Behavioral Intelligence

High-conversion, judge-ready security SaaS prototype for gated communities.

Next.js TypeScript Status Theme

One-Line Pitch

SENTRI does not just record entries. It learns suspicious visitor behavior patterns and helps guards, residents, and admins act in real time.

Live Demo

Why Judges Care

  • 73% style problem framing: repeat visitors can bypass manual systems.
  • Explainable AI scoring: every trust score includes factor breakdown.
  • Complete ecosystem demo: Guard + Resident + Admin experience.
  • Deployable model: low-cost hardware edge with SaaS dashboard economics.

Problem -> Solution Snapshot

Manual Logging SENTRI
Paper registers, low signal Face-capture + behavioral scoring
Slow human lookup Instant trust score and decision band
No pattern memory Repeat-risk and anomaly detection
Weak audit trail Full timeline + explainable factors

Architecture at a Glance

flowchart LR
  A[ESP32-CAM Gate Unit] --> B[Guard App / Web Console]
  B --> C[Trust Score Engine]
  C --> D[Decision Band SAFE/CAUTION/WATCHLIST/FLAGGED]
  D --> E[Resident Notification]
  D --> F[Admin Anomaly Feed]
  F --> G[Blacklist and Policy Action]
Loading

Intelligence Core

Trust Score Engine (0-100)

Deterministic score generated from:

  • visit frequency
  • host diversity
  • late-night entry timing
  • repeat denial patterns
  • phone and external risk signals

Output includes:

  • score (0-100)
  • band (SAFE, CAUTION, WATCHLIST, FLAGGED)
  • factor-level explanation for auditability

Detection Stack

  • Isolation Forest signals for unusual behavior patterns
  • Rule Engine for deterministic policy checks
  • Confidence-aware anomaly feed for operators

3-Role Ecosystem

Role Interface Key Actions
Guard React PWA-style console scan pass, verify visitor, decision at gate
Resident Mobile-first flow receive alert, one-tap approve/deny
Admin Next.js command center anomaly monitoring, device visibility, user/access policy

Feature Tour (Judge Script: 4-6 Minutes)

  1. Open landing page and read problem statement + trust gauge.
  2. Go to /auth, login as admin@sentri.ai.
  3. Open /admin and run Simulate to inject a suspicious visitor.
  4. Visit /admin/anomalies to show risk classification.
  5. Switch to /guard and verify pass scanning flow.
  6. Switch to resident role and show one-tap approval model.

Demo Credentials

Role Email Password
Admin admin@sentri.ai Admin@123
Guard guard@sentri.ai Guard@123
Resident resident@sentri.ai Resident@123

Tech Stack

Layer Technology
Frontend Next.js 16, React 19, TypeScript
State Zustand
Motion/UX Framer Motion
Auth (Demo Mode) Role-based local session model
Security UX Trust ring, anomaly states, role-gated navigation

Hardware + Cost Disruption

  • Edge unit: ESP32-CAM based capture module
  • Estimated unit cost: ~₹600
  • Goal: bring intelligence-level security to mass housing societies at practical cost

Scalability and Business Model

  • Target market: 50,000+ gated societies in India
  • SaaS model: per-gate / per-flat recurring subscription
  • Expansion path: pilot society -> cluster rollout -> city-wide network graph intelligence

Compliance and Security Posture

  • Designed around CERT-In IoT security principles
  • Role-based access control for operational boundaries
  • Explainable scoring to avoid opaque decisioning

Local Setup

cd SENTRI_WebApp/sentri-app
npm install
npm run dev

Open http://localhost:3000

Production Build

npm run build
npm start

Repository Structure

src/
  app/
    page.tsx                 # Judge-focused landing page
    auth/page.tsx            # Role login/signup
    admin/*                  # Admin command center modules
    guard/page.tsx           # Guard operations and QR verification
    resident/*               # Resident workflows
  components/
    Navbar.tsx               # Top navigation and role-aware UI
    TrustScoreBadge.tsx      # Animated trust score ring
    AuthzGuard.tsx           # Route authorization guard
  lib/
    trustEngine.ts           # Scoring logic
    accessControl.ts         # RBAC matrix
  store/
    sentriStore.ts           # App state and demo auth/session

Team

Built by Team Lazarus.


If you are a judge: start from the live URL, use the demo credentials, and run the 6-step tour above to evaluate product clarity, technical depth, and commercialization potential.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors