https://github.com/nabz0r/focus-flow-extension
A browser extension for enhanced productivity and focus management
https://github.com/nabz0r/focus-flow-extension
Last synced: 3 months ago
JSON representation
A browser extension for enhanced productivity and focus management
- Host: GitHub
- URL: https://github.com/nabz0r/focus-flow-extension
- Owner: nabz0r
- Created: 2025-01-07T09:44:49.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-29T17:32:47.000Z (4 months ago)
- Last Synced: 2025-01-29T18:30:09.206Z (4 months ago)
- Language: TypeScript
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎯 FocusFlow Extension
> Une extension de navigateur pour améliorer la productivité et maintenir la concentration.
>[](https://buymeacoffee.com/nabz0r)
## ✨ Fonctionnalités
- 🕔 Timer Pomodoro configurable
- 🚫 Blocage de sites distractifs
- 📈 Statistiques de focus
- 🌐 Multi-navigateur (Chrome, Firefox, Edge)
- 🔥 Synchronisation Firebase
- 👥 Multi-utilisateurs avec auth
- 📊 Analytics temps réel## 📊 État Actuel
| Feature | Status | Notes |
|---------|---------|-------|
| Timer Core | 🟢 **DONE** | Complet |
| UI Base | 🟢 **DONE** | React + TailwindCSS |
| Site Blocking | 🟢 **DONE** | Pattern matching |
| Notifications | 🟢 **DONE** | Custom sounds |
| Firebase | 🟡 IN PROGRESS | Auth + Firestore |
| Stats | 🟡 IN PROGRESS | Real-time sync |
| Settings | 🟡 IN PROGRESS | Multi-device |
| Tests | 🔴 NOT STARTED | Critique |## 🛠️ Architecture v2
### System Architecture
```mermaid
graph TB
subgraph Frontend [Frontend Layer]
P[Popup UI] --> C[Components]
C --> H[Hooks]
H --> S[Services]
endsubgraph Backend [Backend Layer]
SW[Service Worker] --> FB[Firebase Service]
SW --> CS[Chrome Storage]
FB --> Auth[Authentication]
FB --> FS[Firestore]
FB --> AN[Analytics]
endsubgraph Data [Data Layer]
FS --> Users
FS --> Sessions
FS --> Tasks
CS --> LocalCache
endFrontend --> Backend
Backend --> Data
```### Component Architecture
```mermaid
graph TB
subgraph Core [Core Components]
App --> Timer
App --> TaskList
App --> Stats
App --> Settings
endsubgraph Timer [Timer Components]
Timer --> TimerDisplay
Timer --> TimerControls
Timer --> TimerStats
endsubgraph Tasks [Task Components]
TaskList --> TaskItem
TaskList --> TaskForm
TaskList --> TaskFilters
endsubgraph Stats [Statistics Components]
Stats --> DailyStats
Stats --> WeeklyStats
Stats --> Charts
end
```## 📑 Data Structure
### Firebase Schema
```mermaid
erDiagram
USER ||--o{ SESSION : has
USER {
string uid
string email
object settings
date lastActive
}
SESSION ||--o{ TASK : contains
SESSION {
string id
date startTime
date endTime
enum type
bool completed
}
TASK {
string id
string title
bool completed
int pomodoros
array tags
}
```## 🗺️ Roadmap v4
### Phase 1: Firebase Integration 🟡
- [x] Setup projet Firebase
- [x] Configuration auth
- [x] Schema Firestore
- [ ] Migration données
- [ ] Tests sync### Phase 2: Core Features 🟢
- [x] Multi-navigateur setup
- [x] Timer basique + UI
- [x] Service Worker
- [x] Blocage de sites
- [x] Notifications### Phase 3: Améliorations UX 🟡
- [ ] Stats & Dashboard
- [ ] Theme support
- [ ] Import/Export
- [ ] Raccourcis clavier
- [ ] Sync multi-device### Phase 4: Tests & Polish 🔴
- [ ] Tests E2E
- [ ] Tests unitaires
- [ ] Tests Firebase
- [ ] Documentation API
- [ ] Store release## 💻 Components
```mermaid
graph LR
A[App] --> B[Timer]
A --> C[TaskList]
A --> D[Settings]
A --> E[Stats]
A --> F[Auth]
B --> G[TimerControls]
B --> H[TimerDisplay]
C --> I[TaskItem]
C --> J[TaskForm]
E --> K[Charts]
E --> L[Reports]
F --> M[Login]
F --> N[Register]
```## 📖 Documentation
- [Installation](./docs/INSTALL.md)
- [Architecture](./docs/ARCHITECTURE.md)
- [Tasks](./docs/TASKS.md)## 🔗 Liens Utiles
- 👨💻 [Code Source](https://github.com/nabz0r/focus-flow-extension)
- 📈 [Bug Tracker](https://github.com/nabz0r/focus-flow-extension/issues)
- 💬 [Discussions](https://github.com/nabz0r/focus-flow-extension/discussions)
- 🔥 [Firebase Console](https://console.firebase.google.com)## 🚀 Getting Started
1. Clone et install deps
```bash
git clone https://github.com/nabz0r/focus-flow-extension.git
cd focus-flow-extension
npm install
```2. Firebase setup
```bash
firebase login
firebase init
```3. Dev mode
```bash
npm run dev
```---
License: MIT
Copyright (c) 2025 nabz0r ([email protected])