Skip to content

Examples

Explore working examples that demonstrate ResponsiveVoice capabilities. All examples live in the examples repository.

Drop a <script> tag on any page — no build step.

Install @responsivevoice/core from npm and bundle with your tool of choice.

Server-side usage — runs in Node.js, not the browser. Uses @responsivevoice/api-client.

Terminal window
git clone https://github.com/responsivevoice/examples.git
cd examples
npm install
Terminal window
npm run serve
# open http://localhost:3000/browser/basic/ or /browser/extended/
Terminal window
npm run vite:dev
# open http://localhost:5173/
Terminal window
export RESPONSIVEVOICE_API_KEY="your-api-key" # https://app.responsivevoice.org
export RESPONSIVEVOICE_API_SECRET="your-api-secret" # "Server-to-server API secrets"
npm run cli -- "Hello, world!"
npm run server

Try ResponsiveVoice directly in the app.