Given the recent interest in progressive web apps, this experimental project investigates whether it is feasible to automatically port Chrome Apps to web sites that run offline in Chrome and other modern browsers.
Extract the code into a folder. Install dependencies with pip and npm:
$ pip install -r requirements.txt && npm install
./caterpillar.py config -i config.json ./caterpillar.py convert -c config.json my-chrome-app/ my-web-app/
This will convert an unpackaged Chrome App
my-chrome-app/ into a progressive
my-web-app/ and generate a conversion report inside a subdirectory of
my-web-app/ (depending on the configuration options you set).
For more detailed documentation, see the manual.
Running all tests:
Running Python tests only:
Running specific Python tests:
./run_tests.py py module_test ./run_tests.py py module_test.TestClass ./run_tests.py py module_test.TestClass.test_function
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.
Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.