Overview

Googkit is a tool that boosts development cycle of your web app with Google Closure Library.

You can setup your project only two steps so start developing quickly. You can also do such a complicated compiling... by one command!

Visit Googkit on GitHub

Products Using Googkit

Requirements

Googkit requires Following commands. Install them if not installed yet.

Git:downloads Closure Library
Python:executes Closure Tools

Install Googkit

First, you need to install Googkit.

Linux or OS X

  1. Download and extract the latest version of Googkit

  2. Put it into a preferred place:

    $ mv googkit /usr/local
  3. Add environment variables:

    export GOOGKIT_HOME=/usr/local/googkit
    export PATH=$PATH:$GOOGKIT_HOME/bin

Windows

  1. Download and extract the latest version of Googkit

  2. Put it into a preferred place:

    $ move googkit C:\
  3. Add environment variables

    Variable Value
    GOOGKIT_HOME C:\googkit
    PATH Append ;%GOOGKIT_HOME%\bin

Getting Started

  1. Create a project directory and initialize:

    $ mkdir my_project
    $ cd my_project
    $ googkit init
  2. Download Closure Tools:

    $ googkit setup
  3. Develop your web app in development/

    Modify existing scripts, or add your awesome scripts to development/js_dev.

    After adding/removing scripts, you need to update dependency information:

    $ googkit ready
  4. Build your project

    Building the project including JavaScript files compilation improves performance and makes them unreadable:

    $ googkit build

    If it succeed, output files will be stored in production/.

Misc

The Googkit team

License

Googkit are licensed under MIT License.

Are you interested?

Please star it on GitHub to encourage us, thanks!