amos535 downloadsTranslate selected text into your language. Supports Bing Dictionary, Youdao, and MyMemory with built-in pronunciation.
A simple and efficient text translation plugin for Obsidian that supports multiple translation services, trigger modes, and automatic pronunciation.
git clone <repo-url>
cd obsidian-fingertip-translation
npm install
npm run dev
npm run build to compilemain.js, styles.css, and manifest.json to your vault plugin folder:VaultFolder/.obsidian/plugins/fingertip-translation/
| Option | Description | Default |
|---|---|---|
| Translation Service | Bing Dictionary / Youdao / MyMemory | Youdao |
| Trigger Mode | Ctrl+Select / Direct Select | Ctrl+Select |
| Pronunciation Source | Youdao Audio / Browser TTS | Youdao Audio |
| Auto Pronunciation | Auto play after translation | Off |
| Pronunciation Accent | US English / UK English | US English |
| Show Phonetic | Display phonetic symbols | On |
| Phonetic Mode | Single accent / Both US and UK | Both |
| Show Category | Display CET-4, CET-6, etc. | On |
requestUrl() (bypasses CORS)src/
├── main.ts # Plugin main entry
├── settings.ts # Settings interface
├── tts.ts # Pronunciation (Web Speech API)
├── translator-mymemory.ts # MyMemory Translation API
├── translator-bing.ts # Bing Dictionary
└── translator-youdao-integrated.ts # Youdao Dictionary (Integrated Plus + Webpage)
styles.css # Popover styles
manifest.json # Plugin manifest
| Service | Free Quota | API Key | Dictionary Format | Notes |
|---|---|---|---|---|
| Bing Dictionary | Unlimited | Not needed | Part of speech | Recommended |
| Youdao Dictionary | Unlimited | Not needed | Collins/Exam/Category | Auto fallback |
| MyMemory | 1000/day | Not needed | None | - |
Youdao Features:
# Install dependencies
npm install
# Development mode (watch for changes and auto-compile)
npm run dev
# Production build
npm run build
BSD-0