After spending some time with Python, I moved to Go, which seems to suit the way my brain works slightly better (make no mistake, I am still a poor developer). Keeping in line with the work done on this, I endeavored to re-write this in Golang, mostly because the subnet generation in python had some resource issues with large blocks.
And off I went. With the help of an LLM to get me past weird errors and inability to compile, the resulting code is surprisingly efficient and useful - available here
A command-line utility for IPv6 subnet generation and IPv4/IPv6 address translation using RFC 6052. The pre-compiled binary is compiled for Apple silicon, but since it’s go it can be run on pretty much anything with minimal resource footprint.
-l
flag.-s IPv4
).-k
)Because why not, I also forked this and made a webified version that is available with essentially the same functionality here.