Skip to content

lilyco-42/quote-replacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quote Replacer

A cross-platform character replacement tool with GUI, supports Chinese/English punctuation conversion and keyboard hook real-time replacement.

Platform Platform Platform Platform Rust License

Features

  • 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 + ''

Default Mappings

From To
"
"
'
'
(
)
<
>
,
.
,
;
:
?
!
…… ...
-
~
· `

Installation

Pre-built

Download from Releases

Build from Source

# 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

Usage

Replace Tool

  1. Open app, default shows "替换工具" tab
  2. Enter text in input box
  3. Click "全部替换" (Replace All)
  4. Click "复制结果" (Copy Result)

Mapping Config

  1. Click "映射配置" tab
  2. View all mappings
  3. Click "添加" to add new mapping
  4. Click "删除" to remove mapping
  5. Click "重置为默认" to restore defaults

Keyboard Hook (Windows only)

  1. Click "开启" in toolbar
  2. Hold Alt + key to auto-replace

Note: Keyboard hook requires running as Administrator on Windows.

Config File

Mappings saved to:

  • Windows: %APPDATA%\quote_replacer\mappings.json
  • macOS: ~/Library/Application Support/quote_replacer/mappings.json
  • Linux: ~/.config/quote_replacer/mappings.json

Tech Stack

License

MIT License

About

字符替换工具,支持中英文标点符号互转

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages