{"id":27933173,"url":"https://github.com/amarnaud2/anti-lock-multiplatform","last_synced_at":"2026-04-29T23:03:25.121Z","repository":{"id":291748501,"uuid":"978646374","full_name":"amarnaud2/anti-lock-multiplatform","owner":"amarnaud2","description":"Prevent your screen from locking.","archived":false,"fork":false,"pushed_at":"2025-05-06T10:57:16.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T04:33:00.084Z","etag":null,"topics":["beta-testing","first-project","linux","macos","mouse-emulation","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amarnaud2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":[],"buy_me_a_coffee":"amarnaud2","ko_fi":"amarnaud2","custom":["https://paypal.me/arnaud2m"]}},"created_at":"2025-05-06T09:56:30.000Z","updated_at":"2025-05-06T11:06:02.000Z","dependencies_parsed_at":"2025-05-06T11:23:30.759Z","dependency_job_id":"069630d3-855e-40d9-bffc-0d75fbdba38a","html_url":"https://github.com/amarnaud2/anti-lock-multiplatform","commit_stats":null,"previous_names":["amarnaud2/anti-lock-multiplatform"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/amarnaud2/anti-lock-multiplatform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarnaud2%2Fanti-lock-multiplatform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarnaud2%2Fanti-lock-multiplatform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarnaud2%2Fanti-lock-multiplatform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarnaud2%2Fanti-lock-multiplatform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amarnaud2","download_url":"https://codeload.github.com/amarnaud2/anti-lock-multiplatform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarnaud2%2Fanti-lock-multiplatform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265464261,"owners_count":23770319,"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":["beta-testing","first-project","linux","macos","mouse-emulation","windows"],"created_at":"2025-05-07T04:27:41.656Z","updated_at":"2026-04-29T23:03:25.055Z","avatar_url":"https://github.com/amarnaud2.png","language":"Python","funding_links":["https://buymeacoffee.com/amarnaud2","https://ko-fi.com/amarnaud2","https://paypal.me/arnaud2m","https://www.buymeacoffee.com/amarnaud2"],"categories":[],"sub_categories":[],"readme":"# 💻 Anti-Lock Script – Multi-platform Mouse Jiggler\n\n[![Build Multi-Platform](https://github.com/amarnaud2/anti-lock/actions/workflows/build-multiplatform.yml/badge.svg)](https://github.com/amarnaud2/anti-lock/actions/workflows/build-multiplatform.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\n---\n\nThis Python utility prevents your screen from locking by simulating a small mouse movement every 60 seconds.  \nIt's available for **Windows**, **macOS (Apple Silicon)**, and **Linux (.deb / .rpm)** via GitHub Releases.\n\n---\n\n## 💖 Sponsor this project\n\nIf you find this project useful, consider supporting it 🙏\n\n[![Buy Me A Coffee](https://img.shields.io/badge/-Buy%20me%20a%20coffee-ffdd00?logo=buymeacoffee\u0026logoColor=black\u0026style=flat)](https://www.buymeacoffee.com/amarnaud2)\n[![Ko-fi](https://img.shields.io/badge/-Support%20me%20on%20Ko--fi-29abe0?logo=ko-fi\u0026logoColor=white\u0026style=flat)](https://ko-fi.com/amarnaud2)\n[![PayPal](https://img.shields.io/badge/-Donate%20via%20PayPal-00457C?logo=paypal\u0026logoColor=white\u0026style=flat)](https://paypal.me/arnaud2m)\n\n## 📦 Supported Platforms\n\n| Platform | Format         | Built with           |\n|----------|----------------|----------------------|\n| Windows  | `.exe`         | PyInstaller          |\n| macOS    | `.app` / `.dmg`| py2app               |\n| Linux    | `.deb` / `.rpm`| PyInstaller + FPM    |\n\n## 🚀 How It Works\n\nEvery 60 seconds, the script moves the mouse by 1 pixel and back, preventing screen lock due to inactivity.\n\n## 🔧 How to Use\n\nDownload the appropriate binary from the [Releases](https://github.com/amarnaud2/anti-lock-multiplatform/releases) section, then run it:\n\n- **Windows**: Double-click `anti_lock.exe`\n- **macOS**: Unzip and launch the `.app`. May require `System Preferences \u003e Security \u003e Allow Anyway`.\n- **Linux**: Install with `sudo dpkg -i` or `sudo rpm -i`\n\n## 💻 Manual Usage (Python Script)\n\nYou can also run the Python script directly:\n\n```bash\npip install pyautogui\npython anti_lock.py\n\nTo stop the script, press Ctrl+C.\n``` \n\n## 🛠️ Build Locally\n\n### Windows (via GitHub Actions or manually)\n\n```bash\npip install pyinstaller\npyinstaller --onefile --windowed anti_lock.py\n```\n\n### macOS (Apple Silicon)\n\n```bash\npip install py2app\npython setup.py py2app\n```\n\n### Linux (Debian/Redhat)\n\n```bash\nsudo apt install ruby ruby-dev build-essential rpm\nsudo gem install fpm\npip install pyinstaller\npyinstaller --onefile anti_lock.py\nfpm -s dir -t deb -n anti_lock -v 1.0.0 -C pkg\nfpm -s dir -t rpm -n anti_lock -v 1.0.0 -C pkg\n```\n\n### 🤖 CI/CD with GitHub Actions\n\nThis repository includes a GitHub Actions workflow that:\n\n- Builds the script for all major platforms.\n- Publishes artifacts to GitHub Releases when a tag like v1.0.0 is pushed.\n\n## 🧪 Local Development Setup (macOS M1 compatible)\n\n### 1. Clone this repository\n\n```bash\ngit clone https://github.com/amarnaud2/anti-lock-multiplatform.git\ncd anti-lock-multiplatform\n```\n\n### 2. Create a virtual environment\n\n```bash\npython3 -m venv .venv\n```\n\n### 3. Activate the virtual environment\n\n```bash\nsource .venv/bin/activate\n```\n\n### 4. Install dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### 5. Run the script\n\n```bash\npython anti_lock.py\n```\n\n### 6. Deactivate the virtual environment\n\n```bash\ndeactivate\n```\n\n---\n\n## ☕ Support\n\nIf you’d like to say thanks or help keep this project going:\n\n- 💛 [Buy Me a Coffee](https://www.buymeacoffee.com/amarnaud2)\n- 💙 [Ko-fi](https://ko-fi.com/amarnaud2)\n- 💳 [PayPal](https://paypal.me/arnaud2m)\n\nEvery contribution helps — thank you!\n\n## 📜 License\n\nMIT License – free to use, modify and distribute.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famarnaud2%2Fanti-lock-multiplatform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famarnaud2%2Fanti-lock-multiplatform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famarnaud2%2Fanti-lock-multiplatform/lists"}