{"id":33179484,"url":"https://github.com/jarod/qqwry-java","last_synced_at":"2026-04-02T01:02:15.182Z","repository":{"id":4839755,"uuid":"5993929","full_name":"jarod/qqwry-java","owner":"jarod","description":"A java library to read QQWry IP database. (纯真IP地址数据库)","archived":false,"fork":false,"pushed_at":"2024-02-18T03:10:48.000Z","size":377,"stargazers_count":213,"open_issues_count":5,"forks_count":56,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-20T06:28:17.119Z","etag":null,"topics":["geoip","java","qqwry"],"latest_commit_sha":null,"homepage":"https://www.cz88.net/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"stripe/PaymentKit","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jarod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2012-09-28T07:21:09.000Z","updated_at":"2025-12-04T16:23:01.000Z","dependencies_parsed_at":"2024-02-18T04:21:19.851Z","dependency_job_id":null,"html_url":"https://github.com/jarod/qqwry-java","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"57ad1b5f4e7978ea948171cef46288241e299224"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/jarod/qqwry-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarod%2Fqqwry-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarod%2Fqqwry-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarod%2Fqqwry-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarod%2Fqqwry-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarod","download_url":"https://codeload.github.com/jarod/qqwry-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarod%2Fqqwry-java/sbom","scorecard":{"id":506632,"data":{"date":"2025-08-11","repo":{"name":"github.com/jarod/qqwry-java","commit":"cbbe56663aa236e3e598213476ff88db20aabb3a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T23:22:57.937Z","repository_id":4839755,"created_at":"2025-08-19T23:22:57.937Z","updated_at":"2025-08-19T23:22:57.937Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geoip","java","qqwry"],"created_at":"2025-11-16T03:00:36.832Z","updated_at":"2026-04-02T01:02:14.637Z","avatar_url":"https://github.com/jarod.png","language":"Java","readme":"# qqwry-java\n\n[![Build Status](https://travis-ci.com/jarod/qqwry-java.svg?branch=master)](https://travis-ci.com/jarod/qqwry-java)\n[![Javadocs](http://www.javadoc.io/badge/com.github.jarod/qqwry-java.svg)](http://www.javadoc.io/doc/com.github.jarod/qqwry-java/0.10.0)\n\n\n### usage:\n\nCode sample:\n```java\nQQWry qqwry = new QQWry(); // load qqwry.dat from classpath\n\nQQWry qqwry = new QQWry(Paths.get(\"path/to/qqwry.dat\")); // load qqwry.dat from java.nio.file.Path\n\nbyte[] data = Files.readAllBytes(Paths.get(\"path/to/qqwry.dat\"));\nQQWry qqwry = new QQWry(data); // create QQWry with provided data\n\nString dbVer = qqwry.getDatabaseVersion();\nSystem.out.printf(\"qqwry.dat version=%s\", dbVer);\n// qqwry.dat version=2021.08.11\n\nString myIP = \"127.0.0.1\";\nIPZone ipzone = qqwry.findIP(myIP);\nSystem.out.printf(\"%s, %s\", ipzone.getMainInfo(), ipzone.getSubInfo());\n// IANA, 保留地址用于本地回送\n```\n\nGradle:\n```groovy\ndependencies {\n   api (\n     \"com.github.jarod:qqwry-java:0.10.+\",\n   )\n}\n```\n\nMaven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.jarod\u003c/groupId\u003e\n  \u003cartifactId\u003eqqwry-java\u003c/artifactId\u003e\n  \u003cversion\u003e0.10.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### build:\n\n```\n# OPTIONAL To embed qqwry.dat in the jar file, copy qqwry.dat to src/main/resources/qqwry.dat\n# jar file will out put as ./build/lib/qqwry-java-X.X.X.jar\n./gradlew jar\n```\n","funding_links":[],"categories":["网络编程"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarod%2Fqqwry-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarod%2Fqqwry-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarod%2Fqqwry-java/lists"}