Skip to content

Latest commit

Β 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Chrome Extension Manifest V3 React TypeScript Node.js Express OpenAI REST API AI Analysis Screen Recording MediaRecorder Frame Extraction Render Responsive Performance Production Ready

AI Screen Activity Analyzer (Chrome Extension + AI)

An intelligent Chrome Extension that records user screen activity, extracts key frames, and uses AI to analyze productivity, detect issues, and provide actionable insights.


πŸ“Έ Project Screenshots

🏠 Home Screen

Image

πŸ“Š Analytics Dashboard

Image

πŸ“ˆ App Usage & Productivity Charts

Image

πŸ“‰ Productivity Trend

Image

πŸ“‹ Task Analysis

Image

⚠️ AI Issues & Suggestions

Image

πŸ•’ Session History

Image

πŸ“‘ Complete Analysis Report

Image

🎯 Features

  • πŸŽ₯ Screen recording using Chrome Extension
  • πŸ“€ Upload recordings to backend
  • 🧠 AI-powered analysis (OpenAI)
  • πŸ–ΌοΈ Frame extraction using FFmpeg
  • πŸ“Š Productivity scoring & insights
  • πŸ“ˆ Analytics dashboard (charts + trends)
  • πŸ—„οΈ PostgreSQL database storage
  • ☁️ Deployed on Render

πŸ—οΈ Tech Stack

Frontend (Extension)

  • JavaScript
  • Chrome Extension APIs
  • Chart.js

Backend

  • Node.js
  • Express.js
  • PostgreSQL

AI & Processing

  • OpenAI API
  • FFmpeg (frame extraction)

Deployment

  • Render

βš™οΈ Setup Instructions

1️⃣ Clone the Repository

git clone https://github.com/ShashankShekhar31/Adocci.git
cd Adocci

2️⃣ Install Dependencies

cd backend
npm install

3️⃣ Create .env File (IMPORTANT πŸ”‘)

Create a .env file inside the backend folder and add:

OPENAI_API_KEY=your_openai_api_key_here
DATABASE_URL=your_postgresql_connection_url
PORT=5000

πŸ‘‰ Example:

OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx
DATABASE_URL=postgresql://user:password@host:5432/db?sslmode=require
PORT=5000

4️⃣ Run Backend

node server.js

5️⃣ Load Chrome Extension

  1. Open Chrome β†’ chrome://extensions/
  2. Enable Developer Mode
  3. Click Load unpacked
  4. Select the extension/ folder

🧠 How It Works

  1. User records screen via extension

  2. Video is uploaded to backend

  3. FFmpeg extracts frames

  4. Frames are sent to OpenAI

  5. AI generates:

    • Task summary
    • Apps used
    • Steps taken
    • Issues detected
    • Suggestions
  6. Data is stored in PostgreSQL

  7. Analytics dashboard shows insights


πŸ“Š Analytics Provided

  • Total sessions
  • Average issues per session
  • Productivity score (0–100)
  • Productivity level (Good / Average / Poor)
  • App usage trends
  • Daily productivity trends
  • Best & worst session detection

πŸš€ Deployment

Backend deployed on Render:

πŸ‘‰ https://adocci.onrender.com


⚠️ Important Notes

  • Do NOT commit .env file
  • Add .env to .gitignore
  • FFmpeg is required for frame extraction
  • Free Render instance may sleep (delay in response)

πŸ“Œ Future Improvements

  • Video compression before upload
  • Real-time analysis
  • User authentication
  • Dashboard UI improvements
  • Session history filtering

πŸ‘¨β€πŸ’» Author

Shashank Shekhar

GitHub

https://github.com/ShashankShekhar31

LinkedIn

www.linkedin.com/in/shashank-shekhar-61633a273


About

AI-powered Chrome Extension that records screen activity, extracts frames, and generates productivity insights using OpenAI and PostgreSQL.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages