{"id":33933079,"url":"https://github.com/v9x/qshot-rs","last_synced_at":"2026-04-06T07:02:00.066Z","repository":{"id":65370537,"uuid":"591059717","full_name":"V9X/Qshot-rs","owner":"V9X","description":"A Rust crate for capturing a custom area of the screen/window, designed using raw Windows API calls to achieve top performance.","archived":false,"fork":false,"pushed_at":"2023-09-08T18:39:24.000Z","size":8,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T11:59:55.389Z","etag":null,"topics":["crate","rust","screen-capture","screenshot","screenshots","windows"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/V9X.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}},"created_at":"2023-01-19T20:45:11.000Z","updated_at":"2024-08-01T12:07:46.000Z","dependencies_parsed_at":"2023-02-12T03:45:36.563Z","dependency_job_id":null,"html_url":"https://github.com/V9X/Qshot-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/V9X/Qshot-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V9X%2FQshot-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V9X%2FQshot-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V9X%2FQshot-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V9X%2FQshot-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/V9X","download_url":"https://codeload.github.com/V9X/Qshot-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V9X%2FQshot-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["crate","rust","screen-capture","screenshot","screenshots","windows"],"created_at":"2025-12-12T13:02:19.193Z","updated_at":"2026-04-06T07:02:00.061Z","avatar_url":"https://github.com/V9X.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qshot\n\nQshot is a high performance crate that allows you to take screenshots quickly and easily on Windows.\n\n## What exactly is this library?\n\nIt's just a thin wrapper around a bunch of winapi functions to make screenshotting of a particular area as fast and easy as possible, while keeping memory safe.\n\nIt does not make any assumptions on what you may want to do with the data, you get a raw slice containing bitmap bit values and that's it.\n\n## Example usage\n\n```rust\nuse std::error::Error;\nuse qshot::CaptureManager;\n\nfn main() -\u003e Result\u003c(), Box\u003cdyn Error\u003e\u003e {\n\tlet manager = CaptureManager::new(0, (250, 250), (500, 500))?;\n\n\tfor i in 0..1000 {\n\t\tif i == 500 {\n\t\t\tmanager.change_size((100, 100), (100, 250));\n\t\t}\n\t\tlet res = manager.capture()?;\n\t\tdo_something(res.get_bits());\n\t}\n\tOk(())\n}\n```\n\n## Contribution\nFeel free to open a pull request if you think that something could have been done better or more efficiently or at least open an issue so I can look into that.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv9x%2Fqshot-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv9x%2Fqshot-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv9x%2Fqshot-rs/lists"}