Skip to content

chanhht/novel-translation-wasm

Repository files navigation

Chinese Novel to Vietnamese Translation

Chinese Novel to Vietnamese Translation

Overview

This project use Rust to develop the core translation and compile to WebAssembly, which then able to run directly on browser. It also include a simple Vue UI application

The project currently uses a rule-based approach inspired by an existing Windows app Quick Converter. The data is collected from various sources:

Live demo

https://chanhht.github.io/

Local development

# build
cargo build
# test
cargo test
yarn
# or
npm install

Start the app in development mode (hot-code reloading, error reporting, etc.)

wasm-pack build --target web -d src/wasm
quasar dev

Lint the files

yarn lint
# or
npm run lint

Format the files

cargo fmt
yarn format
# or
npm run format

Build the app for production

Production build

wasm-pack build --target web -d src/wasm --release
quasar build
# to deploy (required local setup)
yarn deploy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published