{"id":51552813,"url":"https://github.com/akesson/vm","last_synced_at":"2026-07-10T01:01:35.928Z","repository":{"id":370593735,"uuid":"1295340966","full_name":"akesson/vm","owner":"akesson","description":"For handling Parallels host - vm workflows in Claude","archived":false,"fork":false,"pushed_at":"2026-07-09T18:57:40.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-09T19:08:55.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/akesson.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-09T14:05:55.000Z","updated_at":"2026-07-09T18:58:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/akesson/vm","commit_stats":null,"previous_names":["akesson/vm"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/akesson/vm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akesson%2Fvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akesson%2Fvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akesson%2Fvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akesson%2Fvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akesson","download_url":"https://codeload.github.com/akesson/vm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akesson%2Fvm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35316840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"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":[],"created_at":"2026-07-10T01:01:35.055Z","updated_at":"2026-07-10T01:01:35.911Z","avatar_url":"https://github.com/akesson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vm\n\nRun commands in Parallels VMs against a synced copy of the current repo — one\ntool, installed on the host **and** in every guest.\n\n```sh\nvm run --os windows -- cargo nextest run -p my-windows-crate\nvm exec lin -- cargo clippy --fix --writeback\nvm ls\n```\n\n## Model\n\n- **The host working tree is the single source of truth.** Before every exec,\n  the dirty working tree (staging area untouched) is snapshotted as a git\n  commit object and pushed over ssh to a per-guest native checkout under the\n  guest's `work_root`. The guest resets to it and the tree hash is verified —\n  guests always run exactly what is on the host's disk.\n- **Builds happen on guest-local disk.** No shared folders: no cross-platform\n  `target/` conflicts, native file watching and locking, native speed.\n- **One-way by default.** Guests cannot corrupt the host tree; `--writeback`\n  explicitly returns source changes made in the guest (e.g. `clippy --fix`).\n- **ssh is the transport, prlctl does what only it can**: VM lifecycle,\n  IP discovery, screenshots, snapshots, and first-time bootstrap.\n- `vm run --os \u003cwindows|linux|macos\u003e` runs **natively** when the host already\n  is that OS — the same mise task works on a dev Mac, inside a VM, and on CI.\n\n## Setup\n\nHost config lives at `~/.config/vm/config.toml`:\n\n```toml\n[vm.win]\nparallels_name = \"Windows 11\"\nos = \"windows\"\nuser = \"henrik\"\nwork_root = 'C:\\work'\n\n[vm.lin]\nparallels_name = \"Ubuntu 24.04\"\nos = \"linux\"\nuser = \"parallels\"\nwork_root = \"~/work\"\n```\n\n`vm doctor` checks host and guests; `vm deploy \u003calias\u003e` builds and installs\nthe agent inside a guest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakesson%2Fvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakesson%2Fvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakesson%2Fvm/lists"}