This is a boilerplate for Chrome app, extension, and theme development. It
should be easy enough to get started even if you've never built a Chrome
extension before by following the INSTALLATION notes.
Most of the boilerplate is scribbed together from the docs at
http://code.google.com/chrome/extensions and the icons auto-generated at
http://faviconist.com. It's all MIT-licensed.
INSTALLATION
The boilerplate works out of the box, so start by installing it in Chrome:
- git clone git://github.com/mahemoff/chrome-boilerplate.git my-project-name
- Visit chrome://extensions and expand "Development mode" (top right).
- Choose "Load unpacked extension ..." and point to the new project directory.
- It's installed! You should see a new button in your address bar. Click it!
CUSTOMIZATION
By default, most things are commented out - uncomment them to make them active.
UI Exposure:
Your extension can be an app, an action (address bar popup), or a theme,
but it can only be one of these. Or if it does other stuff, maybe it won't
do any at all. So at most only one of these can be uncommented.
Permissions:
For convenience, these are mostly selected by default (except "experimental",
as it requires you run Chrome wiht a special flag). Be sure to comment out
what you don't need - i.e., most of them - before distributing your extension.
Locales:
A basic locale setup is included, with English declared as the default
language. This won't do any harm even if you're not planning to localize your app.
WHO MADE THIS?
Michael Mahemoff (http://mahemoff.com). I was previously working in Google's
Chrome team, but am no longer at Google and this is not an official
Google/Chrome project.