Find a file
2022-07-28 15:16:49 -07:00
.vscode Ensure correct permissions during deployment. (#6) 2022-07-27 13:14:38 -07:00
assets Added support for static assets 2022-05-25 21:34:31 +02:00
defaults Add defaults folder to template 2022-07-18 16:15:20 -07:00
src showModal->showContextMenu 2022-06-01 17:46:56 -04:00
.gitignore Working deploy task to send to deck 2022-06-16 12:15:06 -07:00
main.py Initial commit 2022-04-23 00:42:11 +02:00
package.json Update to latest version of decky-frontend-library 2022-07-26 13:39:05 -07:00
plugin.json another temp edit 2022-06-28 14:10:09 -04:00
pnpm-lock.yaml Update to latest version of decky-frontend-library 2022-07-26 13:39:05 -07:00
README.md Update README.md 2022-07-28 15:16:49 -07:00
rollup.config.js Added support for static assets 2022-05-25 21:34:31 +02:00
tsconfig.json actually fix react 2022-05-28 21:50:24 -04:00

React-Frontend Plugin Template

Reference example for using decky-frontend-lib in a decky-loader plugin.

Decky Loader Discord Chat

Developers

Dependencies

This template relies on the user having pnpm installed on their system.
This can be downloaded from npm itself which is recommended.

Linux

sudo npm i -g pnpm

Getting Started

  1. Clone the repository to use as an example for making your plugin.
  2. In your clone of the repository run these commands:
    1. pnpm i
    2. pnpm run build
  3. You should do this every time you make changes to your plugin.

Note: If you are recieveing build errors due to an out of date library, you should run this command inside of your repository:

pnpm update decky-frontend-lib --latest

Distribution

Plugins are distributed officially through the decky-plugin-database via usage of submodules and PRs.
If you wish to distribute your plugin another way then you will need to build and bundle the plugin as a zip file.
Here users can install the zip file from a URL in the settings menu, they will be warned that the plugin is not verified via hash.