/flask-mdict

Flask Mdict Server. Query word online with MDICT dictionary

Primary LanguageJavaScriptMIT LicenseMIT

Flask-MDict

Note

Follow MIT and 996.ICU license.

Screenshot

mdict_screenshot2.png

mdict_screenshot.png

Usage

Install

git clone https://github.com/liuyug/flask-mdict.git

cd flask-mdict
pip3 install -r requirements.txt

mkdir content
# copy MDICT dictionary into content directory
cp <mdict> content/

# install word frequency database from ecdict csv
ecdict.sh
# or copy current ecdict_wfd.db to your content directory
# cp ecdict_wfd.db content/

Run

flask run

Browser

firefox http://127.0.0.1:5000

Note

  • MDict original query code come from mdx-server
  • Python3

Donate 捐赠

请捐赠者在 issue 里留下捐赠信息,如交易流水号等,否则无法在支付系统里查找。再次感谢。

alipay_pay.jpg

wx_pay.png