{"id":19199542,"url":"https://github.com/subconsciouscompute/windows-snapshot","last_synced_at":"2025-05-09T01:23:14.784Z","repository":{"id":152986369,"uuid":"623425653","full_name":"SubconsciousCompute/windows-snapshot","owner":"SubconsciousCompute","description":"Find out windows state asynchronously and more ","archived":false,"fork":false,"pushed_at":"2023-06-26T09:54:32.000Z","size":339,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T18:51:30.830Z","etag":null,"topics":["monitoring","rust","windows","wmi","wmic"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SubconsciousCompute.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-04T10:52:05.000Z","updated_at":"2024-07-28T17:21:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f417635a-0ff4-44cf-9382-f8552b8b2002","html_url":"https://github.com/SubconsciousCompute/windows-snapshot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Fwindows-snapshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Fwindows-snapshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Fwindows-snapshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubconsciousCompute%2Fwindows-snapshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SubconsciousCompute","download_url":"https://codeload.github.com/SubconsciousCompute/windows-snapshot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253172160,"owners_count":21865472,"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":["monitoring","rust","windows","wmi","wmic"],"created_at":"2024-11-09T12:27:46.010Z","updated_at":"2025-05-09T01:23:14.776Z","avatar_url":"https://github.com/SubconsciousCompute.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# windows-snapshot\n\n[![Rust](https://github.com/SubconsciousCompute/windows-snapshot/actions/workflows/rust.yml/badge.svg)](https://github.com/SubconsciousCompute/windows-snapshot/actions/workflows/rust.yml)\n[![Crates.io](https://img.shields.io/crates/v/windows-snapshot)](https://crates.io/crates/windows-snapshot)\n[![docs.rs](https://img.shields.io/docsrs/windows-snapshot)](https://docs.rs/crate/windows-snapshot/)\n\nThe aim is to provide a snapshot of Windows system asynchronously. It achieves this by using `WMI`.\n\nOur global state is `windows_snapshot::state::Windows` which stores the states of Windows machine at any given instance.\nEach state member can be updated synchronously or asynchronously, alone or alongside other states.\n\nExample:\n\n```rust\nuse windows_snapshot::COMLibrary;\n\n#[tokio::main]\nasync fn main() {\n    let _com_con = COMLibrary::new().unwrap(); // initialise security context\n\n    let mut k = windows_snapshot::state::Windows::default();\n\n    k.async_update().await;\n    //k.update(); // for synchronous update\n\n    println!(\"{k:#?}\");\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubconsciouscompute%2Fwindows-snapshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubconsciouscompute%2Fwindows-snapshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubconsciouscompute%2Fwindows-snapshot/lists"}