MyDict · Portfolio Demo

Dictionary preview

Try the lookup UI with sample entries; full MDX libraries and the native engine are not hosted on this server.

Why a preview instead of the full online dictionary?

The real app depends on local .mdx / .mdd files (often hundreds of MB to several GB) and the native mdictcc engine—too heavy for this portfolio VPS. This page demonstrates the interaction with built-in sample entries; for the full experience, clone the repo and run it locally with your own dictionary folder.

Screen recording of MyDict with full local dictionaries
Local full build (multi-dictionary MDX); this site offers a lightweight interactive preview plus sample entries.

Technical highlights (matches the repo)

  • Next.js Route Handlers + koffi → mdictcc
  • Dictionary handle LRU + byte-capped caches
  • Path-style /api/resource/<dictId>/…
  • HTML sanitization, MDD assets & disk fallback

Run locally

git clone https://github.com/Xudage6688/mydict
cd mydict
# Build mdictcc; place .mdx/.mdd under dicts/
npm install && npm run dev
Open GitHub repository →