FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
Koti_123

Koti_123

translator

Public
Like
1
translator
Home
Code
4
backend
2
frontend
5
shared
2
README.md
Branches
1
Pull requests
Remixes
1
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/23/2025
Viewing readonly version of main branch: v15
View latest version
README.md

Advanced Speech & Text Translation App

A comprehensive web application for speech-to-speech and text-to-speech translation supporting 100+ languages including regional Indian languages like Telugu, Marathi, Tamil, Hindi, and more.

Features

  • Speech-to-Speech Translation: Speak in one language and hear the translation in another
  • Speech Recognition: Convert speech to text in real-time with support for regional languages
  • Text-to-Speech: High-quality audio playback with native pronunciation
  • Text Translation: Traditional text input with translation
  • Regional Language Support: Extensive support for Indian languages (Telugu, Marathi, Tamil, Hindi, Bengali, Gujarati, Kannada, Malayalam, Punjabi, Urdu, etc.)
  • Language Detection: Automatic detection of spoken and written language
  • Voice Selection: Multiple voice options for different languages and accents
  • Real-time Processing: Live speech recognition and instant translation
  • Offline Capability: Basic functionality works without internet (browser-dependent)

Project Structure

├── backend/
│   ├── index.ts             # Main Hono server with translation API
│   └── README.md
├── frontend/
│   ├── components/
│   │   ├── App.tsx          # Main translation interface
│   │   └── LanguageSelector.tsx  # Language selection component
│   ├── index.html           # Main HTML template
│   ├── index.tsx            # Frontend entry point
│   ├── style.css            # Custom styles
│   └── README.md
├── shared/
│   ├── types.ts             # Shared TypeScript types
│   └── README.md
└── README.md

API Endpoints

  • GET / - Serves the main application
  • POST /api/translate - Translates text between languages
  • GET /api/languages - Returns list of supported languages

Usage

  1. Enter text in the input field
  2. Select source and target languages (or use auto-detect)
  3. Click translate to get the translation
  4. Use the speaker icons to hear the text read aloud
  5. Copy translations to clipboard

Technologies

  • Backend: Hono framework with TypeScript
  • Frontend: React with TypeScript
  • Translation: Google Translate API
  • Text-to-Speech: Web Speech API
  • Styling: TailwindCSS
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.