{"id":27641447,"url":"https://github.com/std-microblock/screen-time-ctrl-android-root","last_synced_at":"2025-04-23T23:48:08.539Z","repository":{"id":264416176,"uuid":"893311089","full_name":"std-microblock/screen-time-ctrl-android-root","owner":"std-microblock","description":"Auto poweroff, app usage time limit \u0026 period limit without app and with Magisk.","archived":false,"fork":false,"pushed_at":"2024-11-24T05:07:44.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T23:48:04.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/std-microblock.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}},"created_at":"2024-11-24T04:58:24.000Z","updated_at":"2024-11-24T05:07:48.000Z","dependencies_parsed_at":"2024-11-24T06:18:17.303Z","dependency_job_id":"523dcbf1-d5d9-4b26-8414-48f3c8e0d92f","html_url":"https://github.com/std-microblock/screen-time-ctrl-android-root","commit_stats":null,"previous_names":["std-microblock/screen-time-ctrl-android-root"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Fscreen-time-ctrl-android-root","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Fscreen-time-ctrl-android-root/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Fscreen-time-ctrl-android-root/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Fscreen-time-ctrl-android-root/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/std-microblock","download_url":"https://codeload.github.com/std-microblock/screen-time-ctrl-android-root/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535098,"owners_count":21446505,"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","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-04-23T23:48:08.024Z","updated_at":"2025-04-23T23:48:08.528Z","avatar_url":"https://github.com/std-microblock.png","language":"Rust","readme":"The real strong screen time limit, with no app, requires magisk.\n\n## Usage\n\n```sh\n# push config\nadb push \u003cpath-to-your-config\u003e /data/media/0/limit_config.json\n# install the limit_app\nadb push screen-time-ctrl-android-root /data/tmp/limit_app\nadb shell chmod 777 /data/tmp/limit_app\nadb shell su -c /data/tmp/limit_app \u0026\n```\n\n## Config example\n\n```json\n{\n    \"free_time_range\": [\n        // offset by the start of a week, during the time do not limit anything\n        0, 100\n    ],\n    \"limits\": [\n        // rule for test\n        {\n            \"package\": [\n                // packages applying the rule\n                \"mark.via\"\n            ],\n            // the app can be used for 2 minutes per day\n            \"max_duration_per_day\": 2,\n            \"forbidden_time_ranges\": [\n                // forbit use during 00:30 ~ 01:00 each day\n                [30, 60]\n            ]\n        },\n    ],\n    \"sleep_time_range\": [\n        // shutdown during 11:30 PM to 12:00 PM \n        [\n            1410,\n            1460\n        ]\n    ]\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstd-microblock%2Fscreen-time-ctrl-android-root","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstd-microblock%2Fscreen-time-ctrl-android-root","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstd-microblock%2Fscreen-time-ctrl-android-root/lists"}