Skip to content

zhimoe/mdict-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdict-rs

A simple web dictionary, built in rust, based on mdx format dictionary file.

It's at an early stage of development, now only supports mdx version 2.0 with encrypted=2 or 0

usage

  1. put your mdx file in resources/mdx/en folder and add files in config src/config/mod.rs
  2. if your mdx file has a separate CSS file, put it in resources/static/ folder
  3. run with:
cargo run --bin mdict-rs
# now open your chrome, and search
# http://localhost:8181

screenshot

screenshot

参考

MDX的解析功能和mdx文件规范参考mdict-analysis 和文章MDX/MDD 文件格式解析

About

a web mdict app base on rust acitx, use mdx dict file

Topics

Resources

Stars

Watchers

Forks