Ultimate tool for managing hostlists written in go
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.
ITmodulo 273617329e Implementing logic, added first test 2 weeks ago
cmd Implementing logic, added first test 2 weeks ago
processing Implementing logic, added first test 2 weeks ago
utils Implementing logic, added first test 2 weeks ago
vars Implementing logic, added first test 2 weeks ago
.gitignore Implementing logic, added first test 2 weeks ago
LICENSE Implementing logic, added first test 2 weeks ago
README.md Implementing logic, added first test 2 weeks ago
go.mod Implementing logic, added first test 2 weeks ago
go.sum Implementing logic, added first test 2 weeks ago
main.go Implementing logic, added first test 2 weeks ago
main_test.go Implementing logic, added first test 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)