The Educational Voice Assistant is a web-based application that combines voice recognition, speech synthesis, and Wikipedia data retrieval to assist users in learning, exploring, and discovering new knowledge.
- Typed Commands: In addition to voice, users can type commands in the input box and submit with Enter or the submit button.
- Dark Mode Toggle: Users can switch between light and dark themes.
- Clear Output: A quick action to clear response text, spoken text, and command history.
- Command History: The app stores the latest commands with timestamps and source (
voiceortyped). - Repeat Command: Users can say or type
repeatto hear the latest assistant response again. - Wikipedia Fallback: If local PHP endpoints are unavailable, the app falls back to the public Wikipedia API so learning commands still work.
- Voice Interaction: Start and stop voice listening using on-screen controls.
- Commands: Supports greetings, self-introduction, and
Teach me about [topic]to fetch Wikipedia summaries. - Speech Synthesis: Assistant responses are spoken aloud and shown in the UI.
- Wikipedia Integration: Uses
search-wikipedia.phpandget-summary.phpwhen available.
php -S 127.0.0.1:8080Then open:
http://127.0.0.1:8080/index.html
You can still run with a static server. In this mode, Wikipedia lookups use the public API fallback.
python3 -m http.server 8080Then open:
http://127.0.0.1:8080/index.html
- Open the app in a browser.
- Click Start Listening and speak a supported command, or type a command in the text box.
- Try:
helloteach me about photosynthesistell me about yourselfrepeatstop
- Use Toggle Dark Mode and Clear Output for quick UI controls.
© Atharv Shinde | TechCognita