Website: minisky.bmics.com.ng
The minisky binary is a unified command-line tool designed to manage your local Google Cloud environment. It mirrors many common gcloud patterns while providing direct control over the emulator's lifecycle.
- Core Control
- Compute & Serverless
- Data Storage
- Messaging & Events
- Infrastructure & Databases
- Observability
Commands to manage the MiniSky daemon.
Starts the API Gateway (port 8080) and the Dashboard UI (port 8081).
- Flags:
--port: API Gateway port (default: 8080)--ui-port: Dashboard port (default: 8081)
Safely shuts down all emulators, stops managed Docker containers, and tears down the isolated network.
A shorthand for stop followed by start. Useful for clearing in-memory state.
Deploys a Cloud Function or Cloud Run service.
- Example:
./minisky deploy --name my-func --runtime python312 --source main.py - Flags:
--name: Name of the resource (Required)--source: Path to code file (Required)--runtime:python312,nodejs22,go122--entry-point: Function name (default:handler)--type:functionorservice
Lists all active serverless resources.
./minisky listLists all emulated GCE instances (Docker VMs).
Lists all buckets in the Storage emulator.
Coming soon: Create a bucket via CLI. (Currently use Dashboard or gsutil).
Lists all Pub/Sub topics.
Coming soon: Create a topic via CLI.
Lists all Cloud SQL (MySQL/PostgreSQL) instances.
Lists all Kubernetes clusters (managed via kind).
Lists all Bigtable instances.
Lists all Spanner instances.
Creates a new Spanner instance in the local emulator.
Lists all Spark/Hadoop clusters.
Streams all MiniSky logs in real-time to your terminal.
- Features:
- Color-coded severity levels.
- Automatic resource labeling.
- Streams logs from Serverless, Compute, and Database containers simultaneously.
MiniSky respects the following environment variables if you want to avoid passing flags:
MINISKY_PORT: Sets the API gateway port.MINISKY_UI_PORT: Sets the Dashboard port.STORAGE_EMULATOR_HOST: Pointgsutiltohttp://localhost:8080.PUBSUB_EMULATOR_HOST: Point SDKs tohttp://localhost:8080.