# Prism - AI-Powered Screen Reader & Time Tracker
๐ Intelligent Desktop Ecosystem That Understands Your Work
Analyzing and breaking down complex activities into understandable components
## ๐ Core Vision
An intelligent desktop ecosystem that understands your work patterns, learns from your behavior, and evolves into a comprehensive productivity assistant.
## ๐ Current Features (Phase 1 - MVP)
### Observer Agent
- **Screen Analysis**: Periodic screenshots with OCR and window detection
- **Activity Classification**: ML-powered categorization of work activities
- **Privacy-First**: All processing happens locally on your machine
- **Basic Time Tracking**: Application usage and activity duration logging
- **Simple Dashboard**: Real-time activity monitoring and daily summaries
## ๐๏ธ Architecture
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Prism Core โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข Event Bus (Agent Communication) โ
โ โข Privacy & Security Layer โ
โ โข Data Management (Local SQLite) โ
โ โข Agent Registry & Plugin System โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Observer Agent โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โข Screen Capture โข OCR Processing โ
โ โข Window Detection โข Activity Classificationโ
โ โข Time Tracking โข Data Storage โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
## ๐ ๏ธ Tech Stack
- **Backend**: Python 3.9+
- **Screen Capture**: PyAutoGUI, Pillow
- **OCR**: Tesseract (via pytesseract)
- **ML Classification**: scikit-learn, transformers
- **Database**: SQLite
- **GUI**: Tkinter (future: PyQt or Electron)
- **Privacy**: Local-only processing, encrypted storage
## ๐ฆ Installation
### Prerequisites
- Python 3.9 or higher
- Tesseract OCR engine
### macOS Setup
```bash
# Install Tesseract
brew install tesseract
# Clone the repository
git clone
cd prism-ai-screen-reader
# Install Python dependencies
pip install -r requirements.txt
# Initialize the database
python -m prism.core.database init
# Run Prism
python -m prism.main
```
### Security Permissions (macOS)
Prism requires screen capture permissions. When first running:
1. Go to System Preferences โ Security & Privacy โ Privacy
2. Select "Screen Recording" from the left sidebar
3. Add Terminal (or your Python environment) to the allowed applications
## ๐ฏ Usage
```bash
# Start the Observer agent
python -m prism.main --mode observer
# View activity dashboard
python -m prism.dashboard
# Export activity data
python -m prism.export --format json --date-range 7d
```
## ๐บ๏ธ Roadmap
### โ
Phase 1: Foundation (Current)
- [x] Screen capture and OCR
- [x] Basic activity classification
- [x] Local data storage
- [x] Simple time tracking
- [ ] Dashboard interface
### ๐ Phase 2: Intelligence Layer (Next)
- [ ] Pattern recognition and work rhythm analysis
- [ ] Automatic project detection
- [ ] Productivity metrics and insights
- [ ] Smart notifications and break reminders
### ๐ฎ Phase 3: Automation & Assistance
- [ ] Workflow automation suggestions
- [ ] Context-aware assistance
- [ ] Resource recommendations
- [ ] Meeting intelligence
### ๐ Phase 4: Ecosystem Expansion
- [ ] Specialized agent marketplace
- [ ] Team collaboration insights
- [ ] Health and wellness monitoring
- [ ] Advanced integrations
## ๐ Privacy & Security
- **Local Processing**: All AI analysis happens on your device
- **Encrypted Storage**: Sensitive data is encrypted at rest
- **No Cloud Dependencies**: Works completely offline
- **Granular Controls**: Fine-tune what data is collected and analyzed
- **Data Ownership**: You own and control all your data
## ๐ค Contributing
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
## ๐ License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## ๐ Support
- ๐ [Documentation](docs/)
- ๐ [Issue Tracker](issues/)
- ๐ฌ [Discussions](discussions/)
---
Built with โค๏ธ for productivity enthusiasts who value privacy