Skip to content

Grapk v0.1.0

Choose a tag to compare

@yusriltakeuchi yusriltakeuchi released this 29 Nov 14:40
· 9 commits to main since this release

Grapk v0.1.0 — Universal APK Grabber & Download Orchestrator

Initial release of Grapk (grapk), a cross-agent Agent Skill and pure Python 3.9+ standard-library CLI orchestrator for discovering, fetching, packaging, and verifying Android APKs across multiple repositories.

Highlights

  • Deterministic Source Routing:
    • Google Play (and package ID / app name defaults) -> goopdl
    • F-Droid (-d f-droid), APKPure (-d apk-pure), and verified apkeep sources (e.g. huawei-app-gallery when present in apkeep --help) -> apkeep with explicit -d <source>
    • Unsupported stores (APKMirror, Uptodown, Aptoide, APKCombo) are rejected explicitly with no silent fallback.
  • Guided Interactive Skill Flow:
    • skills/grapk/SKILL.md prompts for app input when invoked directly (/grapk), resolves search candidates, and offers packaging/device choices before downloading.
  • Selectable Split-APK Packaging (--packaging):
    • splits (default): keeps unmodified original base and split .apk files + adb install-multiple command.
    • bundle: creates a single <pkg>-<ver>.apks ZIP archive using Python stdlib zipfile while preserving original APKs and Google Play digests.
    • merge (opt-in): merges splits into a single .apk via external APKEditor with --acknowledge-merge-resign and honest repackaged: true / source_verified: false manifest tracking.
  • Security & Verification:
    • Mandatory APKPure risk acknowledgment (--acknowledge-apkpure-risk) referencing EFF's malware/modification warning.
    • subprocess.run(..., shell=False), input validation, path sanitization (never saves inside the skill directory), and secret redaction.
    • Local SHA-256 computation, goopdl --integrity-manifest digest verification, optional aapt2/aapt/apksigner inspection, and secret-free grapk-manifest.json generation.
  • Resilient Operations & Diagnostics:
    • Independent routing and bounded concurrency in bulk queues with partial-failure isolation.
    • grapk.py doctor environment check covering Python, goopdl, apkeep, permissions, auth mode, and optional Android tools.

Requirements

  • Required: Python 3.9+ (zero external Python dependencies), goopdl, and apkeep.
  • Optional: adb (--arch auto), aapt2/aapt + apksigner (APK metadata/cert inspection), APKEditor + Java 11+ (only for --packaging merge).

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): 68 tests passed with mocked subprocess and HTTP responses.