Author: Nogeek
Email: [email protected]
dictconv convert <stardict_xxxxx.tar.bz2> -i -v
Building would take some time, please be patient.
A Node.js version of DictUnifier. The original repo is no longer maintained, while I really want a converter for the Stardicts.
Require Node.js >= 12 to support ES module.
yarn global add @ritou11/dictconv
or npm i -g @ritou11/dictconv
You'll also need gunzip
, tar
,cp
,mkdir
in your system path. They should be installed with MacOSX already.
dictconv [command]
Commands:
dictconv raw <stardict> <destPath> Convert the startdict to xml
dictionary.
dictconv build <rawPath> [<destPath>] Build the Mac dictionary from raw
data
dictconv convert <stardict> [<destPath>] Convert the startdict to Mac
dictionary.
Options:
--version Show version number [boolean]
-h, --help Show help [boolean]
dictconv raw <stardict> <destPath>
Convert the startdict to xml dictionary.
Positionals:
stardict <stardict> The path to the stardict file. [string] [required]
destPath <destPath> The destination path. [string] [required]
dictconv build <rawPath> [<destPath>]
Build the Mac dictionary from raw data
Positionals:
rawPath <rawPath> The path to the raw data files. [string] [required]
Options:
--version Show version number [boolean]
--name, -n The name of dictionary [string]
--install, -i Install the converted dictionary to the system
[boolean] [default: false]
dictconv convert <stardict> [<destPath>]
Convert the startdict to Mac dictionary.
Positionals:
stardict <stardict> The path to the stardict file. [string] [required]
destPath <destPath> The destination path. [string]
Options:
--version Show version number [boolean]
--name, -n The name of dictionary [string]
--install, -i Install the converted dictionary to the system
[boolean] [default: false]
- duplicated index
- stardict 3.0.0 and idxoffsetbits=64 support
- res convert
- better way to get the unarchived path
MIT