Getting Started: Extensions¶
This guide how to get started on creating new extensions for Kit based apps and sharing them with other people.
While this guide can be followed from any Kit based app with UI. It was written and tested in Create.
For more comprehensive documentation on what extension is and how it works refer to other pages of documentation.
We recommend installing Visual Studio Code and using it as a main dev environment for best experience.
1. Open Extension Manager UI: Window -> Extensions¶
This window shows all found extensions, both enabled and disabled, local and remote.
3. Push it to git¶
When ready to share with the world, push it to some public git, for instance: GitHub
Link might look like:
exts is repo subfolder with extensions. More information can be found in: Git URL as Extension Search Paths.
This link can be added right into extension search paths in UI:
To get new changes pulled in click on a little sync button.
Git needs to be installed (
git command in the shell) for that feature to work.
More Advanced Things To Try¶
From Visual Studio Code terminal in a newly created project you have easy access to Kit executable.
Try few commands in the terminal:
app\kit\kit.exe -hto get started
app\kit\kit.exe --empty --ext-folder exts --enable omni.hello.worldto only start newly added extension. It has one dependency which will automatically start few more extensions.
app\kit\omni.app.mini.batto run another Kit based app. More developer oriented, minimalistic and fast to start.
Explore other extensions¶
Kit comes with a lot of bundled extensions. Look inside
app/exts. Most of them are in python. All the source available and can serve a good reference for many thing.