{"id":20758920,"url":"https://github.com/cyrinux/gyrolock","last_synced_at":"2026-04-24T13:32:27.944Z","repository":{"id":76198272,"uuid":"469197087","full_name":"cyrinux/gyrolock","owner":"cyrinux","description":"Lock systemd sessions when laptop is shake ","archived":false,"fork":false,"pushed_at":"2023-03-10T10:58:49.000Z","size":34,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T02:29:22.587Z","etag":null,"topics":["accelerometer","gyroscope","gyrosensor","laptop","locking","logind","systemd"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyrinux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"ko_fi":"cyrinux","github":["cyrinux"]}},"created_at":"2022-03-12T20:49:37.000Z","updated_at":"2025-11-11T20:38:44.000Z","dependencies_parsed_at":"2025-03-11T16:44:04.596Z","dependency_job_id":null,"html_url":"https://github.com/cyrinux/gyrolock","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cyrinux/gyrolock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrinux%2Fgyrolock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrinux%2Fgyrolock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrinux%2Fgyrolock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrinux%2Fgyrolock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyrinux","download_url":"https://codeload.github.com/cyrinux/gyrolock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyrinux%2Fgyrolock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32225741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["accelerometer","gyroscope","gyrosensor","laptop","locking","logind","systemd"],"created_at":"2024-11-17T09:54:13.694Z","updated_at":"2026-04-24T13:32:27.938Z","avatar_url":"https://github.com/cyrinux.png","language":"Go","funding_links":["https://ko-fi.com/cyrinux","https://github.com/sponsors/cyrinux"],"categories":[],"sub_categories":[],"readme":"# GyroLock\n\n![gyroscope](https://upload.wikimedia.org/wikipedia/commons/d/d5/Gyroscope_operation.gif)\n\nLock systemd sessions when the laptop is shake or move fast based on [gyroscope](https://en.wikipedia.org/wiki/Gyroscope) values\n\nTested on a Dell Latitude 7420.\n\n## Install\n\nAvailable as archlinux AUR package `gyrolock`. This will install also `systemd-lock-handler` AUR package and `swaylock`.\n\n## Activate\n\n```\nsudo systemctl enable --now gyrolock.service\nsystemctl --user enable --now systemd-lock-handler.service\nsystemctl --user enable --now swaylock.service\n```\n\n## Settings\n\nSensitivity can be set in an systemd unit override with `SENSITIVITY` env var.\nTry your own value, default is 5.\n\n## Debug\n\nGet sensors values with:\n\n```\n$ DEBUG=1 SENSITIVITY=5 sudo ./gyrolock\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrinux%2Fgyrolock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyrinux%2Fgyrolock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyrinux%2Fgyrolock/lists"}