{"id":19325404,"url":"https://github.com/krypt0nn/wincompatlib","last_synced_at":"2025-04-22T20:31:31.765Z","repository":{"id":144045228,"uuid":"541265165","full_name":"krypt0nn/wincompatlib","owner":"krypt0nn","description":"Set of interfaces to run windows applications on unix-like systems using Wine written on :crab: Rust","archived":false,"fork":false,"pushed_at":"2024-09-18T20:00:04.000Z","size":81,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T03:43:22.283Z","etag":null,"topics":["rust","wine"],"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/krypt0nn.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":"2022-09-25T18:11:13.000Z","updated_at":"2025-02-19T08:29:16.000Z","dependencies_parsed_at":"2024-07-26T06:57:12.647Z","dependency_job_id":null,"html_url":"https://github.com/krypt0nn/wincompatlib","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypt0nn%2Fwincompatlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypt0nn%2Fwincompatlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypt0nn%2Fwincompatlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krypt0nn%2Fwincompatlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krypt0nn","download_url":"https://codeload.github.com/krypt0nn/wincompatlib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250318719,"owners_count":21410983,"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":["rust","wine"],"created_at":"2024-11-10T02:09:57.219Z","updated_at":"2025-04-22T20:31:31.472Z","avatar_url":"https://github.com/krypt0nn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🦀 wincompatlib\u003c/h1\u003e\n\nRust library that contains a set of interfaces to run windows applications on unix-like systems using Wine\n\nFeatures:\n\n- Different wine builds\n- Can create wine prefixes \u0026 run applications\n- Support DXVK installing, uninstalling, applied version parsing (`dxvk`)\n- Has bundles system for special wine builds (`wine-bundles`)\n- Has Proton support (`wine-proton`)\n- Integrates with `winetricks` (same called feature)\n- Can install Microsoft Corefonts (`wine-fonts` feature)\n\n## Examples\n\n### Run cmd.exe using system wine\n\n```rust\nuse wincompatlib::prelude::*;\n\n// Run cmd.exe using system wine\nWine::default().run(\"cmd\");\n\n// Ask for cmd's help\nlet child = Wine::default().run_args([\"cmd\", \"/c\", \"help\"]).unwrap();\n\nprintln!(\"Help: {}\", \u0026String::from_utf8_lossy(\u0026child.wait_with_output().unwrap()));\n```\n\n### Print wine version\n\n```rust\nuse wincompatlib::prelude::*;\n\n// Print wine version\nprintln!(\"Wine version: {:?}\", Wine::default().version().unwrap());\n```\n\n### Run cmd.exe using custom wine, and then stop it\n\n```rust\nuse wincompatlib::prelude::*;\n\nlet wine = Wine::from_binary(\"/path/to/wine\");\n\n// Run cmd.exe using custom wine\n// and then stop it\nwine.run(\"cmd\");\nwine.stop_processes(true);\n```\n\n### Print DXVK version\n\n```rust\n// Requires \"dxvk\" feature (enabled by default)\nuse wincompatlib::prelude::*;\n\nmatch Dxvk::get_version(\"/path/to/prefix\") {\n    Ok(Some(version)) =\u003e println!(\"DXVK applied: {}\", version),\n    Ok(None) =\u003e println!(\"DXVK is not applied\"),\n    Err(err) =\u003e eprintln!(\"Failed to get DXVK version: {}\", err)\n}\n```\n\n### Install DXVK\n\n```rust\n// Requires \"dxvk\" feature (enabled by default)\nuse wincompatlib::prelude::*;\n\nWine::default()\n    .install_dxvk(\"/path/to/dxvk-x.y.z\", InstallParams::default())\n    .expect(\"Failed to install DXVK\");\n```\n\nAuthor: [Nikita Podvirnyi](https://github.com/krypt0nn)\n\nLicensed under [MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrypt0nn%2Fwincompatlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrypt0nn%2Fwincompatlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrypt0nn%2Fwincompatlib/lists"}