├── .github
├── dependabot.yml
├── workflows-bak
│ ├── build-macos-x86_64.yaml
│ ├── build-windows.yaml
│ ├── codeql-analysis.yml
│ ├── node-ci.yml
│ ├── release-latest.yml
│ └── release-macos.yml
└── workflows
│ └── package-and-release.yaml
├── .gitignore
├── .prettierrc
├── .yarnclean
├── .yarnrc
├── CHANGELOG.md
├── LICENSE
├── Makefile
├── README.md
├── app.go
├── app_inner.go
├── build
├── README.md
├── appicon.png
├── assets
│ └── darwin
│ │ ├── appicon.icns
│ │ ├── appicon.png
│ │ ├── dmg_bg.png
│ │ ├── dmg_icon.icns
│ │ └── dmg_icon.png
├── darwin
│ ├── Info.dev.plist
│ └── Info.plist
└── windows
│ ├── icon.ico
│ ├── info.json
│ ├── installer
│ ├── project.nsi
│ └── wails_tools.nsh
│ └── wails.exe.manifest
├── docs
├── .gitignore
├── 404.html
├── CNAME
├── Gemfile
├── Gemfile.lock
├── LICENSE
├── README.md
├── _assets
│ ├── baidu_translate_config.md
│ ├── faq.md
│ ├── image-20230927112451745.png
│ ├── image-20230927112656769.png
│ ├── image-20230927113137569.png
│ ├── image-20230927113331495-5785613-5785617.png
│ ├── image-20230927113331495.png
│ ├── index.md
│ ├── license.md
│ ├── pic_add_dict_btn.jpg
│ ├── pic_add_dict_modal.jpg
│ ├── pic_dict_window.jpg
│ ├── pic_settings_window.jpg
│ ├── pic_translate_window.jpg
│ ├── pic_usage_step1.jpg
│ ├── pic_usage_step2.jpg
│ ├── select_and_use_dict.md
│ ├── terms_and_service.md
│ ├── v3-medict-app-index.png
│ ├── youdao_traslate_config.md
│ └── zov3hq.png
├── _config.yml
├── _includes
│ ├── head-custom-google-analytics.html
│ └── head-custom.html
├── _layouts
│ ├── default.html
│ ├── home.html
│ ├── page.html
│ └── post.html
├── _posts
│ └── 2023-09-24-welcome-to-jekyll.markdown
├── _sass
│ ├── jekyll-theme-modernist.scss
│ ├── modernist.scss
│ └── rouge-base16-dark.scss
├── _scripts
│ └── serve.sh
├── about.markdown
├── another-page.md
├── assets
│ ├── css
│ │ └── style.scss
│ ├── images
│ │ └── checker.png
│ └── js
│ │ ├── html5shiv.min.js
│ │ └── scale.fix.js
├── docs
│ ├── CODE_OF_CONDUCT.md
│ ├── CONTRIBUTING.md
│ └── SUPPORT.md
├── index.markdown
├── jekyll-theme-modernist.gemspec
├── script
│ ├── bootstrap
│ ├── cibuild
│ ├── release
│ └── validate-html
└── thumbnail.png
├── frontend
├── .gitignore
├── index.html
├── package.json
├── package.json.md5
├── pnpm-lock.yaml
├── src
│ ├── App.vue
│ ├── apis
│ │ ├── apis.ts
│ │ ├── config.ts
│ │ ├── dicts-api.ts
│ │ ├── model.ts
│ │ └── types.d.ts
│ ├── assets
│ │ ├── docs
│ │ │ ├── about.md
│ │ │ ├── faq.md
│ │ │ ├── images
│ │ │ │ ├── image-20230927112451745.png
│ │ │ │ ├── image-20230927112656769.png
│ │ │ │ ├── image-20230927113137569.png
│ │ │ │ ├── image-20230927113331495-5785613-5785617.png
│ │ │ │ ├── image-20230927113331495.png
│ │ │ │ └── zov3hq.png
│ │ │ ├── index.md
│ │ │ ├── license.md
│ │ │ ├── select_and_use_dict.md
│ │ │ └── terms_and_service.md
│ │ └── images
│ │ │ ├── docs
│ │ │ └── index.png
│ │ │ ├── logo-dark.png
│ │ │ └── logo.png
│ ├── components
│ │ ├── layout
│ │ │ ├── AppFooter.vue
│ │ │ ├── AppFunctions.vue
│ │ │ ├── AppHeader.vue
│ │ │ ├── AppMainContent.vue
│ │ │ ├── AppRightToolbar.vue
│ │ │ └── AppSidebar.vue
│ │ ├── lazy-iframe
│ │ │ └── index.vue
│ │ └── setting
│ │ │ └── SettingItem.vue
│ ├── main.js
│ ├── renderer.init.ts
│ ├── router
│ │ └── index.ts
│ ├── settings.ts
│ ├── store
│ │ ├── StoreDataType.ts
│ │ ├── dict
│ │ │ └── index.ts
│ │ └── ui
│ │ │ └── index.ts
│ ├── style
│ │ ├── photon
│ │ │ ├── bars.scss
│ │ │ ├── base.scss
│ │ │ ├── button-groups.scss
│ │ │ ├── buttons.scss
│ │ │ ├── docs.scss
│ │ │ ├── fonts
│ │ │ │ ├── photon-entypo.eot
│ │ │ │ ├── photon-entypo.svg
│ │ │ │ ├── photon-entypo.ttf
│ │ │ │ └── photon-entypo.woff
│ │ │ ├── forms.scss
│ │ │ ├── grid.scss
│ │ │ ├── icons.scss
│ │ │ ├── images.scss
│ │ │ ├── lists.scss
│ │ │ ├── mixins.scss
│ │ │ ├── navs.scss
│ │ │ ├── normalize.scss
│ │ │ ├── photon.scss
│ │ │ ├── tables.scss
│ │ │ ├── tabs.scss
│ │ │ ├── utilities.scss
│ │ │ └── variables.scss
│ │ ├── renderer.scss
│ │ └── variables.scss
│ ├── utils
│ │ ├── history-stack.ts
│ │ ├── index.ts
│ │ └── request.ts
│ ├── view
│ │ ├── about
│ │ │ └── index.vue
│ │ ├── debug
│ │ │ ├── DebugEditDict.vue
│ │ │ ├── DebugResourceSearch.vue
│ │ │ └── index.vue
│ │ ├── dict
│ │ │ └── index.vue
│ │ ├── docs
│ │ │ └── index.vue
│ │ ├── main
│ │ │ ├── MainContentFrame.vue
│ │ │ ├── MainDictsToolbar.vue
│ │ │ ├── MainFooter.vue
│ │ │ ├── MainFunctions.vue
│ │ │ ├── MainRightToolbar.vue
│ │ │ ├── MainSidebar.vue
│ │ │ └── index.vue
│ │ ├── plugins
│ │ │ └── index.vue
│ │ └── setting
│ │ │ ├── SettingDict.vue
│ │ │ ├── SettingPlugin.vue
│ │ │ ├── SettingSoftware.vue
│ │ │ ├── SettingTheme.vue
│ │ │ ├── SettingUpdate.vue
│ │ │ └── index.vue
│ └── vue-shim.d.ts
├── tsconfig.json
├── vite.config.js
├── wailsjs
│ ├── go
│ │ ├── main
│ │ │ ├── App.d.ts
│ │ │ └── App.js
│ │ └── models.ts
│ └── runtime
│ │ ├── package.json
│ │ ├── runtime.d.ts
│ │ └── runtime.js
└── yarn.lock
├── go.mod
├── go.sum
├── internal
├── config
│ ├── config.go
│ ├── config_test.go
│ ├── config_tmpl_darwin.go
│ ├── config_tmpl_linux.go
│ ├── config_tmpl_windows.go
│ ├── preset_dict.go
│ └── testdata
│ │ └── test.toml
├── entry
│ ├── app_loader.go
│ ├── app_loader_test.go
│ ├── app_preset.go
│ ├── app_preset_test.go
│ └── preset
│ │ ├── cc-cedict
│ │ ├── cc-cedict.css
│ │ ├── cc-cedict.mdd
│ │ ├── cc-cedict.mdx
│ │ └── cover.png
│ │ └── dictd-elements
│ │ ├── cover.png
│ │ ├── dictd-elements.dict.dz
│ │ ├── dictd-elements.idx
│ │ └── dictd-elements.ifo
├── libs
│ ├── bktree
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── _example
│ │ │ ├── hamming
│ │ │ │ └── main.go
│ │ │ └── levenshtein
│ │ │ │ └── main.go
│ │ ├── bktree.go
│ │ └── bktree_test.go
│ ├── go-adaptive-radix-tree
│ │ ├── .github
│ │ │ └── dependabot.yml
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── api.go
│ │ ├── consts.go
│ │ ├── doc.go
│ │ ├── examples
│ │ │ └── tree.go
│ │ ├── factory.go
│ │ ├── makefile
│ │ ├── node.go
│ │ ├── node_test.go
│ │ ├── test
│ │ │ └── assets
│ │ │ │ ├── hsk_words.txt
│ │ │ │ ├── uuid.txt
│ │ │ │ └── words.txt
│ │ ├── tree.go
│ │ ├── tree_dump.go
│ │ ├── tree_dump_test.go
│ │ ├── tree_test.go
│ │ ├── tree_traversal.go
│ │ └── utils.go
│ ├── go-mdict
│ │ ├── .gitignore
│ │ ├── mdict.go
│ │ ├── mdict_accessor.go
│ │ ├── mdict_base.go
│ │ ├── mdict_base_test.go
│ │ ├── mdict_def.go
│ │ ├── mdict_extend.go
│ │ ├── mdict_oale9_test.go
│ │ ├── mdict_record_range_tree.go
│ │ ├── mdict_record_range_tree_test.go
│ │ ├── mdict_test.go
│ │ ├── util.go
│ │ └── xml_dictionary.go
│ ├── go-patricia
│ │ ├── .gitignore
│ │ ├── AUTHORS
│ │ ├── LICENSE
│ │ ├── README.md
│ │ └── patricia
│ │ │ ├── children.go
│ │ │ ├── patricia.go
│ │ │ ├── patricia_dense_test.go
│ │ │ ├── patricia_sparse_test.go
│ │ │ └── patricia_test.go
│ └── go-stardict
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ └── stardict
│ │ ├── dict.go
│ │ ├── idx.go
│ │ ├── ifo.go
│ │ ├── stardict.go
│ │ ├── stardict_test.go
│ │ └── testdata
│ │ └── stardict
│ │ ├── eedic.pdb
│ │ ├── eedic.pdb.dict.dz
│ │ ├── eedic.pdb.idx
│ │ └── eedic.pdb.ifo
│ │ └── elements-2.4.2
│ │ ├── elements.dict.dz
│ │ ├── elements.idx
│ │ └── elements.ifo
├── static
│ ├── consts.go
│ ├── handler
│ │ ├── content_pipeline.go
│ │ ├── content_pipeline_test.go
│ │ ├── content_test.go
│ │ ├── handler.go
│ │ ├── handler_font.go
│ │ ├── handler_font_test.go
│ │ ├── replacer.go
│ │ ├── replacer_css.go
│ │ ├── replacer_css_test.go
│ │ ├── replacer_entry.go
│ │ ├── replacer_entry_test.go
│ │ ├── replacer_image.go
│ │ ├── replacer_image_test.go
│ │ ├── replacer_ini.go
│ │ ├── replacer_javascript.go
│ │ ├── replacer_javascript_test.go
│ │ ├── replacer_link.go
│ │ ├── replacer_sound.go
│ │ └── replacer_sound_test.go
│ └── tmpl
│ │ ├── dict_def_templ.go
│ │ └── dict_desc_templ.go
└── utils
│ ├── encoding_util.go
│ ├── encoding_util_test.go
│ ├── hashutil.go
│ ├── pathhome_darwin.go
│ ├── pathhome_linux.go
│ ├── pathhome_windows.go
│ └── pathutil.go
├── main.go
├── pkg
├── apis
│ ├── dicts_controller.go
│ ├── dicts_handler.go
│ └── server_api.go
├── backserver
│ ├── back_server.go
│ └── back_server_inner.go
├── model
│ ├── decoder.go
│ ├── dict_def.go
│ ├── dict_interface.go
│ └── response.go
└── service
│ ├── .gitignore
│ ├── dict_item.go
│ ├── dict_item_test.go
│ ├── dicts_service.go
│ ├── dicts_service_test.go
│ ├── log.go
│ ├── mdict
│ ├── leveldb-repo
│ │ ├── leveldb.go
│ │ └── log.go
│ ├── log.go
│ ├── mdict-idxer
│ │ ├── indexer.go
│ │ ├── leveldb_indexer.go
│ │ ├── leveldb_indexer_test.go
│ │ ├── log.go
│ │ ├── search_tree.go
│ │ ├── sqlite_indexer.go
│ │ ├── sqlite_indexer_test.go
│ │ └── testdata
│ │ │ ├── .gitignore
│ │ │ └── testleveldb
│ │ │ ├── 000026.ldb
│ │ │ ├── 000027.ldb
│ │ │ ├── 000030.ldb
│ │ │ ├── CURRENT
│ │ │ ├── CURRENT.bak
│ │ │ ├── LOCK
│ │ │ ├── LOG
│ │ │ └── MANIFEST-000032
│ ├── mdict_holder.go
│ ├── mdict_holder_test.go
│ ├── mdict_svc.go
│ └── mdict_svc_test.go
│ ├── stardict
│ ├── stardict_test.go
│ └── startdict.go
│ ├── support
│ ├── filewalker.go
│ ├── filewalker_test.go
│ └── testdata
│ │ └── dicts
│ │ ├── ccedit
│ │ ├── ccedit.dz
│ │ ├── ccedit.idx
│ │ └── ccedit.ifo
│ │ ├── mdict-type
│ │ ├── dict.license
│ │ ├── mdict.toml
│ │ ├── test.jpg
│ │ ├── test.mdd
│ │ └── test.mdx
│ │ ├── oale3
│ │ ├── assets
│ │ │ └── test.png
│ │ ├── dict.license
│ │ ├── fonts
│ │ │ └── test.ttf
│ │ ├── test.mdd
│ │ ├── test.mdx
│ │ └── test.png
│ │ └── startdict-type
│ │ └── stardict.toml
│ └── testdata
│ └── stardict
│ ├── cover.png
│ ├── eedic.pdb.dict.dz
│ ├── eedic.pdb.idx
│ └── eedic.pdb.ifo
└── wails.json
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: npm
4 | directory: "/"
5 | schedule:
6 | interval: weekly
7 | time: '11:00'
8 | open-pull-requests-limit: 30
9 | target-branch: develop
10 |
--------------------------------------------------------------------------------
/.github/workflows-bak/node-ci.yml:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright (C) 2023 Quan Chen Page not found :( The requested page could not be found. {{ site.description | default: site.github.project_tagline }} View the Project on GitHub {{ github_name }} {{ site.description | default: site.github.project_tagline }} View the Project on GitHub {{ github_name }} {{ site.description | default: site.github.project_tagline }} View the Project on GitHub {{ github_name }} {{ site.description | default: site.github.project_tagline }} View the Project on GitHub {{ github_name }}404
22 |
23 |
16 |
17 | ### 翻译界面
18 |
19 |
20 |
21 | ### 设置界面
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/docs/_assets/license.md:
--------------------------------------------------------------------------------
1 | # 软件开源协议信息
2 |
3 | ```
4 | Copyright 2019-2021 terasum (Chen Quan)
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7 |
8 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11 | ```
--------------------------------------------------------------------------------
/docs/_assets/pic_add_dict_btn.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/pic_add_dict_btn.jpg
--------------------------------------------------------------------------------
/docs/_assets/pic_add_dict_modal.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/pic_add_dict_modal.jpg
--------------------------------------------------------------------------------
/docs/_assets/pic_dict_window.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/pic_dict_window.jpg
--------------------------------------------------------------------------------
/docs/_assets/pic_settings_window.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/pic_settings_window.jpg
--------------------------------------------------------------------------------
/docs/_assets/pic_translate_window.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/pic_translate_window.jpg
--------------------------------------------------------------------------------
/docs/_assets/pic_usage_step1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/pic_usage_step1.jpg
--------------------------------------------------------------------------------
/docs/_assets/pic_usage_step2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/pic_usage_step2.jpg
--------------------------------------------------------------------------------
/docs/_assets/select_and_use_dict.md:
--------------------------------------------------------------------------------
1 | # 词典配置与使用说明
2 |
3 | ## 步骤1: 添加词典
4 |
5 | 1. 点击右上角设置
6 | 2. 点击下方 "+" 号
7 |
8 |
9 |
10 | 3. 在弹出框中填写词典信息
11 | 4. 选择词典文件
12 |
13 |
14 |
15 |
16 | **注意:** mdx文件所在的文件夹中的js/css/font文件均会被拷贝到缓存文件夹中,请把一个独立词典放在一个独立的文件夹中,并将相关资源放在一起。
17 |
18 | **注意:** mdx/mdd 本身不会被拷贝,删除之后,词典将无法找到该mdx文件
19 |
20 |
21 | ## 步骤 2: 查词
22 |
23 | 1. 选择词典并输入目标词(模糊)
24 |
25 |
26 |
27 | 2. 在左边栏选择你想要查的具体词汇, 如果该词汇和其他词汇同一个意思(即@@Link==) 则直接展示该同意义词汇
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/docs/_assets/terms_and_service.md:
--------------------------------------------------------------------------------
1 | # 免责与隐私保护声明
2 |
3 | 本免责及隐私保护声明(以下简称“隐私声明”或“本声明”)适用于软件 Medict (以下简称 "Medict" ) 在您阅读本声明后若不同意此声明中的任何条款,或对本声明存在质疑,请立刻停止使用本软件。若您已经开始或正在使用 Medict 软件,则表示您已阅读并同意本声明的所有条款之约定。
4 |
5 | 1. 您通过安装 Medict 软件并使用 Medict 软件提供的服务与功能即表示您已经同意与软件作者立本协议。软件作者可随时执行全权决定更改“条款”。如“条款”有任何变更,软件官方发布网站 (https://github.com/terasum/medict) 上刊载公告作为通知。经修订的“条款”一经在官方网站上公布后,立即自动生效。
6 |
7 | 2. 一切因使用 Medict 软件而引致之任何意外、疏忽、合约毁坏、诽谤、版权或知识产权侵犯及其所造成的损失(包括在非官方站点下载Medict 软件而感染电脑病毒),软件作者概不负责,亦不承担任何法律责任。
8 |
9 | 3. 用户对使用 Medict 软件自行承担风险,我们不做任何形式的保证, 因网络状况、通讯线路等任何技术原因而导致用户不能正常升级更新,作者也不承担任何法律责任。
10 |
11 | 4. Medict 软件尊重并保护所有用户的个人隐私权,不会窃取任何用户计算机中的信息, 亦不会将用户文件上载至互联网服务器。
12 |
13 | 5. Medict 以 MIT 协议发布, 软件著作权属软件作者所有。
--------------------------------------------------------------------------------
/docs/_assets/v3-medict-app-index.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/v3-medict-app-index.png
--------------------------------------------------------------------------------
/docs/_assets/youdao_traslate_config.md:
--------------------------------------------------------------------------------
1 | # 有道翻译 API申请与配置
--------------------------------------------------------------------------------
/docs/_assets/zov3hq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/terasum/medict/138f5198ef0034909f9872ce580bb4fddf31fca9/docs/_assets/zov3hq.png
--------------------------------------------------------------------------------
/docs/_includes/head-custom-google-analytics.html:
--------------------------------------------------------------------------------
1 | {% if site.google_analytics %}
2 |
10 | {% endif %}
11 |
--------------------------------------------------------------------------------
/docs/_includes/head-custom.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {% include head-custom-google-analytics.html %}
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/docs/_layouts/default.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {% seo %}
8 |
9 |
10 |
11 |
12 |
13 |
16 |
17 | {% include head-custom.html %}
18 |
19 |
20 |
{{ site.title | default: site.github.repository_name }}
23 | {% if site.description or site.github.project_tagline %}
24 |
28 | {% if site.show_downloads %}
29 |
35 | {{ site.title | default: site.github.repository_name }}
23 | {% if site.description or site.github.project_tagline %}
24 |
28 | {% if site.show_downloads %}
29 |
35 | {{ site.title | default: site.github.repository_name }}
23 | {% if site.description or site.github.project_tagline %}
24 |
28 | {% if site.show_downloads %}
29 |
34 | {{ site.title | default: site.github.repository_name }}
23 | {% if site.description or site.github.project_tagline %}
24 |
28 | {% if site.show_downloads %}
29 |
34 |