{"id":16538140,"url":"https://github.com/jamesmcroft/window-watcher","last_synced_at":"2026-05-10T11:05:18.286Z","repository":{"id":65624223,"uuid":"531397133","full_name":"jamesmcroft/window-watcher","owner":"jamesmcroft","description":"An SDK to listen to changes to the current foreground (active) window on Windows devices","archived":false,"fork":false,"pushed_at":"2023-12-04T21:29:31.000Z","size":238,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T15:20:36.912Z","etag":null,"topics":["dotnet","pinvoke","sdk","window-management","windows"],"latest_commit_sha":null,"homepage":"","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/jamesmcroft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["jamesmcroft"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["buymeacoffee.com/jamesmcroft"]}},"created_at":"2022-09-01T06:44:57.000Z","updated_at":"2023-08-29T08:03:18.000Z","dependencies_parsed_at":"2023-12-04T22:41:16.484Z","dependency_job_id":null,"html_url":"https://github.com/jamesmcroft/window-watcher","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesmcroft%2Fwindow-watcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesmcroft%2Fwindow-watcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesmcroft%2Fwindow-watcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesmcroft%2Fwindow-watcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesmcroft","download_url":"https://codeload.github.com/jamesmcroft/window-watcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238662768,"owners_count":19509667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dotnet","pinvoke","sdk","window-management","windows"],"created_at":"2024-10-11T18:44:32.291Z","updated_at":"2025-10-28T14:30:57.444Z","avatar_url":"https://github.com/jamesmcroft.png","language":"C#","funding_links":["https://github.com/sponsors/jamesmcroft","buymeacoffee.com/jamesmcroft"],"categories":[],"sub_categories":[],"readme":"# Window Watcher\n\n[![GitHub release](https://img.shields.io/github/release/jamesmcroft/window-watcher.svg)](https://github.com/jamesmcroft/window-watcher/releases)\n[![Build status](https://github.com/jamesmcroft/window-watcher/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/jamesmcroft/window-watcher/actions/workflows/ci.yml)\n[![Twitter Followers](https://img.shields.io/twitter/follow/jamesmcroft?label=follow%20%40jamesmcroft\u0026style=flat)](https://twitter.com/jamesmcroft)\n[![SDK](https://img.shields.io/nuget/v/WindowWatcher?label=sdk)](https://www.nuget.org/packages/WindowWatcher/)\n\nThe Window Watcher SDK allows you to listen for changes to the current foreground (active) window on Windows devices. The SDK takes advantage of the `user32.dll` windowing APIs to get information about the current foreground (active) window on a device using P/Invoke.\n\n## Getting started\n\n### Get the SDK\n\nIf you want to build your own applications on the Window Watcher SDK, you can install the package into your dotnet application.\n\n```bash\ndotnet add package WindowWatcher\n```\n\nOr by adding the `WindowWatcher` package in your NuGet package manager of choice.\n\nTo use the SDK, [follow the Window Watcher SDK instructions](https://github.com/jamesmcroft/window-watcher/blob/main/src/WindowWatcher/README.md).\n\n## Contributing 🤝🏻\n\nContributions, issues and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/jamesmcroft/window-watcher/issues). You can also take a look at the [contributing guide](https://github.com/jamesmcroft/window-watcher/blob/main/CONTRIBUTING.md).\n\nWe actively encourage you to jump in and help with any issues, and if you find one, don't forget to log it!\n\n## Support this project 💗\n\nAs many developers know, projects like this are built and maintained in maintainers' spare time. If you find this project useful, please **Star** the repo.\n\n## Author\n\n👤 **James Croft**\n\n* Website: \u003chttps://www.jamescroft.co.uk\u003e\n* Twitter: [@jamesmcroft](https://twitter.com/jamesmcroft)\n* Github: [@jamesmcroft](https://github.com/jamesmcroft)\n* LinkedIn: [@jmcroft](https://linkedin.com/in/jmcroft)\n\n## License\n\nThis project is made available under the terms and conditions of the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesmcroft%2Fwindow-watcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesmcroft%2Fwindow-watcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesmcroft%2Fwindow-watcher/lists"}