Skip to content

Grapk v0.3.0

Choose a tag to compare

@yusriltakeuchi yusriltakeuchi released this 30 Nov 04:22
· 4 commits to main since this release

Grapk v0.3.0 — APKCombo & APKMirror Providers in GrapkAdapter

Release v0.3.0 expands the extensible GrapkAdapter custom engine (scripts/grapk_lib/engines/grapk.py) with two new built-in providers: APKComboProvider (apk-combo) and APKMirrorProvider (apk-mirror).

Highlights

  • APKComboProvider (apk-combo):
    • Updated for the live https://apkcombo.com workflow (/search/<query> via <section class="akx-results">, /app/<pkg>/ package resolution, /download/apk form POST soqplay_download_file -> 303 redirect to dl.dlapk.net).
    • Supports keyword search, metadata/current version inspection, and .apk / .xapk downloads with Content-Length + local SHA-256 verification and optional aapt2/apksigner inspection.
  • APKMirrorProvider (apk-mirror):
    • Clean-room HTML scraper for https://www.apkmirror.com (?post_type=app_release&searchtype=app&s=, all_versions, .variants-table, a.downloadButton, .card-with-tabs final download link).
    • Detects Cloudflare anti-bot challenges (HTTP 403 / Cf-Mitigated: challenge) and fails honestly with GrapkExecutionError without attempting any bypass.
  • Unified Custom Source Routing:
    • Updated resolver.py, router.py, download_manager.py, and cli.py to support both reverse-domain package IDs and slug-based store URLs (such as apkmirror.com/apk/<org>/<repo>/).
    • Updated README.md, SKILL.md, source-routing.md, supported-sources.md, and engine-reference.md.

Distributable Asset

  • grapk.zip: Portable skill bundle (grapk/SKILL.md, scripts/, references/) ready for Claude.ai skill upload or manual extraction into ~/.gemini/antigravity-cli/skills/, ~/.gemini/skills/, ~/.claude/skills/, ~/.codex/skills/, or ~/.cursor/skills/.

Verification

  • Deterministic unit test suite (python3 -m unittest discover -s tests -v): 102 tests passed (0.352s).
  • Live verification on apk-combo: verified search, metadata, and real .apk download (com.google.android.calculator, 6,223,320 bytes, apksigner valid).