https://github.com/jreisinger/hgrep
Search URLs for patterns
https://github.com/jreisinger/hgrep
golang grep-like html http regexp
Last synced: 3 months ago
JSON representation
Search URLs for patterns
- Host: GitHub
- URL: https://github.com/jreisinger/hgrep
- Owner: jreisinger
- License: mit
- Created: 2022-03-30T07:22:48.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-14T09:09:42.000Z (almost 4 years ago)
- Last Synced: 2024-06-21T09:39:27.925Z (almost 2 years ago)
- Topics: golang, grep-like, html, http, regexp
- Language: Go
- Homepage:
- Size: 79.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
`hgrep` (HTTP grep) searches URLs for patterns.
INSTALLATION
```
make install
```
USAGE
```
hgrep DevOps https://go.dev https://golang.org
hgrep -m '\w+\[\.\][a-z]{1,63}' https://blog.google/threat-analysis-group/rss
hgrep -r DevOps https://go.dev
```
TODO
* [x] support reading URLs from stdin
* [x] highlight matches within lines
* [x] support `-i` to perform case insensitive matching
* [x] support `-m` to print only matched parts
* [x] support `-r` to search links recursively within the host
* [x] support `-c` to limit the number of concurrent searches