Practical overview
When it fits
Use Artyom.js when building a browser-based interface that needs voice commands, speech-to-text or spoken output, and you can work with the browser speech APIs it wraps.
Who it is for
- Web developers adding voice controls or speech features to a JavaScript application.
- Developers who want command phrases, wildcard or regular-expression matching, and callbacks for application actions.
Documented uses
- Map spoken phrases to website actions.
- Capture speech as text through dictation.
- Have a web application speak a response.
- Pause or resume command recognition.
Requirements & limits
- The library offers both a bundler-oriented JavaScript build and a browser build for script-tag loading.
- Its source is written in TypeScript and transpiled to JavaScript.
- Chrome speech synthesis requires a user gesture, such as a click, before speech can run.
- The library wraps browser-provided speech APIs; its documented role is web application development.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Add a spoken response with the browser build
Load Artyom.js in a web page and trigger a spoken greeting after a user click.
Before you start
- A web page that can load the
artyom.window.jsbrowser build. - A button or other user interaction to activate speech synthesis.
Steps
Load
artyom.window.jsin the page.Create an Artyom instance.
Attach a click handler to a page control that calls
say()with the response text.
Expected outcome
The page is configured to request a spoken response after the user interacts with the control.
Guide limitations
- The documentation says Chrome requires user activation for speech synthesis; a call without a user gesture may fail.
- This guide covers setup and the documented interaction pattern, not a verified execution.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- sdkcarlos/artyom.js · Official homepage title · retained in its source language

