liuyug / flask-mdict

Flask Mdict Server. Query word online with MDICT dictionary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 捐赠

alipay_pay.jpg

wx_pay.png

About

Flask Mdict Server. Query word online with MDICT dictionary

License:MIT License


Languages

Language:JavaScript 56.2%Language:CSS 21.4%Language:Python 20.8%Language:HTML 1.5%Language:Shell 0.1%