https://github.com/no-src/hosts
https://github.com/no-src/hosts
go hosts
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/no-src/hosts
- Owner: no-src
- Created: 2021-09-17T03:04:13.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-11-24T06:22:51.000Z (7 months ago)
- Last Synced: 2025-11-28T00:23:38.851Z (7 months ago)
- Topics: go, hosts
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hosts
## Installation
```bash
go install github.com/no-src/hosts/...@latest
```
## Usage
Print all host items.
```bash
$ hosts
```
Search for the specified hostname or IP, and multiple keywords are split with spaces.
```bash
$ hosts 192.168.100.1 github.com
```