Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arindal1/anti-afk
A simple Python script for an anti-AFK bot, that keeps your system active while you're away or lazing around.
https://github.com/arindal1/anti-afk
afk-bot python python-script tools
Last synced: about 2 months ago
JSON representation
A simple Python script for an anti-AFK bot, that keeps your system active while you're away or lazing around.
- Host: GitHub
- URL: https://github.com/arindal1/anti-afk
- Owner: arindal1
- License: mit
- Created: 2024-05-12T07:15:55.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-12T09:55:57.000Z (8 months ago)
- Last Synced: 2024-05-13T08:24:42.608Z (8 months ago)
- Topics: afk-bot, python, python-script, tools
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Anti-AFK Script
This repository contains anti-AFK (Away From Keyboard) scripts implemented in various programming languages. These scripts prevent the system from becoming idle by:
- simulating mouse movements at regular intervals
- opens notepad and continuously types random characters in itThe `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)**.
## Main Script: [antiafk.py](https://github.com/arindal1/anti-AFK/blob/main/antiafk.py)
> Python3This 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.
### Purpose
- You're working and need to leave your system for a few minutes.
- You're in some online game where being idle for too long gets you kicked/banned.### Usage
1. Make sure you have Python installed on your system.
2. Install the required dependencies using pip:
```
pip install pynput
pip install keyboard
```
3. Run the script using the following command:
```
python antiafk.py
```
4. The script will start running. Press **Ctrl** or **Shift** or **Esc** at any time to stop the script.---
## Contact
If you have any questions, suggestions, or just want to connect, feel free to reach out:
- GitHub: [arindal1](https://github.com/arindal1)
- LinkedIn: [arindalchar](https://www.linkedin.com/in/arindalchar/)
- Twitter: [arindal_17](https://twitter.com/arindal_17)## License
These scripts are provided under the [MIT License](LICENSE).
## Keep Coding 🚀