{"id":29633605,"url":"https://github.com/butanium/focus-app","last_synced_at":"2025-07-21T14:05:41.369Z","repository":{"id":304651812,"uuid":"1019439628","full_name":"Butanium/focus-app","owner":"Butanium","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-14T11:12:46.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-14T14:51:49.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Butanium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-14T10:24:50.000Z","updated_at":"2025-07-14T11:12:50.000Z","dependencies_parsed_at":"2025-07-14T14:51:54.229Z","dependency_job_id":"4c150361-f2dd-4b1c-92be-534d1c6fca78","html_url":"https://github.com/Butanium/focus-app","commit_stats":null,"previous_names":["butanium/focus-app"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Butanium/focus-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Ffocus-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Ffocus-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Ffocus-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Ffocus-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Butanium","download_url":"https://codeload.github.com/Butanium/focus-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Butanium%2Ffocus-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266315763,"owners_count":23909802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-21T14:05:39.895Z","updated_at":"2025-07-21T14:05:41.358Z","avatar_url":"https://github.com/Butanium.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Focus App\nVibecoded focus app with claude caude and speech to text (not tested yet)\n\n\nUne application Android de productivité qui vous aide à limiter le temps d'utilisation de votre téléphone.\n\n## Fonctionnalités\n\n### Core\n- **Timer automatique** : Se lance automatiquement quand vous déverrouillez votre téléphone\n- **Notifications intelligentes** : Après 5 minutes (configurable), vous recevez une notification avec 3 options :\n  - Rappeler dans 5 minutes (configurable)\n  - Rappeler dans 15 minutes (configurable)  \n  - Désactiver pour cette session\n- **Bouton pause/reprendre** : Contrôle manuel depuis l'application\n- **Service en arrière-plan** : Fonctionne en permanence sans interruption\n\n### Réglages\n- **Délai initial** : Modifiez la durée avant la première notification (1-30 min)\n- **Rappel court** : Durée du rappel court (1-30 min)\n- **Rappel long** : Durée du rappel long (1-60 min)\n- **Vibration** : Activez/désactivez la vibration des notifications\n\n### Fonctionnalités avancées\n- **Pause automatique durant les appels** : Le timer se pause pendant vos appels téléphoniques\n- **Whitelist d'applications** : Configurez des apps qui pausent automatiquement le timer\n- **Service d'accessibilité** : Détecte quelle application est ouverte pour la whitelist\n\n## Installation\n\n1. Clonez le repository\n2. Ouvrez le projet dans Android Studio\n3. Compilez et installez sur votre appareil Android\n\n## Permissions requises\n\n- `FOREGROUND_SERVICE` : Pour le service en arrière-plan\n- `POST_NOTIFICATIONS` : Pour les notifications de rappel\n- `VIBRATE` : Pour la vibration (optionnelle)\n- `READ_PHONE_STATE` : Pour détecter les appels\n- `BIND_ACCESSIBILITY_SERVICE` : Pour la whitelist d'applications (optionnelle)\n\n## Architecture\n\n### Fichiers principaux\n- `MainActivity.kt` : Interface principale avec réglages\n- `FocusTimerService.kt` : Service en arrière-plan pour le timer\n- `ScreenReceiver.kt` : Détecte le déverrouillage d'écran et les appels\n- `NotificationActionReceiver.kt` : Gère les actions des notifications\n- `WhitelistActivity.kt` : Interface de gestion de la whitelist\n- `AppWhitelistService.kt` : Service d'accessibilité pour la whitelist\n\n### Stockage\n- `SharedPreferences` : Sauvegarde des réglages et état du timer\n\n## Utilisation\n\n1. **Première utilisation** : L'app démarre automatiquement le service au lancement\n2. **Usage normal** : Le timer se lance à chaque déverrouillage d'écran\n3. **Notifications** : Choisissez votre action quand la notification apparaît\n4. **Pause manuelle** : Utilisez le bouton dans l'app pour pause/reprendre\n5. **Whitelist** : Configurez les apps qui pausent le timer automatiquement\n\n## Code minimal\n\nLe code est volontairement simple et minimal pour faciliter les modifications :\n- Architecture Android standard\n- Pas de frameworks complexes\n- Code Kotlin lisible\n- ~8 fichiers principaux seulement","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutanium%2Ffocus-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutanium%2Ffocus-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutanium%2Ffocus-app/lists"}