Repository navigation
Releases
Grapk v0.5.0
Grapk v0.5.0 — Apple App Store (.ipa) & iPhone Pairing/Install (ipatool + pymobiledevice3)
Release v0.5.0 brings iOS / macOS App Store (.ipa) discovery, authentication, downloading, verification, and optional USB/Wi-Fi device pairing & installation to Grapk.
Highlights
- Apple App Store Engine (
IpatoolAdapter,Kosthi/ipatool-rs 0.1.8):- Deterministic routing for
--source app-store(appstore,ios,apple,ipa),apps.apple.com/itunes.apple.comURLs, and numeric Apple App IDs. grapk.py auth status|login|logout: OS Keychain session reuse or interactive/stdin Apple ID login with 2FA (--auth-code/requires_2fahint), with immediate scrubbing ofpasswordandpassword_token.- App Store
search, public iTunes Lookupinfo, newest-firstversions/latest, and SINF-patched.ipadownloads with default--purchase(--no-purchaseopt-out).
- Deterministic routing for
- iOS Device Pairing &
.ipaInstallation (IosDeviceAdapter,pymobiledevice3 11.67.1):- Added
grapk.py ios devices,grapk.py ios pair("Trust This Computer" lockdown pairing), andgrapk.py ios install. - Interactive post-download prompt (
[y/N]in TTY; guided confirmation inSKILL.md) plus--install-deviceand--udidflags.
- Added
- Version-Locked Auto-Installer & Stdlib
.ipaVerification:- Pinned prebuilt
ipatool 0.1.8(.tar.xz/.zipSHA-256 verified) andpymobiledevice3 11.67.1in an isolated~/.grapk/tools/pymobiledevice3/11.67.1/venv/virtualenv (grapk.py installanddoctor --install). - Added pure-Python
zipfile+plistlibinspection ofPayload/*.app/Info.plist, FairPlaySC_Info/*.sinf, andiTunesMetadata.plist.
- Pinned prebuilt
Distributable Asset
grapk.zip: Portable skill bundle (grapk/SKILL.md,scripts/,references/, 28 files) ready for upload or 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): 121 tests passed (1.933s). - Live end-to-end verification: auto-installed
Kosthi/ipatool-rs 0.1.8andpymobiledevice3 11.67.1(uv-venv), downloadedcom.yurani.fuelmeter(1.1.6/896364765,61,114,827bytes,Info.plist+SC_Info/*.sinfverified), and verified real iPhone pairing/install flow.
Grapk v0.4.0
Grapk v0.4.0 — Aptoide Provider in GrapkAdapter
Release v0.4.0 adds AptoideProvider (aptoide) to the extensible GrapkAdapter engine (skills/grapk/scripts/grapk_lib/engines/grapk.py).
Highlights
AptoideProvider(aptoide):- Uses Aptoide JSON APIs (
https://ws75.aptoide.com/api/7/apps/search,app/getMeta,app/getVersions) with fallbacks tohttps://web-api-cache.aptoide.com/searchandhttps://webservices.aptoide.com/webservices/3/getApkInfo/id:<id>/json. - Supports keyword search, package ID downloads,
aptoide.com/<uname>.en.aptoide.comURL and?app_id=resolution viaGrapkAdapter.is_app_url(), and historical version lookup + download (--version). - Enforces strict
filesize+ MD5 (file.md5sum) integrity checks alongside local SHA-256 andaapt2/apksignerinspection. - Emits non-blocking warnings via
download_manager.pywhen Aptoidefile.malware.rankis notTRUSTED(UNKNOWN,WARNING,CRITICAL) or when companion OBB metadata is present.
- Uses Aptoide JSON APIs (
- Routing, Resolver & Documentation Updates:
- Removed
aptoide.com/en.aptoide.comfrom_UNSUPPORTED_STORE_DOMAINSinresolver.py, registeredaptoidealiases inrouter.py, and propagated adapter warnings indownload_manager.py. - Updated
README.md,CHANGELOG.md,SKILL.md,source-routing.md,supported-sources.md, andengine-reference.md.
- Removed
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): 106 tests passed (0.373s). - Live verification on
aptoide: verified search (whatsapp), subdomain URL info (https://f-droid.en.aptoide.com/app), version listing (org.fdroid.fdroid), and real.apkdownloads (latest1.14/1014050and historical2.0.3/2000053, MD5 +apksignervalid).
Grapk v0.3.0
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.comworkflow (/search/<query>via<section class="akx-results">,/app/<pkg>/package resolution,/download/apkform POSTsoqplay_download_file->303redirect todl.dlapk.net). - Supports keyword search, metadata/current version inspection, and
.apk/.xapkdownloads withContent-Length+ local SHA-256 verification and optionalaapt2/apksignerinspection.
- Updated for the live
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-tabsfinal download link). - Detects Cloudflare anti-bot challenges (
HTTP 403/Cf-Mitigated: challenge) and fails honestly withGrapkExecutionErrorwithout attempting any bypass.
- Clean-room HTML scraper for
- Unified Custom Source Routing:
- Updated
resolver.py,router.py,download_manager.py, andcli.pyto support both reverse-domain package IDs and slug-based store URLs (such asapkmirror.com/apk/<org>/<repo>/). - Updated
README.md,SKILL.md,source-routing.md,supported-sources.md, andengine-reference.md.
- Updated
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.apkdownload (com.google.android.calculator,6,223,320bytes,apksignervalid).
Grapk v0.2.0
Grapk v0.2.0 — Auto-Installer, PyFiglet Banner, & Samsung Galaxy Store
Release v0.2.0 adds version-locked cross-platform dependency auto-installation, a PyFiglet welcome header with version/author/repo attribution, and an extensible custom engine (GrapkAdapter) starting with Samsung Galaxy Store support.
Highlights
- Version-Locked Cross-Platform Auto-Installer (
installer.py,grapk.py install,grapk.py doctor --install):- Automatically detects host OS (
macOS,Linux,Windows) and CPU architecture (arm64,x86_64,armv7l) and installs SHA-256-verified locked builds into~/.grapk/tools/outside the skill folder:goopdl2.0.4(GitHub Release standalone binaries +SHA256SUMS)apkeep1.0.0(GitHub Release binaries on Linux/Windows;cargo install apkeep --version 1.0.0 --lockedon macOS, preservinghuawei-app-gallery)APKEditor1.4.9(APKEditor-1.4.9.jar)pyfiglet1.0.4(PyPI pure-Python wheel)
- Supports
--no-auto-install/GRAPK_AUTO_INSTALL=0,--prefer-managed, and--allow-brew-fallback.
- Automatically detects host OS (
- PyFiglet Welcome Banner (
banner.py,grapk.py banner,SKILL.mdStep 0):- Renders the
GrapkASCII banner viapyfigletalongsideGrapk v0.2.0, author@yusriltakeuchi, and repository URLhttps://github.com/yusriltakeuchi/grapk.
- Renders the
- Extensible Custom Engine (
GrapkAdapter) & Samsung Galaxy Store (samsung-galaxy-store):- New
GrapkAdapter(scripts/grapk_lib/engines/grapk.py) with pluggableGrapkSourceProviderregistry (register_provider(), URL matching, alias routing) for easily adding future custom sources. - Built-in
SamsungGalaxyStoreProvidersupportinggalaxystore.samsung.comandapps.samsung.comURLs,--device-model/--sdk/--csc/--countryoverrides, andcontentSizeverification. - Documented in
docs/samsung-galaxy-store.mdwith 38 live-verified Samsung ecosystem packages and unified Supported Store Sources table inREADME.md.
- New
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): 98 tests passed (0.119s).
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.