Skip to content

Quick and dirty script to create asn-to-asname ClickHouse dictionary.

License

Notifications You must be signed in to change notification settings

nxthdr/ipinfo-to-clickhouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipinfo-to-clickhouse

This is a simple bash script that fetches free IP to Country + ASN (Creative Commons Attribution-ShareAlike 4.0 International License) from ipinfo.io and inserts it into a ClickHouse database.

Usage

$ docker build --platform linux/amd64 -t ttl.sh/ipinfo-to-clickhouse:1h .
$ docker push ttl.sh/ipinfo-to-clickhouse:1h
$ docker run --network=backend --ip6=2a06:de00:50:cafe:10::1999 ttl.sh/ipinfo-to-clickhouse:1h token 2a06:de00:50:cafe:10::101

About

Quick and dirty script to create asn-to-asname ClickHouse dictionary.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published