A lightweight Windows utility that simulates keyboard and mouse inputs at random intervals to prevent automatic AFK detection in games.

Stars

3

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-29

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It solves a common gamer annoyance by providing a simple, randomized input simulation tool that requires no complex setup and runs without additional runtime dependencies.

Who it is for

  • Gamers who play titles with AFK timers
  • Idle gamers or farmers
  • Users wanting to stay active while briefly away
  • Developers interested in Windows input simulation

Use cases

  • Remaining logged into MMOs to avoid auto-logout
  • Sustaining idle farming or grinding sessions
  • Preventing screen lock or inactivity prompts
  • Testing game mechanics that require player presence

Strengths

  • Simple F1/F2 start/stop controls
  • Randomized intervals make activity appear natural
  • Statically linked executable runs on stock Windows without VC++ redistributable
  • Focused, lightweight design

Considerations

  • Windows-only
  • Requires administrator privileges if the game window is elevated
  • May violate game terms of service
  • Limited to predefined key bindings (WASD, 5, right mouse)

README quick start

anti-afk

Small Windows utility that keeps you from going AFK in games. It cycles the movement keys (W/D/A/S), taps 5, and fires the right mouse button at randomized intervals so activity looks natural.

Controls

  • F1 — start
  • F2 — stop

Run as administrator if the game window is elevated (otherwise UIPI will block the synthesized input).

Build

Open anti-afk.sln in Visual Studio 2022 and build Release | x64.

Or from the command line:

msbuild anti-afk.sln -p:Configuration=Release -p:Platform=x64

Output: x64\Release\anti-afk.exe. The Release build statically links the CRT, so the exe runs on a stock Windows install with no VC++ Redistributable.

Description

Small Windows utility to avoid going AFK in games

Related repositories

Similar projects matched by category, topics, and programming language.

makecindy
Featured
makecindy GitHub avatar

cindy

Cindy is an open-source AI agent that runs locally on your machine, integrates multiple AI harnesses and models, and provides memory, skills, and automation to perform real work in your projects and apps.

AI & Machine LearningLarge Language Models
958
l0ng-ai
Featured
l0ng-ai GitHub avatar

tty7

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.

Developer ToolsCLI & Terminal
359
programmersd21
Featured
programmersd21 GitHub avatar

flow

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.

Developer ToolsCLI & Terminal
277