Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

水杉输入法。Server/UI 端。输入法引擎。Engine and UI of MetasequoiaImeTsf.

License

Notifications You must be signed in to change notification settings

fanlumaster/MetasequoiaImeServer

Repository files navigation

Metasequoia IME Server(水杉输入法 Server 端)

This is the server end of MetasequoiaIME.

How to build

Prerequisites

  • Visual Studio 2026
  • CMake
  • vcpkg
  • Nuget
  • Python3
  • Boost

Make sure vcpkg, Nuget and Boost are installed by Scoop.

Build steps(For Dev)

First, build IME dictonary and prepare assets,

cd $env:LOCALAPPDATA
mkdir MetasequoiaImeTsf
cd MetasequoiaImeTsf
git clone --recursive https://github.com/fanlumaster/FanyDictForIME.git
cd .\FanyDictForIME\makecikudb\xnheulpb\makedb\separated_jp_version
python .\create_db_and_table.py
python .\insert_data.py
python .\create_index_for_db.py
Copy-Item -Path .\out\cutted_flyciku_with_jp.db -Destination $env:LOCALAPPDATA\MetasequoiaImeTsf

Then, clone and build MetasequoiaImeServer,

git clone --recursive https://github.com/fanlumaster/MetasequoiaImeServer.git

Prepare environment,

cd MetasequoiaImeServer
python .\scripts\prepare_env.py
Copy-Item -Path .\assets\tables\* -Destination $env:LOCALAPPDATA\MetasequoiaImeTsf
New-Item -ItemType SymbolicLink -Path "$env:LOCALAPPDATA\MetasequoiaImeTsf\config.toml" -Target ".\assets\config\config.toml"

Then, build and run,

.\scripts\lcompile.ps1
.\scripts\lrun.ps1

If you want to build and run in one step, run the following command,

.\scripts\llaunch.ps1

Screenshots

About

水杉输入法。Server/UI 端。输入法引擎。Engine and UI of MetasequoiaImeTsf.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published