A private n8n custom node for fast, local Chinese text conversion between Simplified, Traditional, and regional variants using [opencc-js](https://github.com/nk2028/opencc-js). No external API required.
npm install @deepsrt/n8n-nodes-openccA private n8n custom node for fast, local Chinese text conversion between Simplified, Traditional, and regional variants using opencc-js. No external API required.
- Convert Chinese text between Simplified, Traditional, Taiwan, and Mainland standards
- 100% local conversion (no network required)
- Works as a drop-in n8n node
- No credentials or API keys needed
Clone this repo and link it to your n8n instance:
``bash`
git clone https://github.com/deepsrt/n8n-nodes-opencc.git
cd n8n-nodes-opencc
npm install
npm run build
npm linkThen in your n8n project directory:
npm link n8n-nodes-opencc
1. In n8n, add the OpenCC node to your workflow.
2. Set the Text parameter to the Chinese text you want to convert (can use expressions).
3. Choose the Conversion type:
- Simplified to Traditional
- Traditional to Simplified
- TW to CN
- CN to TW
4. The output will be available as result in the node output.
| Parameter | Description |
|-------------|-------------------------------------------|
| Text | The input Chinese text to convert |
| Conversion | Conversion type (s2t, t2s, tw2cn, cn2tw) |
Input:
``
繁體中文轉換為简体字Traditional to Simplified
Conversion:
Output:
```
繁体中文转换为简体字
MIT. Copyright 2022 n8n. See LICENSE.md.