Xuanwu is a simple command line front end of pangu-rs which could automatically insert whitespace between CJK(Chinese, Japanese, Korean) and half-width characters(alphabetical letters, numerical digits and symbols).
Xuanwu (玄武) is a powerful deity in Chinese religion, one of the higher-ranking deities in Taoism. In Chinese mythology, Xuanwu is the son of Pangu (盘古; 盤古), who separated heaven and earth and became geographic features such as mountains and rivers.
Usage: xuanwu [options] [TEXT]
Options:
-f FILE read text from file
-v, --version Print the version
-h, --help Print this help menu
$ xuanwu "當你凝視著bug,bug也凝視著你"
當你凝視著 bug,bug 也凝視著你
$ cat /PATH/TO/FILE
當你凝視著bug,bug也凝視著你
$ xuanwu -f /PATH/TO/FILE
當你凝視著 bug,bug 也凝視著你
$ xuanwu "當你凝視著bug,bug也凝視著你" > /PATH/TO/FILE
$ cat /PATH/TO/FILE
當你凝視著 bug,bug 也凝視著你
Required Rust 1.59 or above
$ git clone https://github.com/EAimTY/xuanwu && cd xuanwu
$ cargo build --release
You can find the compiled binary in target/release/
GNU General Public License v3.0