{"repo":"g0v/moedict-webkit","free":true,"listed":false,"github":"https://github.com/g0v/moedict-webkit","clone":"git clone https://github.com/g0v/moedict-webkit.git","description":"萌典網站","language":"Objective-C","stars":651,"topics":["g0v","moedict","cordova","nodejs"],"license":null,"category":"dev-tools","readme_excerpt":"⚠️ Living frontend ( main ) This main branch rebuilds the static frontend for . Packs are not built here. The archived 2013 dump plus later Dependabot merges stay on master — do not merge dependency PRs there. is served from this repo's gh-pages branch — do not archive or rename the GitHub repository. Pack generation lives in g0v/moedict-process ( bun run pack ; format spec in its docs/pack-format-contract.md ). Search/pinyin indexes and R2 uploads live in g0v/moedict.tw . 這是舊版 的前端重建分支。封存 dump 在 master 。 新版網站 的全端專案位於：https://github.com/g0v/moedict.tw 2026-07-10 起，本 repo 的 pack 產生工具鏈（ json2prefix.ls 、 autolink.ls 、 worker.ls 、 link2pack.pl 、 special2pack.pl 、 sort-json.pl 、 cat2special.ls 、 twblg index.py 、 build-pinyin-lookup.pl 、 translation-data/ .py ）與 ZappaJS 伺服器（ server.ls ）已退役； Python 2 與 HFS+ 檔案系統的需求隨之解除。字典資料改由 g0v/moedict-process 重新產生後同步至 gh-pages 與 R2。 需求 Node.js（前端建置：gulp / webpack / LiveScript） 本機運行 API 說明 首先請注意，萌典 API 必須去詢問 https://www.moedict.tw/ ，因為這個網址才有開 CORS。不要去訪問 http://moedict.org/ ，會噴 No 'Access-Control-Allow-Origin' header 的錯誤。 API 的原始資料，請參考連結，本段落的說明是參考連結整理後並加上範例。 目前 API 已有 7 個端點，分別是 /a/, /t/, /h/, /c/, /raw/, /uni/, /pua/ 1. /raw/ 原始 json 檔，Big5 區之外的字以造字碼 {[abcd]} 表示。 範例： https://www.moedict.tw/raw/%E8%90%8C 2. /uni/ 將原始 json 檔，Big5 區之外的字轉成相應的 Unicode 字元表示。 範例： https://www.moedict.tw/uni/%E8%90%8C 3. /pua/ 與 /uni/ 相同，已使用 Unicode 字元，但動態組字改用 @medicalwei 的造字替代。 以「淘漉」為例，內容有一字在 raw 是 {[9ad7]}，在 uni 是 ⿰扌層，在 pua 是 U+F9AD7。 若要顯示 PUA，必須引用萌典字型 woff 或 ttf。 範例： http","default_branch":null,"files":null,"tree":[],"storefront":"/r/g0v","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/g0v/moedict-webkit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}