Skip to content

7peanuts/OpenccNetLibGui

 
 

Repository files navigation

OpenccNetLibGui

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.

Features

  • Chinese Conversion: Convert between simplified and traditional Chinese text.
  • Single/Batch Conversion: Perform Chinese text conversion in single or batch mode.

Dependencies

  • 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.

Getting Started

  1. Clone the repository:
git clone https://github.com/laisuk/OpenccNetLibGui.git
  1. Navigate to the project directory:
cd OpenccNetLibGui
  1. Restore dependencies:
dotnet restore
  1. Build the project:
dotnet build
  1. Run the application:
dotnet run

Usage

Single Mode

image01

  1. Paste the text or open a file you wish to convert (file/text drag and drop are supported on Windows and macOS).
  2. Select the desired conversion configuration (e.g., Simplified to Traditional).
  3. Click the Process button to see the results.

Batch Mode

image02 image03

  1. Select or drag file(s) into the source list box (File(s), drag and drop currently only supported on Windows and macOS).
  2. Select the desired conversion configuration.
  3. Set the output folder.
  4. Click the Batch Start button to begin batch conversion.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%