Launch Chromium with API Keys on Mac OS X and Windows
Sometimes you need to use API Keys to use things like the Speech API. And then you Google a bit and follow all the instructions. But the Chromium Project's API Keys page does a not-so-great of explaining how to do this, so I will.
Google API Keys are missing. Some functionality of Chromium will be disabled.
Learn More
.On Windows:
Launch cmd.exe
and enter the following commands:
setx GOOGLE_API_KEY your_key_goes_here
setx GOOGLE_DEFAULT_CLIENT_ID your_client_id_goes_here
setx GOOGLE_DEFAULT_CLIENT_SECRET your_client_secret_goes_here
On Mac OS X / Linux:
Plop these in your ~/.profile
file:
export GOOGLE_API_KEY="your_key_goes_here"
export GOOGLE_DEFAULT_CLIENT_ID="your_client_id_goes_here"
export GOOGLE_DEFAULT_CLIENT_SECRET="your_client_secret_goes_here"
Now launch Chromium:
On Windows: Launch Chromium normally.
On Mac OS X:
/Applications/Chromium.app/Contents/MacOS/Chromium