Project 04 · Full-Stack Development / Personal Analytics / AI

Repository-backed full-stack application

Digital Behavior Mirror

A browser activity analytics application designed to turn passive browsing data into understandable focus patterns and productivity insights.

Source repository
Capture · session · reflection
01

Purpose

People move between browser tasks throughout the day, making it difficult to see how time is distributed or how often sessions are interrupted. The application brings activity capture, session storage, and review into one connected workflow.

02

Technical approach

A Chrome extension captures browsing activity and communicates with the FastAPI service. The backend validates API data with Pydantic and stores sessions and activity in SQLite. A Next.js/React dashboard presents focus statistics, charts, session history, and insight content.

03

Architecture

The extension is the activity-capture layer, FastAPI is the API and persistence boundary, and the Next.js dashboard is the review interface. SQLite stores the data; Python and Pydantic support backend behavior and request/response validation.

Three connected application layers

  1. Chrome extension
    Activity capture
  2. FastAPI + SQLite
    Session and API layer
  3. Next.js dashboard
    Insights and charts
04

Implemented features

  • Browser activity tracking through a Chrome extension.
  • Activity categorization, including local AI-based URL categorization.
  • Daily session summaries and session history.
  • Focus and distraction statistics with interactive charts.
  • Session-switching analysis and AI-generated insights.
05

Engineering decisions

  • 01Separated browser capture, API/storage, and dashboard responsibilities into distinct parts.
  • 02Used local SQLite persistence for session and activity records.
  • 03Organized captured activity into categories and daily sessions so summary statistics can be presented coherently.
  • 04Included categorization and insights in the application workflow rather than treating the dashboard as a static report.
06

Evaluation / results

The repository documents application capabilities and API workflows, but does not publish a quantitative product or model benchmark.

07

Technology stack

  • Python
  • FastAPI
  • Pydantic
  • SQLite
  • Next.js
  • React
  • Chrome Extension