Lens Extension API#
Customize and enhance the Lens experience with the Lens Extension API. Use the extension API to create menus or page content. The same extension API was used to create many of Lens's core features. To install your first extension you should goto the extension page in lens.
This documentation describes:
- How to build, run, test, and publish an extension.
- How to take full advantage of the Lens Extension API.
- Where to find guides and code samples to help get you started.
What Extensions Can Do#
Here are some examples of what you can achieve with the Extension API:
- Add custom components & views in the UI - Extending the Lens Workbench
For an overview of the Lens Extension API, refer to the Common Capabilities page. Extension Guides Overview also includes a list of code samples and guides that illustrate various ways of using the Lens Extension API.
How to Build Extensions#
Here is what each section of the Lens Extension API docs can help you with:
- Getting Started teaches fundamental concepts for building extensions with the Hello World sample.
- Extension Capabilities dissects Lens's Extension API into smaller categories and points you to more detailed topics.
- Extension Guides includes guides and code samples that explain specific usages of Lens Extension API.
- Testing and Publishing includes in-depth guides on various extension development topics, such as testing and publishing extensions.
- API Reference contains exhaustive references for the Lens Extension API, Contribution Points, and many other topics.
What's New#
Just like Lens itself, the extension API updates on a monthly cadence, rolling out new features with every release.
Keep up with Lens and the Lens Extension API by reviewing the release notes.
Looking for Help#
If you have questions for extension development, try asking on the Lens Dev Slack. It's a public chatroom for Lens developers, where Lens team members chime in from time to time.
To provide feedback on the documentation or issues with the Lens Extension API, create new issues at lensapp/lens. Please use the labels area/documentation
and/or area/extension
.
Downloading Lens#
Download Lens for macOS, Windows, or Linux.