Dart package cache
Point Dart and Flutter package resolution at Pub Bunker with PUB_HOSTED_URL. Packages are cached and served through Pub v2 compatible endpoints.
export PUB_HOSTED_URL="http://localhost:8080"
dart pub get
Use Pub Bunker as a private mirror for Dart packages, Flutter SDK artifacts, and Android Maven dependencies so controlled networks can build reliably.
Point Dart and Flutter package resolution at Pub Bunker with PUB_HOSTED_URL. Packages are cached and served through Pub v2 compatible endpoints.
export PUB_HOSTED_URL="http://localhost:8080"
dart pub get
Set FLUTTER_STORAGE_BASE_URL so Flutter downloads engine binaries, release metadata, and tool artifacts through the local cache.
export FLUTTER_STORAGE_BASE_URL="http://localhost:8080"
flutter precache
Route Android builds through Google Maven and Maven Central mirror paths to cache Gradle, Kotlin, AndroidX, jar, aar, and pom files.
maven { url "http://localhost:8080/maven2/google" }
maven { url "http://localhost:8080/maven2/central" }
Use the bunker command wrapper after warming the cache to run common Flutter commands against the isolated mirror configuration.
bunker pub get
bunker build apk
Start runner daemons from the CLI or interactive menu to mirror package archives onto additional storage nodes, then run bunker doctor to inspect runner status, package coverage, storage usage, and last heartbeat.
bunker runner --name runner-node-1 --server http://localhost:8080
bunker doctor
Generate support diagnostic bundles using the CLI, and collect server performance statistics using the Prometheus-compatible /metrics endpoint.
bunker support-bundle --server http://localhost:8080 --token <token>
curl http://localhost:8080/metrics
Search and inspect mirrored Dart packages from the browser.
Read package README and CHANGELOG files extracted from cached archives.
Review diagnostics, storage growth, cache contents, request traffic, and recent errors from the admin dashboard.
Register runner nodes, copy ready-to-run commands, and monitor online status, cache coverage, storage use, and heartbeat freshness.
Switch between English and Russian portal content without changing repository API behavior.