https://github.com/slickml/afk-bot
AFK-Botπ€: A bot for the away from keyboard times
https://github.com/slickml/afk-bot
afk afk-bot
Last synced: 3 months ago
JSON representation
AFK-Botπ€: A bot for the away from keyboard times
- Host: GitHub
- URL: https://github.com/slickml/afk-bot
- Owner: slickml
- License: mit
- Created: 2022-11-11T00:17:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-11-19T17:42:29.000Z (7 months ago)
- Last Synced: 2025-12-23T09:51:09.884Z (6 months ago)
- Topics: afk, afk-bot
- Language: Python
- Homepage: https://github.com/slickml/afk-bot
- Size: 281 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/slickml/afk-bot/actions/workflows/ci.yml)
[](https://codecov.io/gh/slickml/afk-bot)
[](https://github.com/slickml/afk-bot/blob/master/LICENSE/)
[](https://pepy.tech/project/afk-bot)


[](https://www.slickml.com/slack-invite)

AFK-Botπ€: A bot for the away from keyboard times
## π§ Philosophy
We strongly believe that all developers should have full access to their resources (i.e. `sudo` access or permission to deactivate screens saver, ...). `afk-bot` π€ is a simple bot that moves the mouse cursor (every 1 second by default and it can be customized); so, your status never goes `Idle` and your screen never gets locked π ...
## π Installation
To begin with, you need to have a [Python version >=3.8](https://www.python.org) installed and to install the library
from [PyPI](https://pypi.org/project/afk-bot/) simply run πββοΈ :
```
$ pip install afk-bot
```
## π Quick Start
`afk-bot` is a `command-line` based bot and you can simply run it in any `terminal` πββοΈ :
```
$ afk-bot <- runs the bot and the mouse cursor moves every 1 second by default
$ afk-bot -t <- you can customize the interval with -t or --time
$ afk-bot --help <- shows the options
```
To `exit`, simply press `CTRL+C` keys.
## π£ Common Issues
- Mac users should note that the accessibility to `Apple Events Server (AEServer)` should be turned on. Simply follow the steps πββοΈ :
```
System Preferences > Security & Privacy > Choose Privacy Tab > Select Accessibility from Left Pane > Enable AEServer
```
- Some Linux users might need to export the environment variable `DISPLAY`. Simply run πββοΈ :
```
$ export DISPLAY=:0
```
## π§βπ»π€ Contributing
If you think more features should be added, please open up an issue an. PRs are more than welcome π . You can find the details of the development process in our SlickMLπ§ [Contributing](CONTRIBUTING.md) guidelines. We strongly believe that reading and following these guidelines will help us make the contribution process easy and effective for everyone involved ππ .
## β π π² Need Help?
Please join our [Slack Channel](https://www.slickml.com/slack-invite) to interact directly with the core team and our small community. This is a good place to discuss your questions and ideas or in general ask for help π¨βπ©βπ§ π« π¨βπ©βπ¦ .