Turn a website into a native-like app on your Mac.
Before you follow these steps, beware that this is still highly experimental! Pyjector and SIMBL might break your whole system! ChromeWebApps, too! And it might make Google Chrome unstable or not working anymore!
- Install SIMBL from here. This patched SIMBL is needed to work around restrictions in Chrome. See details on the project page.
- Install Pyjector.
- Git clone (or download) these files somewhere.
- Restart Google Chrome.
- In Chrome, browse to some site which you want to turn into an app.
- From the "Python" menu in Chrome, select "make webapp". This creates a new app bundle for the web app (in the directory
~/Library/Application Support/ChromeWebApps/Apps/) and starts it. The app bundle is linked to a window in Chrome which represents the web-app.
install_web_apps.pydoes all the hard work. When initially run by Pyjector, it will setup all the event hooks, the menu and an AppleEvent handler in Chrome.
- The dock icon helper app and Chrome are communicating via the AppleEvent.
- ... (see the source)
- All of this could be made much more stable and bullet-proof.
- The web-app could interact more with the app dock icon. E.g., GMail could set some unread-message-count indicator on the dock icon. Stuff like this could be controlled by user scripts. Or by Chrome extensions.
- When the web-app window is in the foreground, it could replace the Chrome menu by its own so that it looks even more native.
-- Albert Zeyer, http://www.az2000.de