• This repository has been archived on 05/Nov/2022
  • Stars
    star
    537
  • Rank 82,164 (Top 2 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created about 9 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An interoperability system for the modern web.

Ballista

Date: 2015-09-25 Updated: 2019-11-08

A ballista

Ballista was a project to explore inter-website and web/native communication; specifically, communication between one website and another site or native app of the user's choosing. We explored ways for the user to be able to share or edit documents in another website or app that the first website has never even heard of, choose documents from another website, or register a website as a native file handler. We were attempting to solve similar problems to the intents system on Android, but also address other use cases like document editing. Essentially, we set out to create an interoperability system for the web.

Our explainer document dives deeper into the problem space and outlines our early draft of an API that we thought solved this problem. But this was less about proposing an API, and more about starting a conversation.

Epilogue (2019): The Ballista project started in 2015 as an ambitious exploration of the above concepts. The project evolved into a number of more specialized and smaller proposals to achieve these goals, several of which are now generally available. These include Web Share, Web Share Target and File Handling.

Spin-off proposals

These standards-track proposals were created as a result of the explorations begun in the Ballista project:

Demo

We have a prototype that works in Chrome and Firefox. Try this:

  1. Go to handler-dot-chromium-ballista.appspot.com (Ballista Editor Demo), and click "OK" to register it as an action handler.
  2. Go to requester-dot-chromium-ballista.appspot.com (Ballista Cloud Demo), and open a file with "Ballista Editor Demo".

These two apps don't know about each other, yet the editor can edit files from the cloud app. Using our polyfill, you can write a web app that interoperates with our demo apps in the same way.

You can view and manage app registrations at chromium-ballista.appspot.com. In the final product, the registration, picking and management UI would be part of the browser.

Resources

  • For a detailed overview, see Ballista Explained.
  • In the polyfill directory, there is a polyfill that you can use to write a requester that can fire actions at any handler, or a handler that can receive actions from any requester.
  • The handler and requester directories contain the source code for the demo apps described above.

See the README.md file in each directory for details. Many caveats apply.

Who is behind Ballista?

The Google Chrome team, including:

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

http://www.apache.org/licenses/LICENSE-2.0

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.

More Repositories

1

chromium

The official GitHub mirror of the Chromium source
15,034
star
2

badssl.com

🔒 Memorable site for testing clients against bad SSL configs.
HTML
2,807
star
3

-archived-chromium

Old and archived, see https://github.com/chromium/chromium instead.
1,721
star
4

permission.site

A site to test the interaction of web APIs and browser permissions.
JavaScript
1,180
star
5

hstspreload.org

🔒 Chromium's HSTS preload list submission website.
Go
773
star
6

dom-distiller

Distills the DOM
Java
607
star
7

crashpad

A crash-reporting system
C++
416
star
8

hterm

MOVED: Please use the new libapps repo on chromium.googlesource.com instead
JavaScript
338
star
9

vs-chromium

A Visual Studio extension containing a collection of tools to help contributing code to the Chromium project.
C#
279
star
10

pdfium

The PDF library used by the Chromium project
C++
254
star
11

mini_chromium

A small collection of useful low-level (“base”) routines from Chromium
C++
249
star
12

web-page-replay

DEPRECATED - Use WebPageReplayGo instead:
Python
233
star
13

octane

The JavaScript Benchmark Suite for the modern web
JavaScript
178
star
14

trickuri

HTML
141
star
15

hstspreload

🔒🔍 A Go package to scan sites against requirements for Chromium-maintained HSTS preload list.
Go
114
star
16

suspicious-site-reporter

Extension for reporting suspicious sites to Safe Browsing.
JavaScript
89
star
17

subspace

A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code.; Also home of Subdoc the code-documentation generator.
C++
85
star
18

gyp

GYP is a Meta-Build system: a build system that generates other build systems.
Python
75
star
19

caterpillar

Project to investigate porting Chrome Apps to websites.
Python
56
star
20

axiom

Axiom Project
JavaScript
51
star
21

vim-codesearch

Vim integration for Chromium Codesearch at https://cs.chromium.org
Python
39
star
22

crsym

Go
34
star
23

mus-preso

Public mus presentations
JavaScript
33
star
24

chromium-ads-detection

28
star
25

content_analysis_sdk

This repository contains the SDK that DLP agents may use to become service providers for the Google Chrome Content Analysis Connector.
C++
24
star
26

codesearch-py

Python library for accessing Chromium CodeSearch via https://cs.chromium.org
Python
23
star
27

auto-zoom

Automatically zoom web pages based on their content
JavaScript
21
star
28

blink-intent-tracker

A service to automatically track blink-dev intents.
Python
20
star
29

dom-distiller-dist

Distribution packages for DOM Distiller (https://github.com/chromium/dom-distiller).
JavaScript
19
star
30

permissions.request

A polyfill for the navigator.permissions.request() API
TypeScript
14
star
31

requestautocomplete-magento-extension

Magento extension for requestAutocomplete
JavaScript
14
star
32

ozone-client

Example external ozone platform implementation offering RFB access to an ozone content shell.
Python
10
star
33

ACDC4GC

JavaScript
9
star
34

eclipse-gn

GN meta-build language support for the Eclipse IDE
Java
6
star