A cross-platform character replacement tool with GUI, supports Chinese/English punctuation conversion and keyboard hook real-time replacement.
- Text Replacement Tool: Input text and convert to target format with one click
- Character Mapping Config: Customizable character mapping rules, add/delete/reset
- Keyboard Hook: After enabling, hold Alt + corresponding key to auto-replace
Alt + ,→,Alt + .→.Alt + /→/Alt + ;→;Alt + -→-Alt + =→=Alt + \→\Alt + \→`Alt + '→'
| From | To |
|---|---|
| 「 | " |
| 」 | " |
| 『 | ' |
| 『 | ' |
| ( | ( |
| ) | ) |
| 《 | < |
| 》 | > |
| , | , |
| 。 | . |
| 、 | , |
| ; | ; |
| : | : |
| ? | ? |
| ! | ! |
| …… | ... |
| — | - |
| ~ | ~ |
| · | ` |
Download from Releases
# Clone
git clone https://github.com/lilyco-42/quote-replacer.git
cd quote-replacer
# Build (Windows/Linux/macOS)
cargo build --release
# Or build for Android (requires Android SDK)
cargo apk build --release
# Run
./target/release/quote_replacer- Open app, default shows "替换工具" tab
- Enter text in input box
- Click "全部替换" (Replace All)
- Click "复制结果" (Copy Result)
- Click "映射配置" tab
- View all mappings
- Click "添加" to add new mapping
- Click "删除" to remove mapping
- Click "重置为默认" to restore defaults
- Click "开启" in toolbar
- Hold Alt + key to auto-replace
Note: Keyboard hook requires running as Administrator on Windows.
Mappings saved to:
- Windows:
%APPDATA%\quote_replacer\mappings.json - macOS:
~/Library/Application Support/quote_replacer/mappings.json - Linux:
~/.config/quote_replacer/mappings.json
- eframe - Pure Rust GUI
- enigo - Keyboard/Mouse simulation
- windows-rs - Windows API
- cargo-apk - Android APK build
MIT License