@gui-chat-plugin/template
guichat-plugin-{plugin-name}
A plugin for MulmoChat - a multi-modal voice chat application with OpenAI's GPT-4 Realtime API.
What this plugin does
{plugin-description}
Installation
yarn add guichat-plugin-{plugin-name}
Usage
Vue Implementation (for MulmoChat)
// In src/tools/index.ts
import Plugin from "guichat-plugin-{plugin-name}/vue";
const pluginList = [
// ... other plugins
Plugin,
];
// In src/main.ts
import "guichat-plugin-{plugin-name}/style.css";
React Implementation
import Plugin from "guichat-plugin-{plugin-name}/react";
import "guichat-plugin-{plugin-name}/style.css";
// Named exports
import { plugin, View, Preview } from "guichat-plugin-{plugin-name}/react";
Core Only (Framework-agnostic)
import { pluginCore, TOOL_NAME } from "guichat-plugin-{plugin-name}";
// or
import pluginCore from "guichat-plugin-{plugin-name}";
Package Exports
| Export | Description |
|---|---|
guichat-plugin-{plugin-name} |
Core (framework-agnostic) |
guichat-plugin-{plugin-name}/vue |
Vue implementation with UI components |
guichat-plugin-{plugin-name}/react |
React implementation with UI components |
guichat-plugin-{plugin-name}/style.css |
Tailwind CSS styles |
Development
# Install dependencies
yarn install
# Start dev server - Vue (http://localhost:5173/)
yarn dev
# Start dev server - React (http://localhost:5173/)
yarn dev:react
# Build
yarn build
# Type check
yarn typecheck
# Lint
yarn lint
Test Prompts
Try these prompts to test the plugin:
- "{test-prompt-1}"
- "{test-prompt-2}"
- "{test-prompt-3}"
License
MIT
Related
- Protocol spec: gui-chat-protocol
- Reference implementations using this protocol: mulmoclaude · MulmoChat
Related Packages
@tomjs/vite-plugin-html
A Vite plugin for handling HTML files, providing compression, template, and CDN...
3,753
3
vue-native-template-compiler
Vue Native template compiler, dependency of vue-native-scripts. It can also be u...
7,805
8,278
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.1.0 | ^3.5.0 | MIT | |
| 2.0.0 | ^3.5.0 | MIT | |
| 1.1.0 | ^3.5.0 | MIT | |
| 1.0.0 | ^3.5.0 | MIT | |
| 0.5.1 | ^3.5.0 | MIT | |
| 0.5.0 | ^3.5.0 | MIT | |
| 0.4.0 | ^3.5.0 | MIT | |
| 0.2.0 | ^3.5.0 | MIT | |
| 0.1.2 | ^3.5.0 | MIT | |
| 0.1.1 | ^3.5.0 | MIT |