MCPcopy Index your code
hub / github.com/busiyiworld/maimemo-export

github.com/busiyiworld/maimemo-export @2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.0 ↗ · + Follow
58 symbols 166 edges 36 files 1 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

[!IMPORTANT] 中文翻译并非导出自墨墨背单词,而是使用 ECDICT 的数据,无法做到与墨墨背单词一致。

用于导出墨墨背单词的词库,并生成适用于 List 背单词,不背单词,欧陆词典等的自定义词库。

下载已导出的词库

仓库内已经导出墨墨背单词所有本地词库,包括联网更新的词库,但不包括云词库,多达上千种词库。

预览+下载:词库列表

使用

[!NOTE] 需要安装 Node v20 及以上。只在 macOS 上测试。 获取最新数据库必须使用 Android 手机,并且 Root,小白勿试。

git clone https://github.com/ourongxing/maimemo-export.git
cd maimemo-export
corepack enable
pnpm i

获取数据库

  1. 获取手机上的数据库文件,连接好手机,打开 USB 调试,命令行输入 shell pnpm adb

  2. 如果需要单词中文翻译,请下载 skywind3000/ECDICT-ultimate 词典,解压得到 ultimate.db,重命名为 ecdict_ultimate.db ,放入 database

启动 WebUI

pnpm dev

打开:http://localhost:3000

Acknowledgements

  1. 导出方法来自于 ~~怎么把墨墨背单词里的词库导出来? - 你说什么的回答~~
  2. 词典来自于 skywind3000/ECDICT-ultimate
  3. 词库来自于 墨墨背单词

License

[!CAUTION] 仅用于学习,禁止用于商业用途。词库版权归 墨墨背单词 所有。

MIT © ourongxing

Extension points exported contracts — how you extend this code

Props (Interface)
(no doc)
src/get.ts
FilterFns (Interface)
(no doc)
app/components/WordTable.tsx
DatabaseStatus (Interface)
(no doc)
shared/types.ts
PreviewLib (Interface)
(no doc)
shared/types.ts
Library (Interface)
(no doc)
shared/types.ts
Word (Interface)
(no doc)
shared/types.ts
ExportState (Interface)
(no doc)
shared/types.ts

Core symbols most depended-on inside this repo

c
called by 7
src/db.ts
checkDatabases
called by 6
src/db.ts
transform
called by 4
src/transform.ts
r
called by 3
src/db.ts
getLibs
called by 3
src/get.ts
genDownloadURL
called by 3
scripts/genDoc.ts
exportLib
called by 2
src/export.ts
getLibWords
called by 2
src/get.ts

Shape

Function 46
Interface 12

Languages

TypeScript100%

Modules by API surface

shared/types.ts10 symbols
app/components/Common.tsx6 symbols
ws.ts5 symbols
src/get.ts5 symbols
src/db.ts5 symbols
app/hooks/useDark.ts3 symbols
app/components/WordTable.tsx3 symbols
shared/utils.ts2 symbols
scripts/genDoc.ts2 symbols
app/components/ExportAction.tsx2 symbols
app/atom.ts2 symbols
src/translate.ts1 symbols

For agents

$ claude mcp add maimemo-export \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page