@ryan_nookpi/pi-extension-generative-ui
Generative UI widget extension for pi.
Package details
Install @ryan_nookpi/pi-extension-generative-ui from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@ryan_nookpi/pi-extension-generative-ui- Package
@ryan_nookpi/pi-extension-generative-ui- Version
0.1.2- Published
- Apr 16, 2026
- Downloads
- 349/mo · 15/wk
- Author
- ryan_nookpi
- License
- MIT
- Types
- extension
- Size
- 101.1 KB
- Dependencies
- 1 dependency · 4 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@ryan_nookpi/pi-extension-generative-ui
This extension lets pi open visual results in a separate native window.
Use it for charts, diagrams, mockups, mini apps, or other interactive HTML/SVG output when plain text is not enough.
Install
pi install npm:@ryan_nookpi/pi-extension-generative-ui
Great for
- showing a flowchart or system diagram
- opening a chart or dashboard in its own window
- previewing a quick UI mockup or interactive prototype
Example prompts
- "Show the signup flow as a diagram."
- "Open a chart for this revenue trend."
- "Make a simple form mockup and show it in a window."
Notes
- It works through the
visualize_read_meandshow_widgettools. - Previously created widgets can be reopened with the
/widgetscommand. - It can render HTML, SVG, Canvas, and Chart.js-based output.