Coder Social home page Coder Social logo

ipr's Introduction

Crates.io ipr

查询 IP 归属地

  • 支持IPv4IPv6

  • 支持离线查询

  • 支持交互式查询

  • 支持多渠道查询

  • 支持管道处理

根据我的观察,纯真数据库(qqwry)IP138 的准确度比较高,默认采用纯真数据库查询

查询结果仅供参考

用法

# 常规查询
ipr [OPTIONS] [IP]

OR

# 进入交互式查询
ipr

OR

# 开启管道查询
echo 1.2.3.4 | ipr

如果长时间未响应,可能是由于网络的原因未能成功下载 IP 数据库,可手动点击下面的链接,将下载的文件放在$HOME/.cache/ipr目录

下载

请根据你的操作系统下载相应的版本,可对比 md5 hash 值确定是否下载了最新的版本

解压后运行,在 Macos 中如果出现"ipr" is damaged and can't beopened.的提示,请尝试执行以下命令:

sudo spctl --master-disable

在 Arm 版的 Mac 上如果仍然打不开,可以尝试 x86 的版本

编译

cargo build --release --locked

如果在使用过程中发现 bug,欢迎反馈 👏

ipr's People

Contributors

bujnlc8 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.