Skip to content

Albert Extension for query RIPE API and run whois queries

Notifications You must be signed in to change notification settings

Bierchermuesli/albert-ripe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RIPE Whois Lookup

This is a simple Albert Launcher Extension for network staff.

  • general IP/ASN Lookup (against RIPE Stats API)
  • lists more/less specific prefixes
  • lists related Whois objects and generates classic whois output
  • reverse DNS lookups
  • Private resources are checked locally to save API requests.
  • Local overrides for custom Links, Prefixes or ASNs

ripe3

User Config

User Configuration gets simply appended to the default config and can look like this:

~/.config/albert/RIPE-Whois.yaml

---
# This is my custom Config, URLs will be listed at the end
asn_url:
 AS-Stats: https://example.com/as-stats/history.php?as={}      

prefix_url:
 Routinator: http://rpki1.example.com:8080/ui/{}?validate-bgp=true

# my custom Prefixes, more specifics at the end please
custom_prefix:
    192.168.88.0/24:
      name: "Home"
      info: "ah, yes my Home Network"
      url: "https://mywiki.local"
    10.0.1.0/24:
      name: "my HomeLab"
      info: "something else i dont remember"
      url: "https://mywiki.local"

# some custom ASNs to remember...
custom_as:
  65432:
      name: "LabAS"
      info: "our internal AS, you moron!"
      url: "http://wiki.example.com/AS"

Install

git clone https://github.com/Bierchermuesli/albert-ripe.git  ~/.local/share/albert/python/plugins/ripe-whois

RIPE API

Please read https://stat.ripe.net/docs/02.data-api/ for usage and limitation. [ NOT APPROVED YET]

About

Albert Extension for query RIPE API and run whois queries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages