{"id":13478064,"url":"https://github.com/specialunderwear/Hosts.prefpane","last_synced_at":"2025-03-27T07:30:42.160Z","repository":{"id":41142669,"uuid":"2207172","full_name":"specialunderwear/Hosts.prefpane","owner":"specialunderwear","description":"a Cocoa GUI for /etc/hosts","archived":false,"fork":false,"pushed_at":"2020-09-25T18:42:53.000Z","size":1258,"stargazers_count":1630,"open_issues_count":9,"forks_count":124,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-03-26T06:51:28.531Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://niggazpullintriggaz.blogspot.com/2011/11/how-i-managed-to-edit-etchosts-without.html","language":"Objective-C","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/specialunderwear.png","metadata":{"files":{"readme":"README.mdown","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}},"created_at":"2011-08-14T22:40:40.000Z","updated_at":"2025-03-21T16:09:40.000Z","dependencies_parsed_at":"2022-08-10T01:36:29.078Z","dependency_job_id":null,"html_url":"https://github.com/specialunderwear/Hosts.prefpane","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specialunderwear%2FHosts.prefpane","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specialunderwear%2FHosts.prefpane/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specialunderwear%2FHosts.prefpane/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/specialunderwear%2FHosts.prefpane/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/specialunderwear","download_url":"https://codeload.github.com/specialunderwear/Hosts.prefpane/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245802201,"owners_count":20674610,"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":[],"created_at":"2024-07-31T16:01:52.000Z","updated_at":"2025-03-27T07:30:42.078Z","avatar_url":"https://github.com/specialunderwear.png","language":"Objective-C","funding_links":[],"categories":["Objective-C","Applications","开发者工具","Developer Tools","Development Tools"],"sub_categories":["Other","Downloader","开发者实用工具","📦 Other (22)","Developers","Developer Utilities","IDE"],"readme":"## Hosts, a system preference pane to manage your hosts file\n\nHosts adds a preference pane to your system preferences which lets you toggle your\nhost file entries on and off, as well as add and remove them.\n\nHosts.prefpane likes to keep your hosts file clean. When an entry is toggled off,\nit is not commented out in the hosts file, but instead stored in the app's\npreferences storage. This means you will have to uncomment all your unused host\nentries and untoggle them in the prefpane if you want to use them. Comments are\ntreated as comments and will never show up in the list of host entries!\n\nOf course Hosts.prefpane will detect edits you made to the ``/etc/hosts`` directly and\nmerge them into the listing.\n\nBackups of your hosts file are made in ``~/Library/Application Support/Hosts``.\nThe backup or your hosts file from before you started using Hosts.prefpane is\ncalled *hosts.orig* and each session a backup is made called *hosts.session*.\n\nThe default host entries that are needed by the OS are hidden and can not be\nedited using Hosts.prefpane.\n\nMany thanks to the [contributors](https://github.com/specialunderwear/Hosts.prefpane/graphs/contributors)\nfor helping getting the latest release done!\n\n![](https://github.com/specialunderwear/Hosts.prefpane/raw/master/screenshots/locked.png)\n![](https://github.com/specialunderwear/Hosts.prefpane/raw/master/screenshots/edit.png)\n\n## Download\nFor now you'll find the latest pre-built preference pane and the app on  [Dirk-'s website](https://www.dirk-froehling.de/downloads/downloads.html). ``Hosts App 1.4.5.zip`` includes the app which can be used from any location on your disk. ``Hosts PrefPane 1.4.5.pkg`` is an installer for the preference pane. It will get installed into ``/Library/PreferencePanes``, so you have to enter your admin credentials during installation. The installer is neccessary for macOS Catalina, since all executables have to be notarized, and you cannot notarize a preference pane.\n\n## Development hints\n###  Compiling the parser\nTo compile the parser protion of the Hosts PrefPane, you need to have ``bison`` installed somewhere. The current compiler setting expects bison to be in ``/usr/local/opt/bison/bin/``. This is where [Homebrew](https://brew.sh/) installs it (``brew install bison``).\n\n### Catalina Installation\nPreparing the app for installation on Catalina (macOS 10.15) or higher is straightforward. Just \"Archive\" the app from Xcode and go through the normal notarization process.\n\nPreparing the preference pane for installation on Catalina is not that easy. You have to build an installer by using command line tools and deal with all the right developer certificates. Here is a [good description of the process](https://scriptingosx.com/2019/09/notarize-a-command-line-tool/) using a command line tool as an example project.\n\n## Licence\n\n    Hosts, a system preference pane to manage your hosts file.\n    Copyright (C) 2011  PermanentMarkers\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n    Contact maintainer at hosts@permanentmarkers.nl\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspecialunderwear%2FHosts.prefpane","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspecialunderwear%2FHosts.prefpane","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspecialunderwear%2FHosts.prefpane/lists"}