{"id":25863836,"url":"https://github.com/samunatsu/mihomosh","last_synced_at":"2026-05-03T03:05:22.878Z","repository":{"id":278215364,"uuid":"934898479","full_name":"SamuNatsu/mihomosh","owner":"SamuNatsu","description":"A CLI Toolkit for Mihomo","archived":false,"fork":false,"pushed_at":"2025-08-02T09:00:39.000Z","size":225,"stargazers_count":45,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"v1","last_synced_at":"2025-08-02T09:49:59.582Z","etag":null,"topics":["clash","clash-meta","cli","mihomo","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamuNatsu.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,"zenodo":null}},"created_at":"2025-02-18T15:27:57.000Z","updated_at":"2025-08-01T18:03:07.000Z","dependencies_parsed_at":"2025-03-11T04:26:43.772Z","dependency_job_id":"1df41242-cc40-4a8c-beb2-321fd68a2113","html_url":"https://github.com/SamuNatsu/mihomosh","commit_stats":null,"previous_names":["samunatsu/mihomosh"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/SamuNatsu/mihomosh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuNatsu%2Fmihomosh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuNatsu%2Fmihomosh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuNatsu%2Fmihomosh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuNatsu%2Fmihomosh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuNatsu","download_url":"https://codeload.github.com/SamuNatsu/mihomosh/tar.gz/refs/heads/v1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuNatsu%2Fmihomosh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269687927,"owners_count":24459389,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["clash","clash-meta","cli","mihomo","rust"],"created_at":"2025-03-02T00:26:39.132Z","updated_at":"2026-05-03T03:05:22.837Z","avatar_url":"https://github.com/SamuNatsu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mihomosh\n\nA CLI Toolkit for Mihomo\n\n\u003e [!IMPORTANT]\n\u003e Mihomosh **DOES NOT** contain Mihomo distribution itself!  \n\u003e It **IS** just a toolkit that works with Mihomo!  \n\u003e If there is no Mihomo deployed on your machine, please deploy it first.\n\n## Features\n\n- Full featured remote/local profiles management\n- Global-level/Profile-level extend configs and extend scripts support\n- Basic but enough Mihomo controlling through RESTful API\n- Basic Mihomo running status display\n- Manual URL testing for activated profile\n\n## Prerequisite\n\n- Mihomosh relies on `vim` for fallback editing\n- Mihomosh relies on `less` for showing some very long text\n\n## Install\n\n### Oneline Command (Unix-like ONLY)\n\n```sh\ncurl -s https://installer.samunatsu.workers.dev/SamuNatsu/mihomosh | bash\n```\n\n### Cargo Install\n\nBuild and install Mihomosh locally\n\n```sh\ncargo install --git https://github.com/SamuNatsu/mihomosh.git\n```\n\n### Download from Releases\n\nLatest version: \u003chttps://github.com/SamuNatsu/mihomosh/releases/latest\u003e\n\nPlease find the `.tar.gz`/`.zip` asset that fits your platform and architecture.\n\n## Best Practices\n\n### 1. If your Mihomo data directory needs root to access, please always run Mihomosh as root user (For Unix-like)\n\nMihomosh stores configs and data files under user directories (`/home/some_user` for non-root user, `/root` for root user).\n\nIf your Mihomo data directory needs root, but your Mihomosh configs are under non-root user directories, it would cause:\n1. Permission denied (run Mihomosh as **non-root user**, you are not able to write the Mihomo configs for activating profiles)\n2. File not found (run Mihomosh as **root user**, you are not able to find Mihomosh configs under root directories)\n\nTherefore, you'd better always run Mihomosh as root user, Mihomosh configs and data files will be stored under root directories.  \nNeither permission denied nor file not found would happen.\n\nIf you've already stored your Mihomosh configs and data files under non-root user directories, you can find the folder in `/home/some_user/.local/share/mihomosh`, just move it to `/root/.local/share/mihomosh`, then change the owner and group.\n\n## Usage\n\nSee [wiki](https://github.com/SamuNatsu/mihomosh/wiki). **(WIP)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamunatsu%2Fmihomosh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamunatsu%2Fmihomosh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamunatsu%2Fmihomosh/lists"}