Files
2025-06-08 15:54:26 +02:00

57 lines
2.2 KiB
Markdown

# Live Transliterator
A lightweight web application that converts Latin-script input into Cyrillic (Russian or Ukrainian) or Esperanto characters in real time or on demand. Ideal for linguistic tools, learning aids, or any project requiring fast, accurate transliteration directly in the browser.
## Features
- **Real-time transliteration**: Automatically converts as you type when Live mode is enabled.
- **On-demand transliteration**: Select text and click a button to transliterate specific blocks.
- **Multiple schemes**: Supports Russian, Ukrainian, and Esperanto mapping.
- **Bash-style shortcuts**: Familiar `Ctrl+A`, `Ctrl+E`, `Ctrl+K`, and `Ctrl+U` editing commands.
- **Clipboard integration**: Automatically copies transliterated text to the clipboard after pauses.
- **Easy customization**: Pure HTML, CSS, and vanilla JavaScript—zero dependencies.
## Installation
1. **Clone the repository**
```bash
git clone https://kaizenkodo.no/gitea/kaizenkodo/LiveTransliterator.git
cd live-transliterator
```
2. **Open in browser**
Simply open `index.html` in your favorite browser. No build steps required.
## Usage
1. **Select a scheme**
Choose **Russian**, **Ukrainian**, or **Esperanto** from the dropdown.
2. **Toggle Live mode**
Enable the switch to transliterate as you type.
3. **Type or paste text**
Your Latin-script input will be converted according to the selected scheme.
4. **On-demand**
Disable Live, select a text range, then click **Transliterate** to process only that segment.
5. **Keyboard shortcuts**
* `Ctrl+O`: Swap between Off and your last used scheme
* `Ctrl+A/E/K/U`: Bash-style navigation and deletion
## Customization
* **Add new schemes**: Extend the `comboList`, `comboStarters`, and `map` definitions in `index.html`.
* **Styling**: Modify the embedded CSS or replace with your own themes.
* **Clipboard timing**: Adjust the debounce delay (`500ms`) in the `resetCopyTimer()` function.
## Contributing
1. Fork the repo.
2. Create a feature branch: `git checkout -b feature-name`.
3. Commit your changes: `git commit -m "Add new feature"`.
4. Push to the branch: `git push origin feature-name`.
5. Open a pull request.
## License
WTFPL