You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 weeks ago | |
---|---|---|
cmd | 2 weeks ago | |
processing | 2 weeks ago | |
utils | 2 weeks ago | |
vars | 2 weeks ago | |
.gitignore | 2 weeks ago | |
LICENSE | 2 weeks ago | |
README.md | 2 weeks ago | |
go.mod | 2 weeks ago | |
go.sum | 2 weeks ago | |
main.go | 2 weeks ago | |
main_test.go | 2 weeks ago |
README.md
hstl
Ultimate tool for managing hostlists written in go
Status
ALPHA
Description
Manipulate hostlists:
- clean from non-url
- remove/add prefixes like 127.0.0.1
- remove/add hostlist scheme
- convert between formats
- merge lists into one
Motivation
There are dozens of lists in different formats.
Setting up pfblockernng/adguard/pihole with > 10 lists (in my case ~88 is pain) especially if some of recods are broken.
My frined actually solved it by scripting with sed, but I want some more control over it.
Technical details
Used parallel lazy streams (something like java-8 streams / .NET linq)