GithubHelp home page GithubHelp logo

xtonly / medict Goto Github PK

View Code? Open in Web Editor NEW

This project forked from terasum/medict

0.0 0.0 0.0 23.5 MB

medict a cross platform dictionary application,support mdict (*.mdx/*.mdd) dictionary format

License: MIT License

JavaScript 5.38% Vue 45.40% SCSS 0.28% TypeScript 35.16% HTML 0.36% CSS 13.41%

medict's Introduction

Medict

NodeCI GitHub release license

Medict 介绍

Medict 是一个跨平台的词典 APP, 主要支持 *.mdx/*.mdd 词典格式, 目前支持 v1.x 和 v2.0 格式的词典。

下载与更新

目前 Medict 正在紧张开发阶段,版本为自动打包滚动发布,请自行到 https://github.com/terasum/medict/releases 页面寻找最新开发版本, 所有版本均有打包日期,选择最新版本即可。

界面概览

软件目前包括 “词典”,“翻译”,“插件”,“设置” 四个界面,其中“插件”目前尚在开发当中。

词典界面

词典界面

翻译界面

翻译界面

设置界面

设置界面

下载

目前Medict正在紧张开发阶段,版本为自动打包滚动发布,请自行到 release 页面寻找最新开发版本, 所有版本均有打包日期,选择最新版本即可。

使用步骤

步骤1: 添加词典

  1. 点击右上角设置
  2. 点击下方 "+" 号
pic_add_dict_btn.jpg
  1. 在弹出框中填写词典信息
  2. 选择词典文件
pic_add_dict_modal.jpg

注意: mdx文件所在的文件夹中的js/css/font文件均会被拷贝到缓存文件夹中,请把一个独立词典放在一个独立的文件夹中,并将相关资源放在一起。

注意: mdx/mdd 本身不会被拷贝,删除之后,词典将无法找到该mdx文件

步骤 2: 查词

  1. 选择词典并输入目标词(模糊)
pic_usage_step1.jpg
  1. 在左边栏选择你想要查的具体词汇, 如果该词汇和其他词汇同一个意思(即@@Link==) 则直接展示该同意义词汇
pic_usage_step2.jpg

Q&A

发音问题

目前 oale8 词典这种内嵌发音按钮的,将音频资源嵌入在mdd文件中的词典是可以支持发音的,但是目前采用的是js替换的方式完成,不一定适用于所有词典,需要case by case 调试

跳转问题

目前有两种跳转:

  1. @@Link 的跳转,自动跳转,但是如果出现跳转环路,会停止跳转,直接展示 @@Link==
  2. 内部跳转即 <a href="entry://"> 的方式,如果entry中间是完整词条,可以支持跳转,如果是特殊词条,目前还不支持

Call for help

目前 Medict 正在开发当中,需要您的帮助!

目前希望得到的帮助:

  1. UI 设计 / Logo 设计
  2. e2e 测试框架集成
  3. 词典测试
  4. 词典内容安全测试

特性列表

  • APP 新 LOGO
  • 查词建议 suggest list
  • mdx 查词结果展示
  • mdd 资源加载
  • mdd 音频播放(mp3/ogg)
  • entry:// 词汇跳转
  • @@@LINK= 词汇重定向
    • 存在部分词典适配问题
  • mdd/mdx 词典选择配置
    • mdd 可选配置
  • 查词历史导航(</>)
  • 功能 tab 页跳转
  • 多词典同时查询
  • 全文检索^1
  • 有道等在线词库增强
  • 翻译功能^2
  • 插件功能
    • 词典扩展功能栏
    • 词频展示插件
    • 生词本记录插件
    • 导出anki卡片插件

开发说明

克隆代码

git clone https://github.com/terasum/medict.git

开发模式运行

cd medict
yarn install
yarn start

Medict is made by terasum and xing with ❤️

medict's People

Contributors

terasum avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.