pi-open-message-in-browser
extensionmaintainedOpens the last assistant response in a browser with GitHub styling and Mermaid support
by — · v0.1.3 · published 1mo ago
$ pi install npm:pi-open-message-in-browserdownloads/mo
115
stars
0
last push
3d ago
open issues
0
Signals
license: nonetestspi manifest: missinginstall size: —deps: 0peer deps: 0
Download trend
711 downloads · last 12 weeks (weekly)
README
pi-open-message-in-browser
Pi extension to open the last assistant message in a browser with Github flavor markdown preview and Mermaid support.
❓ The Problem
Reading a wall of markdown text in terminal is not a great experience. Better way is to open that in a browser with markdown and mermaid support
🛠️ Installation
To install this tool using pi, run:
pi install npm:pi-open-message-in-browser
📖 Usage
/open-message-in-browser
# To change settings - browser and file path
/open-message-in-browser:settings
🏗️ How it works
graph LR
A[pi Agent] -- trigger --> B[pi-open-message-in-browser]
B -- fetches --> C[Last Assistant Message]
C -- renders --> D[HTML + Markdown/Mermaid]
D -- writes to --> E[Local File System]
E -- opens in --> F[Web Browser]
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
📜 License
This project is licensed under the MIT License.