Skip to main content

itqan_cli 0.1.3 copy "itqan_cli: ^0.1.3" to clipboard
itqan_cli: ^0.1.3 copied to clipboard

Install and pin Itqan Quranic assets (mushafs, tafsirs, translations) in Dart and Flutter projects. Runs the standalone itqan binary; no Python needed.

itqan_cli #

Install and pin Itqan Quranic assets (mushafs, tafsirs, translations, fonts) in your Dart or Flutter project, the way a package manager does for code.

dart pub global activate itqan_cli
itqan init        # create itqan-assets.yaml
itqan install     # download the assets it declares and write itqan-assets.lock

In a Flutter app, run itqan install --flutter to also list the installed asset folders in pubspec.yaml, so Flutter bundles them.

The package version is the version of the CLI it runs: dart pub global activate itqan_cli 0.2.0 runs itqan 0.2.0. On first use it downloads the standalone itqan binary for your machine (macOS arm64/x64, Linux arm64/x64 with glibc, Windows x64) from the GitHub Release, checks it against the release's SHA256SUMS, and keeps it in your cache folder. Python isn't needed.

Variable Use
ITQAN_CACHE_DIR Where to keep downloaded binaries, instead of ~/Library/Caches/itqan (macOS), $XDG_CACHE_HOME/itqan or ~/.cache/itqan (Linux), %LOCALAPPDATA%\itqan (Windows).
ITQAN_CLI_DOWNLOAD_URL A folder (https:// or file://) holding the release's binaries and SHA256SUMS, such as a mirror, instead of the GitHub Release.

See the itqan-cli README for the commands and the manifest format.

0
likes
0
points
795
downloads

Publisher

verified publisheritqan.dev

Weekly Downloads

Install and pin Itqan Quranic assets (mushafs, tafsirs, translations) in Dart and Flutter projects. Runs the standalone itqan binary; no Python needed.

Homepage
Repository (GitHub)
View/report issues

Topics

#quran #flutter #assets #cli

License

unknown (license)

Dependencies

crypto

More

Packages that depend on itqan_cli