Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Chrono — Privacy-First Age Verification

2nd Place — Cybersecurity Track & Gemini API Track @ PatriotHacks 2026

Chrono is a privacy-preserving age verification platform that lets users verify their age once and reuse that verification across any connected app — without ever exposing their identity documents again.

The Problem

Every app that needs age verification today asks for the same thing: your ID, your face, your personal data — over and over. That data gets stored, duplicated, and eventually leaked. Chrono solves this by making age verification a one-time event, not a recurring privacy risk.

How It Works

  1. Verify once — Users submit their ID and face scan through a secure, encrypted process. Documents are processed and immediately discarded. Only a minimal age band is stored.
  2. Connect apps — Users issue scoped service tokens to third-party apps, granting access only to the specific fields each app needs (e.g., is_18_plus only).
  3. Stay in control — Users can revoke any app's access instantly from their dashboard. No re-verification required for new apps.

Key Features

  • Privacy by design — Raw ID documents are never persisted. Only a verified age band is stored.
  • Scoped service tokens — Apps receive JWT tokens with field-level access control. A gaming platform can confirm age without seeing anything else.
  • Instant revocation — Token revocation is reflected immediately across all connected services.
  • Developer SDK — Designed to integrate like "Sign in with Google" — drop in the SDK, configure scopes, handle compliance automatically.
  • Multi-platform — Works across web, mobile, and gaming platforms from a single verification.

Tech Stack

Frontend

  • Next.js 15, React 19, TypeScript
  • Tailwind CSS, Framer Motion

Backend

  • FastAPI (Python), Uvicorn
  • MongoDB (separate collections for login, account, service tokens, namespaces)
  • JWT authentication (PyJWT), bcrypt password hashing
  • Pydantic data validation

Architecture

chrono/
├── frontend/          # Next.js app
│   ├── app/           # App router pages
│   └── components/    # Landing, dashboard, auth components
├── backend/
│   ├── main.py        # FastAPI entry point + CORS
│   └── api/
│       ├── account.py # Auth, service token lifecycle
│       └── sync.py    # Age verification sync

API Overview

Endpoint Description
POST /account/register Create account with bcrypt-hashed password
POST /account/login Authenticate, receive JWT
POST /account/details Fetch account data (field-filtered for service tokens)
POST /account/service-token/generate Issue scoped service token for a namespace
POST /account/service-token/list List active tokens for a user
PUT /account/service-token/revoke Revoke a service token immediately

Running Locally

Backend

cd backend
python -m venv venv
source venv/bin/activate  # Windows: venv\\Scripts\\activate
pip install -r requirements.txt
cp .env.example .env
uvicorn main:app --reload --port 8000

Frontend

cd frontend
npm install
npm run dev

App runs at http://localhost:3000. API docs at http://localhost:8000/docs.

Built By

Brian Soltani · Nathan · Dylan — PatriotHacks 2026

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages