Repository navigation
Grapk v0.1.0
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 verifiedapkeepsources (e.g.huawei-app-gallerywhen present inapkeep --help) ->apkeepwith explicit-d <source> - Unsupported stores (APKMirror, Uptodown, Aptoide, APKCombo) are rejected explicitly with no silent fallback.
- Google Play (and package ID / app name defaults) ->
- Guided Interactive Skill Flow:
skills/grapk/SKILL.mdprompts 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.apkfiles +adb install-multiplecommand.bundle: creates a single<pkg>-<ver>.apksZIP archive using Python stdlibzipfilewhile preserving original APKs and Google Play digests.merge(opt-in): merges splits into a single.apkvia externalAPKEditorwith--acknowledge-merge-resignand honestrepackaged: true/source_verified: falsemanifest 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-manifestdigest verification, optionalaapt2/aapt/apksignerinspection, and secret-freegrapk-manifest.jsongeneration.
- Mandatory APKPure risk acknowledgment (
- Resilient Operations & Diagnostics:
- Independent routing and bounded concurrency in
bulkqueues with partial-failure isolation. grapk.py doctorenvironment check covering Python,goopdl,apkeep, permissions, auth mode, and optional Android tools.
- Independent routing and bounded concurrency in
Requirements
- Required: Python
3.9+(zero external Python dependencies),goopdl, andapkeep. - 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.