{"id":13479429,"url":"https://github.com/ZzzM/HostsX","last_synced_at":"2025-03-27T09:32:28.726Z","repository":{"id":56275323,"uuid":"52323047","full_name":"ZzzM/HostsX","owner":"ZzzM","description":"A lightweight macOS app for updating local hosts","archived":false,"fork":false,"pushed_at":"2023-12-31T12:42:23.000Z","size":59076,"stargazers_count":301,"open_issues_count":0,"forks_count":89,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-10-30T13:37:45.359Z","etag":null,"topics":["hosts","macos","menubar-app","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZzzM.png","metadata":{"files":{"readme":"README.md","changelog":"changelogs/CHANGELOG.md","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}},"created_at":"2016-02-23T02:25:47.000Z","updated_at":"2024-10-28T12:49:24.000Z","dependencies_parsed_at":"2024-01-14T09:00:41.902Z","dependency_job_id":null,"html_url":"https://github.com/ZzzM/HostsX","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZzzM%2FHostsX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZzzM%2FHostsX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZzzM%2FHostsX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZzzM%2FHostsX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZzzM","download_url":"https://codeload.github.com/ZzzM/HostsX/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245817603,"owners_count":20677319,"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":["hosts","macos","menubar-app","swift"],"created_at":"2024-07-31T16:02:15.952Z","updated_at":"2025-03-27T09:32:28.294Z","avatar_url":"https://github.com/ZzzM.png","language":"Swift","readme":"\u003ch1\u003e\n\u003cimg src=HostsX/Assets.xcassets/AppIcon.appiconset/icon_512x512.png width=80\u003e\n\u003cp\u003eHostsX\u003c/p\u003e\n\u003ca href=\"https://github.com/ZzzM/HostsX/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/ZzzM/HostsX\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/ZzzM/HostsX/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/release-date/ZzzM/HostsX\"\u003e\u003c/a\u003e\n\u003ca href=\"https://raw.githubusercontent.com/ZzzM/HostsX/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/ZzzM/HostsX\"\u003e\u003c/a\u003e\n\u003ca href=\"https://zzzm.github.io/2020/02/24/hostsx/\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/docs-%E4%B8%AD%E6%96%87-red\"\u003e\n\u003c/a\u003e\n\u003c/h1\u003e\n\nA lightweight macOS app for updating local hosts\n\n## Features\n- [x] Localization (简体中文、English)\n- [x] Dark mode\n\n## Compatibility\n- **2.9.0** requires **macOS 10.13** or later\n- **\u003c= 2.8.2** requires **macOS 10.12** or later\n\n## Changelogs\n- [简体中文](changelogs/CHANGELOG_SC.md)\n- [English](changelogs/CHANGELOG.md)\n\n## Snapshots\n\n### 2.9.0\n\n- Menubar\n\n    \u003cimg src=\"assets/m1.png\" height=120\u003e \n\n \n    `Local`: Import a hosts to replace local hosts\n\n    `Reset`: Reset local hosts to default\n   \n  \n- Remote\n\n    \u003cimg src=\"assets/r1.png\" height=200\u003e\n\n\n    `Sync Button`: Download default remote hosts and overwrite local hosts\n\n    `Add Button`: Add a remote source\n\n\n### 2.8.2\n\n- Menubar\n\n    \u003cimg src=\"assets/m2o.png\" height=120\u003e \n    \u003cimg src=\"assets/m3o.png\" height=120\u003e \n\n    `Local`: Import a hosts to replace local hosts\n\n    `Remote - Download`: Download default remote hosts and overwrite local hosts\n\n- Remote\n\n    \u003cimg src=\"assets/r1o.png\" height=200\u003e\n\n    `Orign`: It indicates that this is a default source\n\n    \u003cimg src=\"assets/r2o.png\" height=200\u003e\n\n    `Orign Button (Top right corner)`: Set a remote source as default source \n   \n    \u003cimg src=\"assets/r3o.png\" height=100\u003e\n    \n    `More Menu`:  Right click to show\n    \n    `Open Button (1st Menu item)`: Open a remote source with your browser\n\n    `Add Button (2nd Menu item)`: Add a remote source\n\n    `Remove Button (3rd Menu item)`: Remove a remote source\n    \n\n## FAQ\n\n1. **\"HostsX\" is damaged and can't be opened.**\n\n    \u003cimg src=\"assets/101.png\" width=300\u003e\n\n    Or open `Terminal` and run  \n\n    ```shell\n    sudo xattr -r -d com.apple.quarantine /Applications/HostsX.app\n    ```\n2. **How to synchronize remote hosts**\n\n    2.9.0\n    1. Set a remote source as default source\n    2. Click `Sync Button`\n\n    2.8.2\n    1. Click `Orign Button` to set a remote source as default source\n    2. Open app menubar menu\n    3. Click `Remote - Download`\n\n3. **How to avoid overwriting your local hosts (Only Remote)**\n\n    Put the content that you don't want to be overwritten between `# My Hosts Start` and `# My Hosts End`, like below\n    ```\n    # My Hosts Start\n\n    the content that you don't want to be overwritten\n\n    # My Hosts End\n\n    the content from a remote source\n    ```\n4. **What's the `hosts_old`**\n    \n    When completing a local or remote operation, it will create a `hosts_old` to record the contents before the changes\n\n\n## Dependencies\n- [Sparkle](https://github.com/sparkle-project/Sparkle)\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZzzM%2FHostsX","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZzzM%2FHostsX","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZzzM%2FHostsX/lists"}