Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
WebUSBDemo - Prompt - OpenSmartRoute
Promptv1.0.0
WebUSBDemo
WebUSBDemo Add WebUSB functionality to this p5js project. When the page opens, open the WebUSB dialog so that a device can be selected. We want to be able to print serial output to the p5 sketch.
Prompt file imported from joeljaffesd/BrowserMeetsEmbedded (.github/prompts/WebUSBDemo.prompt.md). Copyright stays with the author.
WebUSBDemo
Add WebUSB functionality to this p5js project.
When the page opens, open the WebUSB dialog so that a device can be selected.
We want to be able to print serial output to the p5 sketch.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# WebUSBDemo
Add WebUSB functionality to this p5js project.
When the page opens, open the WebUSB dialog so that a device can be selected.
We want to be able to print serial output to the p5 sketch.
Manifest
The prompt text and its fill-in variables. Copy it or fetch it by URL from your own code.
{
"prompt": "# WebUSBDemo\nAdd WebUSB functionality to this p5js project.\nWhen the page opens, open the WebUSB dialog so that a device can be selected.\nWe want to be able to print serial output to the p5 sketch.",
"variables": [],
"notes": "WebUSBDemo Add WebUSB functionality to this p5js project. When the page opens, open the WebUSB dialog so that a device can be selected. We want to be able to print serial output to the p5 sketch. Mode: agent.",
"metadata": {
"source": {
"provider": "github-prompts",
"repository": "https://github.com/joeljaffesd/BrowserMeetsEmbedded",
"path": ".github/prompts/WebUSBDemo.prompt.md",
"ref": "22daa8fa6a58ae5c05ea64adc6a834e53fb0994f",
"url": "https://github.com/joeljaffesd/BrowserMeetsEmbedded/blob/22daa8fa6a58ae5c05ea64adc6a834e53fb0994f/.github/prompts/WebUSBDemo.prompt.md",
"key": "joeljaffesd/BrowserMeetsEmbedded/.github/prompts/WebUSBDemo.prompt.md"
}
}
}
Fetch it by URL: GET /api/v1/registry/joeljaffesd-browsermeetsembedded-webusbdemo-prompt/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.