{"id":13462431,"url":"https://github.com/2ndalpha/gasmask","last_synced_at":"2025-04-13T18:34:09.814Z","repository":{"id":10293879,"uuid":"12413949","full_name":"2ndalpha/gasmask","owner":"2ndalpha","description":"Hosts file manager for OS X","archived":false,"fork":false,"pushed_at":"2023-03-27T13:34:34.000Z","size":1813,"stargazers_count":3761,"open_issues_count":84,"forks_count":251,"subscribers_count":102,"default_branch":"master","last_synced_at":"2025-04-06T15:07:04.740Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/2ndalpha.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","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}},"created_at":"2013-08-27T18:19:46.000Z","updated_at":"2025-04-06T09:47:02.000Z","dependencies_parsed_at":"2023-01-13T15:51:18.684Z","dependency_job_id":"f38687e0-a639-4dae-afb0-074664c805d1","html_url":"https://github.com/2ndalpha/gasmask","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ndalpha%2Fgasmask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ndalpha%2Fgasmask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ndalpha%2Fgasmask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2ndalpha%2Fgasmask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2ndalpha","download_url":"https://codeload.github.com/2ndalpha/gasmask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248760656,"owners_count":21157403,"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-31T12:00:47.626Z","updated_at":"2025-04-13T18:34:09.794Z","avatar_url":"https://github.com/2ndalpha.png","language":"Objective-C","readme":"# Gas Mask\n[![Build Status](https://travis-ci.org/2ndalpha/gasmask.png?branch=master)](https://travis-ci.org/2ndalpha/gasmask)\n\nGas Mask is simple hosts file manager for macOS.\nIt allows editing of host files and switching between them.\n\n## System requirements\nRuns on Lion, Mountain Lion, Mavericks, Yosemite, El Capitan, Sierra, High Sierra and Mojave.\n\n## Download\n[Download latest version (0.8.6)](https://github.com/2ndalpha/gasmask/releases/download/0.8.6/gas_mask_0.8.6.zip)\n\n## Installation\nDrag the application from Downloads into Applications folder. The first time you launch it, it will ask for your password, because it needs escalated privilege to modify your `/etc/hosts` file.\n\n## How it works\nGas Mask monitors `/etc/hosts` system file and updates it with your activated hosts file.\n\nGas Mask stores your custom hosts files in `~/Library/Gas Mask` directory.\n\nApplication log can be found in `~/Library/Logs/Gas Mask.log`. Its worth having a look for errors in there when posting an issue.\n\n## User Guide\nGas Mask usually operates in the background. It adds a tray icon, where you can access the main editor window and quickly switch between hosts files.\n\nThe main editor consists of three parts: Toolbar, a list of your hosts files on the left, and file editor on the right. Initially you will have a single file called `Original file` under `Local`, which is a copy of your original /etc/hosts file.\n\nTo add new files, click `Create(+)` button in the toolbar and select the type of file (Local, Remote or Combined).\n\nTo remove a file, select it and press the `Remove` button in toolbar.\n\nTo activate a file, select it and press `Activate` button in toolbar, or select it from tray icon when the editor is hidden. Gas Mask will update the `/etc/hosts` file with the currently activated file. The active file is marked with a check in the editor list, and can also be displayed next to Gas Mask tray icon (Preferences \u003e Show Host File Name in Status Bar)\n\n#### Local files\nThese are ordinary local files that you can edit.\n\n#### Remote files\nThese are files that Gas Mask downloads and synchronizes from remote URLs. You can adjust how often they sould update in Preferences, or force an update from tray icon. You cannot edit these files, as they are be overwriten by update.\n\n- NOTE the current version has a bug that allows remote files only from `http://` sources (no `https://`)\n\n#### Combined files\nThis is where Gas Mask shines compared to other hosts managers for MacOS. A combined file doesn't contain hosts entries, but a list of local and remote files.\n\n## Where to find hosts files\nA great source of curated hosts files can be found at https://github.com/StevenBlack/hosts\n\n## Building Gas Mask\nGas Mask can be built with XCode 10.1\n","funding_links":[],"categories":["Uncategorized","Objective-C","Applications","开发者工具","Objective-C  Stars 1000以内排名整理","Mac软件","Developer Tools","Development Tools","Mac 软件"],"sub_categories":["Uncategorized","Other","Downloader","开发辅助","开发者实用工具","📦 Other (22)","Developer Utilities","IDE","Developers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2ndalpha%2Fgasmask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2ndalpha%2Fgasmask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2ndalpha%2Fgasmask/lists"}