Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 678 Bytes

File metadata and controls

28 lines (19 loc) · 678 Bytes

Acode TypeScript template

Official TypeScript template for Acode plugins.

Read the plugin docs before you start.

Features

  • TypeScript with acode-plugin-types
  • esbuild bundling, watch + local serve
  • plugin.zip packaging from the repo root

For a plugin UI example with Preact, see acode-plugin-preact.

Scripts

npm install
npm run dev        # watch, serve on :3000, rebuild plugin.zip
npm run typecheck
npm run build      # typecheck, bundle, write plugin.zip

In Acode, install from Plugins → + → Remote using:

http://<your-ip>:3000/plugin.zip