CLI tool to jump to your browser directly to improve productivity
Install by homebrew.
$ brew tap KeisukeYamashita/biko
$ brew install biko
Install by source code.
$ go get github.com/KeisukeYamashita/biko/cmd/biko
Then build it.
$ make install
$ biko gcp spanner --project my-spanner-project
If you don't specify the project, it will use the value configured by gcloud SDK config.
$ biko dd --dashboard DASHBOARD_ID
The supported provider are here.
- GoogleCloudPlatform(GCP)
- Datadog
- Youtube
- Pagerduty
- Github
You can configure your alias for whatever you want for frequently used projects, products, names, etc.
For example, if you use the Cloud Function my-cloud-functions in region asia-northeast1, you can configure it like below in $HOME/.biko/config.toml.
[gcp]
[gcp.alias]
mcf = "my-cloud-functions"
an1 = "asia-northeast1"Now, you can open your page like below using the configured alias.
$ biko gcp functions -r as1 -n mcf
You can directly go to your page without waiting to load pages many times.
- By default, it will open the project configured by
gcloudcommand.
$ biko gcp [product] [flag(s)]
Supported Product
| Product | What | Command | Flags(Optional) |
|---|---|---|---|
| App Engine | Go to GAE Dashboard | appengine, gae |
- |
| Bigquery | Go to Bigquery top or the database, table | bigquery, bq |
--database, -db, --table, -tb |
| Kubernetes | Go to GKE page, or the cluster detail | kubernetes, gke |
--region, -r, --name, -n |
| Spanner | Go to spanner page, or the instance, database, table | spanner |
--instance, -i, --database, -db, --table, -t |
| Container Registry | Go to container registry or the container detail | gcr |
--name, -n |
| Cloud Functions | Go to Cloud Functions page or the functions detail | functions, f |
--region, -r, --name, -n |
| Cloud Run | Go to Cloud Run page or the deployments detail | run |
--region, -r, --name, -n |
| Compute Engine | Go to GCE page | compute |
- |
| Stackdriver Logging | Go to Stackdriver logging | logs, l |
- |
| IAM & admin | Go to IAM & admin logging | iam |
- |
| Cloud SQL | Go to Cloud SQL | sql |
- |
| Cloud PubSub | Go to Cloud PubSub | pubsub |
- |
| Cloud Storage | Go to Cloud Storage storage |
- | |
| Cloud Dataflow | Go to Cloud Dataflow | dataflow |
- |
Note that there is --project command flag for all commands.
datadogorddcommand is supported for Datadog.
$ biko datadog [product] [flag(s)]
# or
$ biko dd [product] [flag(s)]
Supported Product
| Product | What | Command | Flags(Optional) |
|---|---|---|---|
| Watchdog | Go to Watchdog Dashboard | watchdog, wd |
- |
| Events | Go to Events Dashboard | events |
- |
| Dashboard | Go to Dashboard page | dashboard |
- |
| Infrastructure | Go to Infrastructure page | infrastructure |
- |
| Monitors | Go to Monitors Dashboard | moniters |
- |
| Integrations | Go to Integrations page | integrations |
- |
| APM | Go to APM page | apm |
- |
| Notebook | Go to Notebook page | notebook |
- |
| Logs | Go to logs page | logs |
--view, -v |
| Synthetics | Go to synthetics page | synthetics |
- |
- Open Google and search from your terminal.
$ biko google [product] [flag(s)]
# or
$ biko g [product] [flag(s)]
| Product | What | Command | Flags(Optional) |
|---|---|---|---|
| Search | Search on Google | search, s |
--query, -q |
If you bump into something you want to lookup when you are using the terminal...
$ biko g s "How to configure biko"
Blazing fast.
- Open Youtube and search from your terminal.
$ biko youtube [product] [flag(s)]
# or
$ biko yt [product] [flag(s)]
| Product | What | Command | Flags(Optional) |
|---|---|---|---|
| Search | Search on Youtube | search, s |
--query, -q |
- If you are using SSO, you need to pass
--orgor configureBIKO_PAGERDUTY
$ biko pagerduty [product] [flag(s)]
# or
$ biko pd [product] [flag(s)]
| Product | What | Command | Flags(Optional) |
|---|---|---|---|
| Incident | Go to incident page | incident, i |
- |
| Alert | Go to alert page | alert, a |
- |
| Schedules | Go to schedules page | schedules, s |
- |
- Open Github from your terminal.
$ biko github [product] [flag(s)]
# or
$ biko gh [product] [flag(s)]
| Product | What | Command | Flags(Optional) |
|---|---|---|---|
| Dashboard | Open github Dashboard | dashboard |
--org |
You can execute the cli with docker image.
$ docker run biko help
You can add a provider by implementing this interface.
// Provider are interfaces ...
type Provider interface {
Init(c *cli.Context) error
GetTargetURL() (string, error)
}Initwill initialize your provider structGetTargetURLshould return a URL which will the browser will open
- See
docs/ROADMAP.mdfor the project's roadmap.- Proposal are welcome.
Copyright 2019 The Biko Authors. Biko is released under the Apache License 2.0.




