Skip to content

DoctorLai/rot47-converter

Repository files navigation

ROT47 Cipher Tool

ROT47 Converter (Built, Lint and Test) Run Tests with Coverage

A simple web-based tool to encode and decode text using the ROT47 cipher. This app is built using React and runs entirely in the browser. It provides a single text area and a button—type or paste your text and convert it with a click!

Features

  • ROT47 Cipher: Encode or decode any text using the ROT47 algorithm.
  • Dark Mode: Toggle between light and dark modes for better readability.
  • Tab Support: Properly inserts spaces when pressing the "Tab" key inside the text area.
  • Simple and Intuitive UI: One clean textbox and one button—easy to use.
  • Deploy Easily: npm run build and npm run deploy.

Live Demo

The live demo is deployed to: GitHub Page: ROT47 Cipher Tool

image

Please note: this is the open source version of this online tool: ROT47 Online Cipher

Installation

To run the tool locally:

  1. Clone the repository:
git clone https://github.com/doctorlai/rot47-converter.git
cd rot47-converter
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Tests:
## or simply: npm test
npm run test
  1. Test coverage:
npm run coverage
  1. Format Code:
npm run format
## Fix automatically the coding style
npm run format:fix
  1. Visit http://localhost:5173/rot47-converter/ to start using the tool locally.

Usage

  1. Enter your text in the input box.
  2. Click "ROT47" to encode or decode using the ROT47 cipher.
  3. The result will replace the current content in the same box.

You can also switch between Light Mode and Dark Mode using the toggle button.

Contributing

Feel free to fork this project and submit issues or pull requests for improvements!

  1. Fork the repository.
  2. Create a feature branch:
git checkout -b feature-branch
  1. Commit your changes:
git commit -am 'Add new feature'
  1. Push to the branch:
git push origin feature-branch
  1. Open a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Documentation

Here is the AI generated wiki

Acknowledgments

  • Built with ❤️ by @justyy
  • Initial Boilerplate code contributed by ChatGPT-4o and o4-mini.
  • If you found this tool useful, consider buying me a coffee

Releases

No releases published

Packages

 
 
 

Contributors