Author: Matt Giuca <[email protected]>
Live at: requester-dot-chromium-ballista.appspot.com
This is a simple web app with a list of files, that lets you open the text file in an external editor using Ballista. As it uses the Ballista polyfill, it works with any handler app using the same polyfill (like Ballista Editor Demo).
The app requires a web browser with support for Service Workers and Arrow functions. This includes newer versions of Google Chrome / Chromium and Mozilla Firefox. (Tested on Chrome 46 and Firefox 42.)
The demo runs on Google App Engine. You can try it out locally using the App Engine dev appserver.
- Download and install the App Engine Python SDK.
cd
to theballista
directory.- Run the dev appserver:
dev_appserver.py requester.yaml
. - Register at least one action handler. For this example, we'll use Ballista Editor Demo. Go there and register it. You can view and delete handler registrations in the polyfill control panel.
- Open the requester.
- From the requester, click "Open". Select "Ballista Editor Demo". This opens a new tab with the handler.
- Edit the text in the handler, then click "Save".
- The new text will be visible in the requester.