Skip to content

Bierchermuesli/albert-subnetcalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Albert IPv4/IPv6 Subnet Calculator

This is an advanced subnet calculator for awsome. Albert Launcher.

This module calculates everything from an IP/Prefix: IP/subnet details, subnet/supernet, subnet neighbours etc.

Synopsis: sc <trigger> [x.x.x.x|x:x::x]/y {next|prev|sub|sup|/YY} {<level>}

Simple Subnet output

image

Calculate smaller subnets - this is equivalent to sc 203.0.113.0/24 sub 5 (/29 is the 5h level)

image

find the more specific SUPpernet (you can also type e.g.sc 203.0.113.0/24 /22)

image

find next subnet of same size:

image

find previous subnet of same size

image

IPv6 Works too:

image

image

Installation

Simply clone into the Albert plugin directory and activate in Albert Python Modules Settings. Python3 and use the ipaddress.

pip3 install ipaddress
git clone  git@github.com:Bierchermuesli/albert-subnetcalc.git  ~/.local/share/albert/python/plugins/subnetcalc

Bugs / Feedback

always welcome

Releases

No releases published

Packages

No packages published

Languages