{"id":19140737,"url":"https://github.com/tijn/hosts.tmlanguage","last_synced_at":"2025-05-06T23:16:48.381Z","repository":{"id":27642150,"uuid":"31126910","full_name":"tijn/hosts.tmLanguage","owner":"tijn","description":"Scrupulous syntax highlighting for /etc/hosts","archived":false,"fork":false,"pushed_at":"2025-02-13T23:50:02.000Z","size":95,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T23:16:41.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://packagecontrol.io/packages/Hosts","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tijn.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":"support.py","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-02-21T13:49:59.000Z","updated_at":"2025-02-13T23:44:55.000Z","dependencies_parsed_at":"2025-04-19T10:34:24.890Z","dependency_job_id":null,"html_url":"https://github.com/tijn/hosts.tmLanguage","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fhosts.tmLanguage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fhosts.tmLanguage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fhosts.tmLanguage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tijn%2Fhosts.tmLanguage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tijn","download_url":"https://codeload.github.com/tijn/hosts.tmLanguage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782835,"owners_count":21803410,"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-11-09T07:18:37.453Z","updated_at":"2025-05-06T23:16:48.352Z","avatar_url":"https://github.com/tijn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hosts.tmLanguage\n\nScrupulous Syntax Highlighting for `/etc/hosts`\n\n![Screenshot][demo.png]\n\n## Features\n\n* It highlights IPv4 and IPv6 addresses rigidly. For example: it won't match the impossible movie IP-address `189.23.290.13`. This makes it easier to spot errors.\n* It uses different scopes (i.e. different colors) for some [special IP ranges][reserved-ips]:\n    - Loopback: `::1` and `127.0.0/8`\n    - Private: `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`, and `fc00::/7`\n* Hostnames are in the local index: \u003ckbd\u003eCtrl\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e (MacOS: \u003ckbd\u003eCmd\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e)\n* Hoverable tooltips on [Punycode][] hostname segments to render [internationalized domain names][idna].\n* Command Palette item to open Hosts file.\n\n## Installation\n\nInstall via [Package Control](https://packagecontrol.io/).\n\n## Acknowledgements\n\nThe regular expressions for IPv6 by David M. Syzdek were found [on stackoverflow.com](http://stackoverflow.com/a/17871737/852657). I had to rewrite them in a different format, so any faults or mistakes are probably mine.\n\n[Michael Lyons](https://github.com/michaelblyons) provided fixes and some great additions. And after that he rewrote the whole thing to add support for IPv6 (though still based on David M. Szydek).\n\n[demo.png]: demo/demo.png\n[reserved-ips]: https://en.wikipedia.org/wiki/Reserved_IP_addresses\n[punycode]: https://en.wikipedia.org/wiki/Punycode#Internationalized_domain_names\n[idna]: https://en.wikipedia.org/wiki/Internationalized_domain_name\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftijn%2Fhosts.tmlanguage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftijn%2Fhosts.tmlanguage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftijn%2Fhosts.tmlanguage/lists"}