Web Capabilities Demos
The goal of the web capabilities project is to enable web
apps to do anything native apps can, by exposing the capabilities
of native platforms to the web platform, while maintaining user
security, privacy, trust, and other core tenets of the web.
The Badging API is a new web platform API that allows installed web apps
to set an application-wide badge, shown in an operating-system-specific
place associated with the application, such as the shelf or home screen.
Badging makes it easy to subtly notify the user that there is some new
activity that might require their attention, or it can be used to indicate
a small amount of information, such as an unread count.
Native File System APIs
The new Native File System API enables developers to build powerful web apps
that interact with files on the users local device, like IDEs, photo and
video editors, text editors, and more. After a user grants a web app access,
this API allows web apps to read or save changes directly to files and folders
on the users device.
Notification Triggers is an extension to the Notifications API that allows developers
to schedule network-independent notifications that are based on a triggering condition
being met ahead of time.
SMS Receiver API
With the SMS Receiver API, you can programmatically obtain an OTP from an SMS
message and verify a phone number for the user more easily.
The Wake Lock API provides a way to prevent the device from
dimming or locking the screen or prevent the device from going
to sleep when an application needs to keep running.
The Shape Detection API opens up native implementations of
shape detection services and exposes them through a set of
face detection, and barcode detection.
Web NFC aims to provide sites the ability to read and write to nearby NFC devices
(e.g., tags and phones). The current scope is limited to NDEF, a lightweight binary
message format, but the API is designed so that the feature set can be expanded in
The WebUSB API makes USB safer and easier to use by bringing it to the Web.
The Serial API provides a way for websites to read and write from a serial device
through script. The API bridges the web and the physical world, by allowing websites
to communicate with devices such as microcontrollers, 3D printers, and other serial
WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual
machine. Wasm is designed as a portable target for compilation of high-level languages
like C/C++/Rust, enabling deployment on the web for client and server applications.