Skip to Content
Addon DevelopmentAddon file structure

Addon file structure

addons/crypto-tracker/ ├── manifest.json ├── package.json # optional if you bundle with npm tooling ├── dist/ │ ├── widget.js # built client bundle entry │ └── widget.css ├── src/ │ ├── CryptoWidget.tsx │ └── api.ts ├── server/ │ └── routes.ts # optional Node routes (if permitted) └── python/ └── service.py # optional sidecar

ℹ️ Note: Published marketplace zips often contain only manifest.json + dist/ + python/ — omit src/ to shrink download size.

Required files

  1. manifest.json — see reference.
  2. Widget entry — path declared in manifest (widget.entry).

Optional files

PathPurpose
server/routes.tsExpress/Fastify-style route table
python/service.pyManaged by PM2 / systemd alongside core
locales/*.jsoni18n strings

Next

manifest.json reference

Last updated on

Was this helpful?