Sahajanand Post to Speech – Free Text to Speech Plugin
Convert posts into natural-sounding audio with a Gutenberg block — generate speech in the browser or via your own TTS API, no subscription needed.
Install in
Sahajanand Post to Speech helps you convert WordPress posts into listenable audio. Add the Sahajanand Post To Speech block, generate speech from your post content, and visitors get a simple audio player — no post text is shown on the frontend.
Features
- Gutenberg block for post-to-audio conversion
- Post content or custom text as the audio source
- Frontend shows only the audio player (no duplicated post text)
- Browser (WASM) or external API generation modes
- 8 built-in voices with adjustable speed
- Generated audio saved to the WordPress media library
Generation modes
- Browser (WASM) — runs in the block editor using ONNX Runtime Web. No server-side TTS engine required. Speech models are downloaded on first use.
- API — proxies requests to a compatible HTTP TTS API you host. Useful for long posts or low-powered devices. Your API key stays on the server.
Tutorial
Contribute
Development happens on GitHub. Bug reports, feature requests, and pull requests are welcome:
https://github.com/vanpariyar/wordpress-plugins
Credits
This plugin uses the open-source KittenTTS speech synthesis models and KittenTTS-web SDK from KittenML.
Sahajanand Post to Speech is developed independently and is not affiliated with, endorsed by, or sponsored by KittenML.
External services
This plugin may contact the following third-party services when generating audio:
Browser mode (editor only)
- KittenTTS-web / Hugging Face — downloads selected speech model files on first generation and caches them locally in the browser Cache API. KittenTTS Web SDK ships bundled inside the plugin.
API mode (server-side, when configured)
- Your configured TTS API URL — WordPress sends post text and receives WAV audio. Only the site administrator configures this URL and API key.
No data is sent to external services on the public frontend unless you use API mode during generation in the editor.
Written by Joobi from the project's own listing. See the source page
1.1.0
- Migrated browser TTS engine to the bundled KittenTTS Web SDK (
kittentts-web.js). - Moved browser audio synthesis into a dedicated Web Worker (
TTSWorkerClient/tts-worker.js) for improved UI responsiveness and progress reporting. - Added automated Playwright E2E and JS unit test suites for the block editor, settings, frontend player, and TTS worker.
1.0.2
- Confirmed compatibility with WordPress 7.0.
- Hardened the audio upload REST handler and tidied code comments for readability (no functional changes).
- Coding-standards cleanup (WordPress-Extra/PHPCS) across plugin files.
1.0.0
- Initial release of Sahajanand Post to Speech.
- Sahajanand Post To Speech Gutenberg block — convert post content or custom text to audio.
- Browser (WASM) generation with ONNX Runtime Web and bundled eSpeak-NG.
- Optional API mode for server-side generation via a compatible TTS HTTP service.
- Eight voices, adjustable speed, and audio saved to the media library.
Follow this listing's changes (Atom feed)