MorseBin is a web application that allows users to convert text to Morse code and binary, and vice versa. The app provides an easy-to-use interface to enter text, convert it to the desired format, and view the converted output. It is built using React and utilizes React Router for navigation.
You can find a live demo of morsebin at MorseBin
- Convert text to Morse code and binary, and vice versa.
- Simple and intuitive user interface.
- Real-time conversion with immediate output updates.
- Easy navigation between Morse code and binary conversion modes.
- Download converted text as a text file.
- React: A JavaScript library for building user interfaces.
- React Router: A routing library for React applications, used for navigation.
- HTML and CSS: Markup and styling for the user interface.
- TypeScript: The primary programming language used for logic and functionality.
To run the morsebin app locally, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/SudoKMaar/morsebin.git
cd morsebin
- Install the required dependencies using npm or yarn:
npm install
- Start the development server:
npm start
The app should now be running at http://localhost:3000.
- Launch the morsebin app in your web browser.
- The main page will show two buttons: "Binary" and "Morse."
- Click on the "Binary" button to access the Binary Converter.
- In the Binary Converter, enter your text in the input area.
- Click the "Convert" button to convert the text to binary.
- The binary representation will be displayed in the output area.
- To convert the binary back to text, click on the "Swap" button.
- Click the "Convert" button again to get the original text back.
- Click on the "Morse" button to access the Morse Code Converter.
- In the Morse Code Converter, follow the same steps as in the Binary Converter.
- Enter your text in the input area and click the "Convert" button.
- The Morse code representation will be displayed in the output area.
- To convert the Morse code back to text, click on the "Swap" button.
- Click the "Convert" button again to get the original text back.
- Use the "Clear" button to clear the input and output areas.
- To export the converted text, click on the "Export" button.
- A text file named "converted_text.txt" will be downloaded.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please create an issue or submit a pull request. Please make sure to follow the code style and include tests if applicable.
MorseBin is open-source software licensed under the MIT License.