Skip to content

๐ŸŽ™๏ธ Voice-enabled calculator built with React | Supports speech input/output & smart math parsing

Notifications You must be signed in to change notification settings

Shristirajpoot/CalcVoive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ™๏ธ CalcVoice - Calculate with Your Voice! ๐Ÿงฎ

A smart, accessible, and voice-powered calculator made with โค๏ธ using React & Web APIs.

GitHub Repo stars GitHub last commit Built with


๐ŸŒŸ Overview

CalcVoice is a modern and responsive voice-enabled calculator. It supports both voice commands and speech feedback, allowing users to calculate hands-free while adjusting settings like theme and precision. Designed with accessibility in mind, itโ€™s a great tool for all ages and users.


๐ŸŽฅ Demo Video

๐Ÿ“บ Watch the walkthrough here:
CalcVoice - Demo Video

๐Ÿ”— Click the image or watch on YouTube


๐ŸŽจ Features

  • ๐ŸŽค Voice command input via Web Speech API
  • ๐Ÿ—ฃ๏ธ Voice result feedback using speechSynthesis
  • ๐ŸŒ— Light/Dark theme toggle
  • ๐Ÿงฎ Smart math support: sin, cos, tan, sqrt, power
  • ๐Ÿ“ History of recent 5 calculations
  • โš™๏ธ Settings panel with customizable voice & precision
  • ๐Ÿ“ฑ Fully responsive design
  • ๐Ÿ”ง Built using React with functional components

๐Ÿ“‚ Project Structure

calcvoice/
โ”œโ”€โ”€ public/               # Static assets and index.html
โ”‚
โ”œโ”€โ”€ src/                  # Main source code
โ”‚   โ”œโ”€โ”€ App.js            # Main App with routes
โ”‚   โ”œโ”€โ”€ Calculator.js     # Core calculator logic and UI
โ”‚   โ”œโ”€โ”€ Settings.js       # Theme, voice, and precision settings
โ”‚   โ”œโ”€โ”€ Instructions.js   # Help and user guidance
โ”‚   โ”œโ”€โ”€ About.js          # Info about CalcVoice
โ”‚   โ””โ”€โ”€ index.js          # React entry point
โ”‚
โ”œโ”€โ”€ Screenshot 2025-06-11 122432.png
โ”œโ”€โ”€ Screenshot 2025-06-11 122447.png
โ”œโ”€โ”€ Screenshot 2025-06-11 122507.png
โ”œโ”€โ”€ Screenshot 2025-06-11 122525.png
โ”œโ”€โ”€ Screenshot 2025-06-11 122547.png
โ”œโ”€โ”€ Screenshot 2025-06-11 122600.png
โ”œโ”€โ”€ Screenshot 2025-06-11 122612.png
โ”œโ”€โ”€ Screenshot 2025-06-11 122628.png
โ”œโ”€โ”€ Screenshot 2025-06-11 122649.png
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ package-lock.json
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ .gitignore

๐Ÿ–ผ๏ธ Screenshots

๐Ÿ“ธ Real views of the CalcVoice website:

๐Ÿ Developer Page ๐Ÿš€Responsive Design
Screenshot1 Screenshot2
๐Ÿ‘ค Command Examples โญ Setting Page
Screenshot3 Screenshot4
๐ŸŽ Calculator Interface ๐Ÿ‘ค Instructions Page
Screenshot5 Screenshot6
๐Ÿ›๏ธ About Page ๐Ÿงบ Theme Toggle
Screenshot7 Screenshot8
๐ŸŒ Full Website View
Screenshot9

๐Ÿš€ Getting Started

๐Ÿ“ฆ Install Dependencies

npm install
โ–ถ๏ธ Start Development Server

npm start

๐ŸŒ Visit http://localhost:3000 to see the website live.

๐Ÿ”ˆ Supported Voice Commands

Command Action
"Clear" / "Reset" Clears the calculator display
"Delete last" Deletes the last character
"5 plus 2" Performs addition
"10 divided by 5" Performs division
"Square root 25" Calculates โˆš25
"2 to the power 3" / "2 ^ 3" Calculates 2ยณ
"Sin 30", "Cos 60", "Tan 45" Trigonometric functions

๐Ÿ› ๏ธ Built With

  • โš›๏ธ React.js

  • ๐Ÿ—ฃ๏ธ Web APIs: SpeechRecognition & SpeechSynthesis

  • ๐Ÿ’ก Functional Components & Hooks

  • ๐Ÿ“ฆ npm / Node.js

  • ๐ŸŽจ Tailwind CSS

๐Ÿ‘ฉโ€๐Ÿ’ป Author

Shristi Rajpoot

๐Ÿ“„ License

This project is licensed under the MIT License.

๐ŸŒŸ If you liked this project, consider starring the repo and sharing it!

About

๐ŸŽ™๏ธ Voice-enabled calculator built with React | Supports speech input/output & smart math parsing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published