# zu1k/nali

An offline tool for querying IP geographic information and CDN provider. 一个查询IP地理信息和CDN服务提供商的离线终端工具.

Repository: https://github.com/zu1k/nali
Canonical: https://ross.abutalabs.com/products/nali
Homepage: https://github.com/zu1k/nali
Language: Go
License: MIT
License Family: permissive
Topics: nali, nali-cli, ip, geoip2, chunzhen, qqwry, qqwry-ip-database, geoip, golang, cli, zx-ipv6, cdn-provider, cdn, ipip
Last push: 2026-05-12T09:51:46+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 82, release rhythm 8, longevity 100
- inputs: {"age_days": 2239, "days_push": 113, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4106, forks 369 (observed 2026-08-28T04:08:35.655864+00:00)

## What it is
Nali is an offline command-line tool written in Go for querying IP geolocation and CDN provider information using multiple local databases (QQwry, ZX IPv6, GeoIP2, IPIP, ip2region, etc.). It supports piping, interactive queries, IPv4/IPv6, and works on all platforms.

## Use cases
- look up the geographic location of an IP address from the terminal
- identify which CDN provider serves a domain or IP
- annotate dig or nslookup output with IP locations
- query IP geolocation offline without network requests
- pipe any command output through an IP geolocation annotator
- check IPv6 address geolocation in the terminal

## When to choose
- you need fully offline IP geolocation queries with no API calls
- you want to annotate output of other tools like dig or nslookup via pipes
- you need both IPv4 and IPv6 support with multiple database options
- you want a fast, cross-platform single-binary CLI tool

## When to avoid
- you need real-time, highly accurate commercial-grade geolocation via web APIs
- you need a GUI or web interface for IP lookups
- you require bulk batch processing of millions of IPs with database management features

## Facets
- artifact type: cli-tool
- maturity: active
- function: search-engine, cli, developer-tools
- domain: networking, developer-tools, privacy
- platform: windows, cli, cross-platform, go
- tags: geoip, ip-geolocation, cdn-detection, offline-lookup, qqwry, ipv6, pipe-processing, command-line, linux, macos

## Member repositories
- zu1k/nali (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:35.655864+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:14.182248+00:00, confidence not recorded.
  - readme: https://github.com/zu1k/nali (fetched 2026-08-28T04:08:35.655864+00:00, sha afae31147b43)
  - homepage: https://github.com/zu1k/nali (fetched 2026-08-29T09:14:42.630042+00:00, sha f2cc0bfabf42)
- Data as of 2026-08-30T08:39:29.467469+00:00.
