Overview
The React-Frontend Plugin Template is a chat reference example for using the decky-frontend-lib in a decky-loader plugin. It provides a convenient and simple way for developers to create their own plugins for the decky-loader. The template relies on Node.js v16.14+ and pnpm (v8.5.1) for development.
Features
- Chat reference example for using decky-frontend-lib
- Easy setup and build tasks for VSCode or VSCodium users
- Customizable backend support for plugin development
- Compatible with Steam Deck hardware
Installation
- Ensure that you have Node.js v16.14+ and pnpm (v8.5.1) installed on your system.
- Download and install pnpm v8.5.1 from npm.
- If you want to build plugins with custom backends, Docker is required. Install Docker and make sure it is accessible by the Decky CLI tool (Linux only).
- Fork the template repository or click on “Use this template” on Github.
- In your local fork or own plugin-repository, open a terminal and run the following commands:These commands will install the required dependencies and build the frontend code for testing.
pnpm i pnpm run build
Summary
The React-Frontend Plugin Template provides developers with a convenient starting point for creating plugins for the decky-loader. It includes a chat reference example using the decky-frontend-lib and allows for customization of backend support. The installation process is straightforward and easy to follow. Developers should keep in mind that the template is primarily targeted towards Steam Deck hardware. The template’s documentation and examples may still need improvements, but it offers a simple and effective solution for plugin development.