export PUB_HOSTED_URL=https://mirrors.mamad.dev/pub/YOUR_KEY
echo 'export PUB_HOSTED_URL=https://mirrors.mamad.dev/pub/YOUR_KEY' >> ~/.zshrc
flutter pub get
dart pub get
echo $PUB_HOSTED_URL
curl -LO https://mirrors.mamad.dev/pub/YOUR_KEY/packages/http/versions/1.1.0.tar.gz
Proxies pub.dev. All package metadata and .tar.gz archives are cached for 7 days. Works with both Dart and Flutter package managers.