About This Service
This service provides a private package repository for Dart and Flutter packages, similar to pub.dev but for your private packages. It enables teams to share code internally without publishing it publicly.
Note: This is an API service and not meant to be accessed directly in a browser.
See documentation below for proper usage.
Authentication
All requests to this API require authentication using your Dartastic API key. You can find your API key in the Dartastic dashboard.
Using in Your Projects
To use a private package in your Dart or Flutter project, add it to your pubspec.yaml:
dependencies:
your_private_package:
hosted:
name: your_private_package
url: https://pub.dartastic.io
version: ^1.0.0
API Endpoints
The following endpoints are available:
/api/packages- List all available packages/api/packages/{package_name}- Get package information/api/packages/{package_name}/versions/{version}- Get specific version information/packages/{package_name}/versions/{version}.tar.gz- Download package archive
Rate Limiting
Requests are limited to 100 requests per minute per IP address.
Documentation
For detailed documentation, please visit the Dartastic Documentation.