Project 04 · Full-Stack Development / Personal Analytics / AI
Digital Behavior Mirror
A browser activity analytics application designed to turn passive browsing data into understandable focus patterns and productivity insights.
Source repositoryPurpose
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.
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.
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
- Chrome extension
Activity capture - FastAPI + SQLite
Session and API layer - Next.js dashboard
Insights and charts
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.
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.
Evaluation / results
The repository documents application capabilities and API workflows, but does not publish a quantitative product or model benchmark.
Technology stack
- Python
- FastAPI
- Pydantic
- SQLite
- Next.js
- React
- Chrome Extension