# 基于AI拼凑的WEB词典 - MdictBrowser

**URL:** <https://forum.freemdict.com/t/topic/45044>\
**Category:** 软件经验交流展望\
**Tags:** 技术\
**Created:** [2026 年9 月 12 日 07:32 UTC](https://forum.freemdict.com/t/topic/45044 "2026-09-12T07:32:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

作者： ![demo](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@demo](https://forum.freemdict.com/u/demo)\
发布日期： [2026 年9 月 12 日 07:32 UTC](https://forum.freemdict.com/t/topic/45044/1 "2026-09-12T07:32:35Z")

</div>

分享一个基于AI拼凑出来的WEB词典应用 - MdictBrowser，支持 mdx mobi epub 等词典格式。

下载：[MDictBrowser.7z - FreeMdict Cloud](https://cloud.freemdict.com/index.php/s/tL7gpegy9K89gnn)  
说明：此词典应用为学习AI的副产物，不保证更新频率与稳定性，有兴趣的可以试着玩玩。当前仅支持 windows 系统，后面会考虑支持 Linux 系统。  
试用方法：下载链接中的压缩包后解压，将词典复制到 dicts 目录，再运行 `mdict.exe server` ，最后浏览器访问 `http://127.0.0.1:9081` 即可访问。更多命令行参数，可以查看下面的命令相关说明。

### 文件说明

- mdict.exe 词典服务器
- data 运行时数据文件
- dicts 词典文件目录
- webui 词典前端界面
- db 数据库，运行时自动创建
- index 索引数据
- log 应用日志

### 支持的命令功能：

```auto
MDict dictionary file (.mdx/.mdd) tool
Usage:
mdict [OPTION...] command

Commands:
  info Show dictionary metadata and integrity (default)
  extract Extract dictionary contents to source files (all formats)
  meta Show dictionary header metadata
  pack Pack source file(s) into .mdx/.mdd
  genkey Generate a registration key file
  query Look up a single word/entry
  suggest Prefix suggestion search
  search Full-text content/key search
  fuzzy Fuzzy (BK-Tree) search
  fts Full-text search (Xapian index)
  test Verify dictionary file integrity (all formats)
  txt-db Convert a text source file to SQLite database
  db-txt Convert a SQLite database back to text source
  save Save entries or resources from a dictionary
  build-index Build or extract the Xapian FTS index for a dictionary
  hot-queries Show top search queries from a search log file
  co-occurrence Show query co-occurrence pairs from a search log file
  search-log-stats Show aggregate statistics from a search log file
  server Start the HTTP web server

 General options:
  -h, --help print usage
  -V, --version print version
  -q, --quiet suppress non-essential output
      --logger arg path to runtime log file (plog); when omitted, writes to <exe_dir>/log/run.log; pass an empty string to disable (default: "")
      --logger-level arg runtime log level: none, fatal, error, warning, info, debug, verbose (default: info) (default: info)

```

### 查看命令参数选项，如：

```auto
mdict server -h
MDict web server
Usage:
mdict server [OPTION...]

 Server options:
  -d, --dict-dir arg Directory containing .mdx files (default: .)
  -s, --static-dir arg Static files directory (default: "")
      --db-dir arg Database directory for *.db files (users/audit/favorites/nav-sites/builtin). Empty = resolve next to static_dir as <root>/db (default: "")
  -p, --port arg Server port (default: 9081)
  -h, --host arg Bind host (default: 0.0.0.0)
      --jieba-dict arg Path to cppjieba dict directory (default: "")
      --pinyin-dict arg Path to custom pinyin file(s), '|'-separated for multiple (default: data/pinyin/pinyin.txt|pinyin-phrase.txt) (default: "")
      --friso-dict arg Path to friso data directory (containing friso.ini & dict/) for Chinese tokenization (default: "")
      --preset-dict arg Force copy preset dictionaries from directory (default: "")
      --index-dir arg Directory to store dictionary index files (.idx / FTS); when omitted, writes to <exe_dir>/index (default: "")
      --access-log arg Path to HTTP access log file (plog); one line per request; when omitted, writes to <exe_dir>/log/access.log; pass an empty string to disable (default: "")

 General options:
      --help print server usage
      --logger arg path to runtime log file (plog); when omitted, writes to <exe_dir>/log/run.log; pass an empty string to disable (default: "")
      --logger-level arg runtime log level: none, fatal, error, warning, info, debug, verbose (default: info) (default: info)

```

### 运行时界面截图：

 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/2/f/2ff92bb7fd0f3f22559449d61a12bb7c91a4726f.png)

 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/1/c/1c7920d0a0eff309871e18ab8404eaed09b67ed6.png)

 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/d/5/d5a85204d11fd91ba18ef025581e28ebd1b40a74.png)

 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/5/9/597c6ae8727f401a981b17156f60e256bcc02ad7.png)

 ![image](https://forumcdn.freemdict.com/uploads/default/original/3X/4/9/49470ba041f964a6eabf91dc877edb3c0905ca1b.png)

---

<div class="post-metadata">

作者： ![knetxp](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@knetxp](https://forum.freemdict.com/u/knetxp)\
发布日期： [2026 年9 月 12 日 09:33 UTC](https://forum.freemdict.com/t/topic/45044/2 "2026-09-12T09:33:39Z")

</div>

有没有源码？可以自己在电脑上搭建这个网页应用吗？  
上面这个链接打开后直接注册还是用本站账号？

---

<div class="post-metadata">

作者： ![laizn](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/laizn/32/91966_2.png) [@laizn](https://forum.freemdict.com/u/laizn)\
发布日期： [2026 年9 月 12 日 20:40 UTC](https://forum.freemdict.com/t/topic/45044/3 "2026-09-12T20:40:51Z")

</div>

不错诶，有可能把本站的词典全都下载下来部署到公网吗？

---

<div class="post-metadata">

作者： ![demo](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@demo](https://forum.freemdict.com/u/demo)\
发布日期： [2026 年9 月 13 日 00:32 UTC](https://forum.freemdict.com/t/topic/45044/4 "2026-09-13T00:32:14Z")

</div>

可以在自己电脑上搭建这个网页应用，下载后按压缩包中的readme.md说明操作即可。上面链接是论坛的网盘文件分享，可以试一下直接用论坛账号登录。

---

<div class="post-metadata">

作者： ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
发布日期： [2026 年9 月 13 日 01:23 UTC](https://forum.freemdict.com/t/topic/45044/5 "2026-09-13T01:23:51Z")

</div>

楼主你需要使用分享链接，上面那个链接别人是打不开的。

---

<div class="post-metadata">

作者： ![demo](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/d/e47774/32.png) [@demo](https://forum.freemdict.com/u/demo)\
发布日期： [2026 年9 月 13 日 02:35 UTC](https://forum.freemdict.com/t/topic/45044/6 "2026-09-13T02:35:10Z")

</div>

谢谢提醒 ，己修正。

---

<div class="post-metadata">

作者： ![knetxp](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@knetxp](https://forum.freemdict.com/u/knetxp)\
发布日期： [2026 年9 月 13 日 03:03 UTC](https://forum.freemdict.com/t/topic/45044/7 "2026-09-13T03:03:39Z")

</div>

打开链接之后没有任何东西

---

<div class="post-metadata">

作者： ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
发布日期： [2026 年9 月 13 日 03:06 UTC](https://forum.freemdict.com/t/topic/45044/8 "2026-09-13T03:06:50Z")

</div>

![image](https://forumcdn.freemdict.com/uploads/default/original/3X/3/1/3193c7bf0327e39e4532dfc9f986d37ce0554b20.png)

试试代理或者，换个浏览器？

---

<div class="post-metadata">

作者： ![knetxp](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/k/e47774/32.png) [@knetxp](https://forum.freemdict.com/u/knetxp)\
发布日期： [2026 年9 月 13 日 08:40 UTC](https://forum.freemdict.com/t/topic/45044/9 "2026-09-13T08:40:11Z")

</div>

看起来是windows版本，不适合linux

---

<div class="post-metadata">

作者： ![xuhuaq](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/x/eada6e/32.png) [@xuhuaq](https://forum.freemdict.com/u/xuhuaq)\
发布日期： [2026 年9 月 14 日 01:55 UTC](https://forum.freemdict.com/t/topic/45044/10 "2026-09-14T01:55:45Z")

</div>

感谢制作分享！期待linux、docker版
