{"id":31580024,"url":"https://github.com/anamika1608/detoxie","last_synced_at":"2025-10-05T21:05:31.572Z","repository":{"id":300393167,"uuid":"1006049215","full_name":"Anamika1608/Detoxie","owner":"Anamika1608","description":"An app for insta reels addiction. Displays an overlay on the insta app after certain time.","archived":false,"fork":false,"pushed_at":"2025-09-26T05:16:20.000Z","size":2023,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-26T07:10:11.317Z","etag":null,"topics":["accessbilityservice","java","nativemodule","nativewind","react-native"],"latest_commit_sha":null,"homepage":"https://detoxie.vercel.app","language":"TypeScript","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/Anamika1608.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-21T11:29:25.000Z","updated_at":"2025-09-26T05:16:24.000Z","dependencies_parsed_at":"2025-06-21T13:18:49.256Z","dependency_job_id":"dd16f2e8-cb44-4153-9657-0fe5152a3ab2","html_url":"https://github.com/Anamika1608/Detoxie","commit_stats":null,"previous_names":["anamika1608/detoxie"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Anamika1608/Detoxie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anamika1608%2FDetoxie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anamika1608%2FDetoxie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anamika1608%2FDetoxie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anamika1608%2FDetoxie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anamika1608","download_url":"https://codeload.github.com/Anamika1608/Detoxie/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anamika1608%2FDetoxie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278518899,"owners_count":26000177,"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-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["accessbilityservice","java","nativemodule","nativewind","react-native"],"created_at":"2025-10-05T21:05:30.655Z","updated_at":"2025-10-05T21:05:31.559Z","avatar_url":"https://github.com/Anamika1608.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Detoxie App\n\nDetoxie is a React Native application that integrates with Android's **Accessibility Service** to detect and track user activity (such as time spent on Reels/Explore). It uses a **custom Native Module** to bridge communication between the native Android code and the React Native (JS/TS) layer.\n\n## App Working\n\nhttps://github.com/user-attachments/assets/2cb0b092-5746-4a6b-97e2-7ef4b5c4d710\n\n\n## Preview of app  \n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/2274bf1e-0403-4641-a142-1bd06267bf90\" width=\"45%\" /\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/76f4a7ed-e2e8-413c-8980-137bcddcc117\" width=\"45%\" /\u003e\n\u003c/p\u003e\n\n## Functionality\n\n### 1. Accessibility Service\n\n* Built in **Java**.\n* Detects when the user is on **Reels/Explore** by parsing the root node and checking for specific keywords (`reel`, `explore`).\n* Tracks the time spent on these screens.\n\n### 2. Native Module\n\n* A **custom React Native bridge** to communicate between the native Accessibility Service and React code.\n* Registers the accessibility service into the native module.\n* Enables React Native (TS) to receive events/data from Android native code.\n\n\n## Setup\n\n1. Enable the Accessibility Service:\n\n   * Open **Settings** → **Detoxie** → **Enable (true)**\n\n2. The service will start monitoring Reels/Explore usage and tracking time.\n\n## Tech Stack\n\n* **React Native** (TS)\n* **Android Accessibility Service** (Java)\n* **Custom Native Module** for bridging\n\n## Workflow\n\n1. **TURN ON SERVICE** → `Settings → Detoxie → true`\n2. Accessibility Service detects Reels/Explore activity\n3. Native Module bridges data between **Accessibility Service (native)** and **React Native (TS)**\n4. React Native layer consumes and processes this data\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanamika1608%2Fdetoxie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanamika1608%2Fdetoxie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanamika1608%2Fdetoxie/lists"}