zhimoe / mdict-rs

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mdict-rs

a simple web dictionary write in rust, base on mdx format dictionary file. it's at an early stage of development, now only support mdx version 2.0 with encrypted=2 or 0

usage

  1. put your mdx file in resources/mdx/en folder ando config src/config/mod.rs
  2. if your mdx file has separate css file, put it in resources/static/ folder
  3. run
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

License:Apache License 2.0


Languages

Language:Rust 43.4%Language:CSS 40.2%Language:JavaScript 14.6%Language:HTML 1.8%