{"id":50510325,"url":"https://github.com/crocuda/virshle","last_synced_at":"2026-06-19T13:00:55.263Z","repository":{"id":333269008,"uuid":"847016830","full_name":"crocuda/virshle","owner":"crocuda","description":"A cli for multiple relentless virtual machines.","archived":false,"fork":false,"pushed_at":"2026-04-30T12:14:52.000Z","size":2398,"stargazers_count":75,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-05-11T02:19:07.779Z","etag":null,"topics":["cloud-hypervisor","virtual-machine","virtualization","vm"],"latest_commit_sha":null,"homepage":"https://virshle.crocuda.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crocuda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-24T15:58:59.000Z","updated_at":"2026-05-08T16:45:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/crocuda/virshle","commit_stats":null,"previous_names":["pipelight/virshle","crocuda/virshle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crocuda/virshle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crocuda%2Fvirshle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crocuda%2Fvirshle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crocuda%2Fvirshle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crocuda%2Fvirshle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crocuda","download_url":"https://codeload.github.com/crocuda/virshle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crocuda%2Fvirshle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34532260,"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-06-19T02:00:06.005Z","response_time":61,"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":["cloud-hypervisor","virtual-machine","virtualization","vm"],"created_at":"2026-06-02T20:00:22.177Z","updated_at":"2026-06-19T13:00:55.258Z","avatar_url":"https://github.com/crocuda.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003cspan\u003e\n\u003ch1\u003e\n\u003cimg width=\"125px\" alt=\"virshle_logo\" src=\"https://github.com/pipelight/virshle/blob/master/docs/static/images/virshle.png\"/\u003e\n\u003cp\u003eVirshle - A cli for multiple relentless virtual machines.\u003c/p\u003e\n\n\u003c/h1\u003e\n\u003c/span\u003e\n\n\u003e [!DANGER]\n\u003e **Alpha releases.**\n\u003e\n\u003e Although Virshle is stable enough to be the engine propelling [Crocuda_vps](https://crocuda.com),\n\u003e You shouldn't use it in production as you may encounter unnoticed breaking changes.\n\nVirshle is a single cli to manage multiple virtual machines.\n\nIt works on top of:\n\n- [cloud-hypervisor](https://github.com/cloud-hypervisor/cloud-hypervisor)\n  and\n  [linux-kvm](https://linux-kvm.org/page/Main_Page)\n  for machines virtualization,\n- [pipelight-init](https://github.com/pipelight/pipelight)\n  for fast vm provisioning on boot,\n- [openvswitch](https://github.com/openvswitch/ovs)\n  for network configuration.\n\n# Installation\n\n## NixOs (with flakes)\n\nEnable the module by adding the repository url to your flake input.\n\n```nix\n# flake.nix\ninputs = {\n  virshle = {\n      url = \"github:pipelight/virshle\";\n  };\n};\n```\n\nAdd the module to your host configuration.\n\n```nix\nnixosConfiguration = {\n    default = pkgs.lib.nixosSystem {\n        modules = [\n            inputs.virshle.nixosModules.default\n        ];\n    };\n}\n```\n\nEnable the service.\n\n```nix\n# default.nix\nservices.virshle = {\n    enable = true;\n    logLevel = \"info\"; # error | warn | info | debug | trace\n    user = \"anon\"; # The user to run the node as (default to root).\n};\n```\n\n## Usage\n\nIn the vein of NixOs,\nyou get a declarative/reproducible approach of VM creation.\n\nA **single template** can spin up **multiple identical** VMs.\n\nDefine custom VM templates...\n\n```toml\n# /etc/virshle/config.toml\n\n#########################\n## Templates:\n# Vm standard sizes with decents presets.\n[[template.vm]]\nname = \"xxs\"\nvcpu = 1\nvram = \"1GiB\"\n[[template.vm.disk]]\nname = \"os\"\npath = \"/var/lib/virshle/cache/nixos.xxs.efi.img\"\n[[template.vm.net]]\nname = \"main\"\n[template.vm.net.type.tap]\n\n```\n\n...add some user defined data...\n\n```toml\n# ./user-data.toml\n\n#########################\n# Conventional user-data added to the VM.\n[[user]]\nname = \"anon\"\n[user.ssh]\n# Key is appended at /etc/ssh/authorized_keys.d/\u003cuser.name\u003e\nauthorized_keys = [\"ssh-ed25519 AAAAC3N...\"]\n```\n\n...and twist multiple copy of a VM.\n\n```sh\nv vm create --template xxs --user-data ~./user-data.toml\n```\n\nCheck out the `docs` directory or on the documentation website at\n[virshle.crocuda.com](https://virshle.crocuda.com).\n\n# Developers\n\n## Fancy tests.\n\nSet the `CARGO_TEST_TRACING_LEVEL` environment variable\nto run tests and print pretty logs when needed.\n\n```sh\nCARGO_TEST_TRACING_LEVEL='error' cargo test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrocuda%2Fvirshle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrocuda%2Fvirshle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrocuda%2Fvirshle/lists"}