A template for your new Open Web Desktop application. This template is designed to help you quickly bootstrap and build custom desktop apps.
Demo · Documentation · Support
Run the following command in your OWD workspace root to scaffold a new application automatically:
pnpm desktop create app <name>This command will:
- Copy the template files into
apps/app-<name> - Perform package name and namespace replacements
- Run
pnpm installin the workspace root - Link the new app and register it under the
appskey in yourdesktop/desktop.config.ts
If you prefer to manually clone and set up the application template:
-
Download or clone this repository into your
/appsdirectory:cd <your-owd-client-path>/apps wget -O - https://github.com/owdproject/app-template/archive/refs/heads/main.zip | unzip -d app-<name> -
-
Open the newly created
apps/app-<name>/package.jsonand change the"name"field to@owdproject/app-<name>. -
Register the app under the
appskey in yourdesktop/desktop.config.ts:export default defineDesktopConfig({ apps: [ '@owdproject/app-<name>' ] })
-
Install dependencies in your workspace to enable internal linking:
pnpm install
Run the app playground to test your implementation:
cd apps/app-<name>
pnpm run devThis application is released under the MIT License.