Skip to content

Instantly share code, notes, and snippets.

@obfusk
Created October 4, 2023 22:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obfusk/feff9c37de1b7580c6e2aa097fea5609 to your computer and use it in GitHub Desktop.
Save obfusk/feff9c37de1b7580c6e2aa097fea5609 to your computer and use it in GitHub Desktop.
a few f-droid index curl + jq commands
curl -s https://f-droid.org/repo/index-v2.json | ...
... | jq -r '.packages[] | [.versions[]] | max_by(.manifest.versionCode) | .manifest.usesSdk.targetSdkVersion' | sort -n | uniq -c
... | jq -r '.packages | to_entries[] | select([.value.versions[]] | max_by(.manifest.versionCode) | .manifest.usesSdk.targetSdkVersion < 23) | select(.value.metadata.lastUpdated/1000 > now-365/2*24*3600) | .key' | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment