πŸ“Œ Quick StartΒΆ

afk-bot is a command-line bot. Run it in any terminal πŸƒβ€β™€οΈ:

afk-bot                     # moves the mouse every 1 second (default)

afk-bot -t <interval>       # customize the interval with -t / --time

afk-bot --help              # show options

To exit, press CTRL+C.

πŸ“£ Common IssuesΒΆ

  • macOS: Accessibility for Apple Events Server (AEServer) must be enabled:

    System Preferences > Security & Privacy > Privacy > Accessibility > Enable AEServer
    
  • Linux: you may need to export DISPLAY:

    export DISPLAY=:0