Skip to content

Instantly share code, notes, and snippets.

@tcecyk
tcecyk / cleanapk_api.sh
Created April 26, 2024 11:58
cleanapk api shell helpers, add to .bash_aliases or .bash_functions
# https://gitlab.e.foundation/e/os/apps/-/blob/9674d4a0/app/src/main/java/foundation/e/apps/data/cleanapk/CleanApkRetrofit.kt
cleanapk_search() {
curl -s "https://api.cleanapk.org/v2/apps?action=search&keyword=$1&page=1&nres=10" | jq | less
}
cleanapk_pkg() {
curl -s "https://api.cleanapk.org/v2/apps?action=search&keyword=$1&by=package_name" | jq | less
}
cleanapk_pkginfo() {
curl -s --globoff "https://api.cleanapk.org/v2/apps?action=app_detail&exact_arch=false&id=5bef39e54ecab403b15e9cb7&architectures=[arm64-v8a]" | jq | grep signature
}
@tcecyk
tcecyk / README.md
Last active October 1, 2023 22:32
converts Android "MagicEarth" map app Favourites.xlm to geojson, gpx and kml

Usage

I stopped worrying and use the break-system-packages flag

pip install -r requirements.txt  --break-system-packages

Put the Favourites.xlm in the same directory as the me2favs.py script, run it and you should see 3 favs.{geojson,gpx,kml} files

python3 me2favs.py