# VN Textify for Raycast

URL: https://www.raycast.com/locnguyen1842/vn-textify

> Convert selected Vietnamese Telex text into proper Vietnamese with accents without switching keyboards, on Mac and Windows.

- Install: raycast://extensions/locnguyen1842/vn-textify
- Author: [Loc Nguyen](https://www.raycast.com/locnguyen1842)
- Installs: 4
- Platforms: macOS, Windows
- Categories: Productivity
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/886cbd73fe377ad1d8f0c17083e6cd4c96748a33/extensions/vn-textify/

## Commands

- **Transform Vietnamese Telex**: Transform Vietnam's Telex text to Vietnamese text

## README

### Vietnamese Telex Transformer

Stop fighting your keyboard. Type freely, transform instantly.

If you type in both Vietnamese and English, you know the struggle — constant IME switching, accidental transforms in English text (`catcher` → `cảtche`, `user` → `ủe`), and mental overhead. This extension lets you stay in your English keyboard and transform selected Telex text into proper Vietnamese with one hotkey.

```
Input:  tooi ddang hocj code, fix bug status cho user
Output: tôi đang học code, fix bug status cho user
```

#### Features

- **Free-flow typing.** No keystroke interception. Type Telex in any language mode.
- **Smart syllable validation.** Full Vietnamese syllable parsing rejects English words automatically (`catcher`, `teacher`, `you`, `search`).
- **Diacritic-only vowel pairs.** `ue`, `ye`, `ei`, `eu`, `uu` only valid with diacritics — `user` stays `user`, `yes` stays `yes`.
- **Punctuation-aware.** Tone markers before trailing punctuation are correctly consumed (`tanf,` → `tàn,`).
- **Zero dependencies.** Pure JavaScript, no network, no tracking.
- **Reusable engine.** `telex.js` runs anywhere — Electron, Tauri, browser extension, CLI.

#### Quick Start (Raycast)

```bash
git clone <repo>
npm install
# In Raycast → Extensions → Import Extension → select this folder
# Assign hotkey: Cmd+Option+V
```

Select Telex text → press hotkey → transformed in place.

#### Known Limitations

English words that form valid Vietnamese syllables need skip-words:

| Input  | Output | Fix                              |
| ------ | ------ | -------------------------------- |
| `mix`  | `mĩ`   | `telexTransform(text, ["mix"])`  |
| `core` | `cỏe`  | `telexTransform(text, ["core"])` |

Pass a skip-word list to `telexTransform(text, ["mix", "core"])`; entries match as prefixes (e.g. `"mix"` skips `mix`, `mixer`).

#### License

MIT
