{"id":37891168,"url":"https://github.com/chixm/winscreencap","last_synced_at":"2026-01-16T16:56:25.041Z","repository":{"id":241106844,"uuid":"698213872","full_name":"chixm/winscreencap","owner":"chixm","description":"Golang Windows Screen Capture Library","archived":false,"fork":false,"pushed_at":"2024-05-22T12:12:29.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-22T12:56:21.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/chixm.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}},"created_at":"2023-09-29T12:16:38.000Z","updated_at":"2024-05-22T12:56:30.924Z","dependencies_parsed_at":"2024-05-22T13:06:33.276Z","dependency_job_id":null,"html_url":"https://github.com/chixm/winscreencap","commit_stats":null,"previous_names":["chixm/winscreencap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chixm/winscreencap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chixm%2Fwinscreencap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chixm%2Fwinscreencap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chixm%2Fwinscreencap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chixm%2Fwinscreencap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chixm","download_url":"https://codeload.github.com/chixm/winscreencap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chixm%2Fwinscreencap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-01-16T16:56:24.969Z","updated_at":"2026-01-16T16:56:25.033Z","avatar_url":"https://github.com/chixm.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winscreencap\nGolang Windows Screen Capture Library\n\n\n## Install\n```\ngo get github.com/chixm/winscreencap\n```\n\n## Choose Window and Capture Image\nHow to save the window named \"game\" as an png image screenshot.png\n\n```\n    hwnd, err := winscreencap.FindWindowByName(`game`)\n\tif err != nil {\n\t\tt.Error(err)\n\t\treturn\n\t}\n\n\timg, err := winscreencap.CaptureWindow(hwnd)\n\tif err != nil {\n\t\tfmt.Println(\"Error:\", err)\n\t\treturn\n\t}\n\n\tfile, err := os.Create(\"screenshot.png\")\n\tif err != nil {\n\t\tfmt.Println(\"Error:\", err)\n\t\treturn\n\t}\n\tdefer file.Close()\n\n\terr = png.Encode(file, img)\n\tif err != nil {\n\t\tfmt.Println(\"Error:\", err)\n\t\treturn\n\t}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchixm%2Fwinscreencap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchixm%2Fwinscreencap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchixm%2Fwinscreencap/lists"}