OpenccNetLibGui is a Chinese text conversion application built with Avalonia and the MVVM design pattern. It leverages the OpenccNetLib library to provide simplified and traditional Chinese conversion.
- Chinese Conversion: Convert between simplified and traditional Chinese text.
- Single/Batch Conversion: Perform Chinese text conversion in single or batch mode.
- Avalonia: Cross-platform .NET UI framework.
- AvaloniaEdit: Text editor for Avalonia with virtualization support.
- OpenccNetLib: .NET library for conversions between Traditional and Simplified Chinese.
- Newtonsoft.Json: High-performance JSON framework for .NET.
- Clone the repository:
git clone https://github.com/laisuk/OpenccNetLibGui.git- Navigate to the project directory:
cd OpenccNetLibGui- Restore dependencies:
dotnet restore- Build the project:
dotnet build- Run the application:
dotnet run- Paste the text or open a file you wish to convert (file/text drag and drop are supported on Windows and macOS).
- Select the desired conversion configuration (e.g., Simplified to Traditional).
- Click the Process button to see the results.
- Select or drag file(s) into the source list box (File(s), drag and drop currently only supported on Windows and macOS).
- Select the desired conversion configuration.
- Set the output folder.
- Click the Batch Start button to begin batch conversion.
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
- OpenCC for the Chinese text conversion lexicon.
- OpenccNet for the .NET Chinese conversion library.
- Avalonia for the cross-platform UI framework.
- AvaloniaEdit for the text editor with virtualization.
- Newtonsoft.Json for JSON parsing.


