Bridging Voices, Connecting Worlds
VocaSpeak is a cutting-edge translation and voice recognition web application designed to break language barriers and enable seamless communication. With features like real-time translation, speech recognition, and audio playback, VocaSpeak connects people across the globe, fostering understanding and collaboration.
- Text Translation: Translate text between multiple languages including English, Hindi, Spanish, French, German, and Chinese.
- Speech Recognition: Convert spoken words into text for easy translation.
- File Upload Support: Upload
.txt
and.rtf
files for direct text extraction and translation. - Audio Playback: Listen to the source and translated text in selected languages.
- Feedback System: Provide feedback with options to like, dislike, or save translations as favorites.
- Dynamic Language Selector: Choose target languages dynamically from a dropdown menu.
- User-Friendly Interface: Responsive and intuitive design optimized for all devices.
- Frontend: React, Next.js, TypeScript, TailwindCSS
- Libraries:
@tabler/icons-react
for interactive iconsreact-toastify
for notificationsspeech-synthesis
for audio playback
- Hooks: Custom hooks for managing translations and state
- Utilities: RTF to text conversion for file uploads
Ensure you have the following installed on your system:
- Node.js (v14 or higher)
- npm, yarn, or pnpm
- Clone the repository:
git clone https://github.com/harshhere905/VocaSpeak.git
- Navigate to the project directory:
cd VocaSpeak
- Install dependencies:
npm install # or yarn install
Start the application locally:
npm run dev
# or
yarn dev
Open http://localhost:3000 in your browser to view the application.
- Enter text manually or use the speech recognition feature.
- Upload files to extract and translate text directly.
- Choose from a variety of supported languages via the dropdown menu.
- Click on the "Translate" button to get instant translations.
- Play audio for both the source and translated text.
- Like, dislike, or save translations as favorites for future reference.
VocaSpeak
├── components
│ ├── Inputs
│ │ ├── FileUpload.tsx
│ │ ├── LanguageSelector.tsx
│ │ └── TextArea.tsx
│ ├── SpeechRecognition
│ │ └── SpeechRecognition.tsx
│ ├── SvgDecorations.tsx
│ └── categoryLinks.tsx
├── hooks
│ └── useTranslate.ts
├── utils
│ └── rtfToText.ts
├── pages
│ └── index.tsx
├── public
├── styles
├── README.md
├── package.json
└── tsconfig.json
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
git checkout -b feature-name
- Commit your changes:
git commit -m "Add new feature"
- Push to your fork and submit a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.
For any inquiries or support, reach out to:
- Name: Priyanshu Varshney
- Email: [email protected]