{"id":50496357,"url":"https://github.com/jeebuscrossaint/cursor-begone","last_synced_at":"2026-06-02T07:30:59.912Z","repository":{"id":360091258,"uuid":"1248662134","full_name":"jeebuscrossaint/cursor-begone","owner":"jeebuscrossaint","description":"Tiny Win32 tray app that auto-hides the mouse cursor after 3 seconds of inactivity","archived":false,"fork":false,"pushed_at":"2026-05-24T23:38:54.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T01:32:56.566Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/jeebuscrossaint.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-24T23:33:13.000Z","updated_at":"2026-05-24T23:38:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jeebuscrossaint/cursor-begone","commit_stats":null,"previous_names":["jeebuscrossaint/cursor-begone"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jeebuscrossaint/cursor-begone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebuscrossaint%2Fcursor-begone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebuscrossaint%2Fcursor-begone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebuscrossaint%2Fcursor-begone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebuscrossaint%2Fcursor-begone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeebuscrossaint","download_url":"https://codeload.github.com/jeebuscrossaint/cursor-begone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeebuscrossaint%2Fcursor-begone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33812195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-02T07:30:59.082Z","updated_at":"2026-06-02T07:30:59.894Z","avatar_url":"https://github.com/jeebuscrossaint.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cursor-begone\n\nTiny Windows tray app that hides the mouse cursor after **3 seconds** of inactivity and restores it the moment you move the mouse. Stripped release binary is **~24 KB**.\n\n## Install\n\n`cursor-begone.exe` is committed to the repo — download it directly or build from source (below). Drop it anywhere, double-click to run. It lives in the system tray.\n\n## Tray menu\n\nRight-click the tray icon:\n\n- **Start with Windows** — toggles a `HKCU\\…\\Run` entry pointing to the current exe path\n- **Exit** — restores the cursor and quits cleanly\n\nRunning it a second time is a no-op (single-instance guard via named mutex).\n\n## Build\n\nAny of:\n\n```sh\nbuild.bat                                   # auto-detects MSVC / MinGW / clang-cl\ncmake -B build \u0026\u0026 cmake --build build       # cross-toolchain via CMake\ng++ -Os -s -mwindows cursor_hider.cpp cursor_hider.rc -o cursor-begone.exe \\\n    -luser32 -lshell32 -ladvapi32           # direct MinGW one-liner (rc via windres)\n```\n\nRequires only a C++ compiler, the Windows SDK / MinGW headers, and `windres`/`rc.exe` for the icon resource.\n\n## Regenerating the icon\n\n```sh\npython tools/make_icon.py     # needs Pillow → writes assets/cursor-begone.ico\n```\n\n## How it works\n\nA low-level mouse hook (`WH_MOUSE_LL`) catches movement system-wide and resets a 3 s timer; on expiry, `SetSystemCursor` swaps the arrow for an empty cursor. On the next move, `SystemParametersInfo(SPI_SETCURSORS)` reloads cursors from the active theme.\n\n## Caveat\n\nApplications that explicitly call `SetCursor()` for their own window (some games, certain browser hover states) can override the system cursor temporarily. Outside those, the cursor stays gone.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeebuscrossaint%2Fcursor-begone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeebuscrossaint%2Fcursor-begone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeebuscrossaint%2Fcursor-begone/lists"}