{"id":18266208,"url":"https://github.com/arindal1/anti-afk","last_synced_at":"2026-03-05T13:30:54.305Z","repository":{"id":239407976,"uuid":"799450144","full_name":"arindal1/anti-AFK","owner":"arindal1","description":"A simple Python script for an anti-AFK bot, that keeps your system active while you're away or lazing around.","archived":false,"fork":false,"pushed_at":"2024-05-12T09:55:57.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T19:00:46.387Z","etag":null,"topics":["afk-bot","python","python-script","tools"],"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/arindal1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-05-12T07:15:55.000Z","updated_at":"2024-09-04T11:28:17.000Z","dependencies_parsed_at":"2024-05-12T08:24:34.308Z","dependency_job_id":"7f224ba0-7477-4590-9ec7-7495c1253e98","html_url":"https://github.com/arindal1/anti-AFK","commit_stats":null,"previous_names":["arindal1/anti-afk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arindal1/anti-AFK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fanti-AFK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fanti-AFK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fanti-AFK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fanti-AFK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arindal1","download_url":"https://codeload.github.com/arindal1/anti-AFK/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindal1%2Fanti-AFK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30127744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T12:40:50.676Z","status":"ssl_error","status_checked_at":"2026-03-05T12:39:32.209Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["afk-bot","python","python-script","tools"],"created_at":"2024-11-05T11:22:28.721Z","updated_at":"2026-03-05T13:30:54.286Z","avatar_url":"https://github.com/arindal1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anti-AFK Script\n\nThis repository contains anti-AFK (Away From Keyboard) scripts implemented in various programming languages. These scripts prevent the system from becoming idle by:\n- simulating mouse movements at regular intervals\n- opens notepad and continuously types random characters in it\n\nThe `python` script [antiafk.py](https://github.com/arindal1/anti-AFK/blob/main/antiafk.py) is the most efficient and optimized, has the least bugs and vulnerabilities. You can read about the other scripts in **[README2](README2.md)**.\n\n## Main Script: [antiafk.py](https://github.com/arindal1/anti-AFK/blob/main/antiafk.py)\n\u003e Python3\n\nThis Python script uses the `pynput` and `keyboard` library to listen for mouse and keyboard activities. It opens Notepad and types random characters to keep the system active. It also moves the mouse randomly to prevent idle detection.\n\n### Purpose\n\n- You're working and need to leave your system for a few minutes.\n- You're in some online game where being idle for too long gets you kicked/banned.\n\n### Usage\n\n1. Make sure you have Python installed on your system.\n2. Install the required dependencies using pip:\n   ```\n   pip install pynput\n   pip install keyboard\n   ```\n3. Run the script using the following command:\n   ```\n   python antiafk.py\n   ```\n4. The script will start running. Press **Ctrl** or **Shift** or **Esc** at any time to stop the script.\n\n---\n\n## Contact\n\nIf you have any questions, suggestions, or just want to connect, feel free to reach out:\n\n- GitHub: [arindal1](https://github.com/arindal1)\n- LinkedIn: [arindalchar](https://www.linkedin.com/in/arindalchar/)\n- Twitter: [arindal_17](https://twitter.com/arindal_17)\n\n## License\n\nThese scripts are provided under the [MIT License](LICENSE).\n\n## Keep Coding 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farindal1%2Fanti-afk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farindal1%2Fanti-afk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farindal1%2Fanti-afk/lists"}