This directory contains the documentation site for the vowel platform, built with VitePress.
This documentation covers the complete vowel platform:
- Client - SDK installation, framework integrations (React, Vue, vanilla JS), connection models, and core concepts
- Self-Hosted - Deploy Core, the realtime engine, and optional Echoline speech services on your own infrastructure
- vowelbot - GitHub-based onboarding service for adding vowel to repositories via add.vowel.to
- Platform - Hosted platform documentation (coming soon after the initial self-hosted launch)
- Recipes - Task-oriented examples for actions, events, navigation, automation, and advanced flows
- API Reference - Generated SDK reference for the Client library
- voweldocs - Reference implementation for voice-powered documentation sites
The documentation includes a voice-powered AI navigation system with privacy-first RAG (Retrieval-Augmented Generation) built on Turso WASM:
- Navigate by voice - "Take me to the installation guide"
- Ask questions with grounded answers - "What is vowel?" with answers retrieved from the docs
- Interact with content - "Copy the first code example"
- Search documentation - "Search for adapters"
RAG Architecture:
- Browser-local Turso WASM database with vector search
- Transformers.js for in-browser query embeddings
- Pre-built embedding index generated at build time from all documentation
- Zero cloud dependencies - all processing happens client-side
Quick Setup:
- Run
bun install - Run
bun run build:ragto generate the RAG index - Run
bun run dev - Click the microphone button and configure voice access:
- Hosted mode: Enter your App ID from vowel.to
- Self-hosted mode: Enter your base URL and App ID (or JWT token)
- Say "Go to getting started"
Optional Pre-configuration:
You can pre-configure credentials via environment variables (see .env.example) to skip the setup modal:
VITE_VOWEL_URL+VITE_VOWEL_APP_ID- For self-hosted modeVITE_VOWEL_JWT_TOKEN+VITE_VOWEL_USE_JWT=true- For JWT-based self-hosted
See voweldocs README for complete integration documentation.
docs/
├── .vitepress/ # VitePress configuration
│ ├── config.ts
│ └── theme/ # Custom theme with voice integration
│ ├── VoiceLayout.vue
│ ├── VoiceAgent.vue
│ ├── voice-client.ts
│ └── custom.css
├── guide/ # Client SDK guides
│ ├── getting-started.md
│ ├── installation.md
│ ├── quick-start.md
│ ├── adapters.md
│ └── ...
├── self-hosted/ # Self-hosted deployment docs
│ ├── index.md
│ ├── architecture.md
│ ├── core.md
│ └── ...
├── vowelbot/ # GitHub onboarding docs
│ └── index.md
├── platform/ # Hosted platform docs
│ ├── index.md
│ └── ...
├── recipes/ # Practical examples
│ ├── index.md
│ ├── event-notifications.md
│ └── ...
├── voweldocs/ # Voice navigation docs
│ ├── index.md
│ ├── architecture.md
│ ├── rag.md
│ └── ...
├── api/ # Auto-generated API reference
│ └── reference/
├── index.md # Home page
└── package.json
bun installBuild the semantic search index for voice navigation:
bun run build:ragThis generates public/rag-index.yml with pre-computed embeddings using llama.cpp.
bun run devVisit https://localhost:5173 (HTTPS is required for microphone access)
bun run docs:buildOutput will be in .vitepress/dist/
bun run docs:preview- Guides - Hand-written markdown files in
guide/ - Recipes - Hand-written examples in
recipes/ - Self-Hosted - Deployment and operations docs in
self-hosted/ - voweldocs - Voice navigation implementation docs in
voweldocs/ - API Reference - Auto-generated from TypeScript source
This documentation site is configured for deployment to Cloudflare Pages at docs.vowel.to.
Quick Deploy:
# Build and deploy to Cloudflare Pages
bun run deploy
# Deploy a preview
bun run deploy:previewConfiguration Files:
wrangler.toml- Cloudflare Pages configuration.node-version- Node.js version specificationpublic/_headers- HTTP headers for security and cachingpublic/_redirects- URL redirects for SPA routing
Alternative Deployment Options:
This site can also be deployed to:
- GitHub Pages - Automatic via GitHub Actions
- Vercel - Connect your repo and deploy
- Netlify - Connect your repo and deploy
- Any static host - Upload
.vitepress/dist/contents
When contributing to documentation:
- Follow the existing structure and style
- Use clear, concise language
- Include code examples
- Test your changes locally before committing
- Run
bun run build:ragto update the RAG index if documentation content changes
- 📧 Email: support@vowel.to
- 💬 Discord: Join our community
- 🐛 Issues: GitHub Issues