A modern, interactive Morse code converter built with React and TypeScript. Convert text to Morse code and vice versa with real-time visualization, audio playback, and an interactive telegraph key.
-
Two-way Conversion
- Text to Morse code
- Morse code to text
- Real-time conversion and validation
-
Interactive Visualization
- Visual representation of dots and dashes
- Multiple animation presets
- Dark mode support
-
Audio Features
- Real-time audio playback
- Interactive telegraph key
- Visual waveform display
- Adjustable timing and feedback
-
Modern UI/UX
- Clean, responsive design
- Keyboard shortcuts
- Copy to clipboard
- Error handling and feedback
- Accessible interface
- React 18
- TypeScript
- Tailwind CSS
- Shadcn/ui
- Web Audio API
- Vite
-
Clone the repository:
git clone https://github.com/edrisranjbar/morse-magic-web.git cd morse-magic-web -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Build for production:
npm run build
-
Text to Morse
- Type or paste text in the input field
- See real-time Morse code conversion
- Use the play button to hear the code
- Copy the result to clipboard
-
Morse to Text
- Switch to decode mode
- Enter Morse code using dots (.) and dashes (-)
- See real-time text conversion
-
Telegraph Key
- Use the interactive key interface
- Short press for dots, long press for dashes
- See and hear your input in real-time
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Edris Ranjbar
- Website: en.edrisranjbar.ir
- GitHub: @edrisranjbar
- Inspired by the history of Morse code and telegraph communication
- Built with modern web technologies and best practices
- Special thanks to the open-source community
