Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 3.66 KB

File metadata and controls

80 lines (56 loc) · 3.66 KB

YomiRuby (हिन्दी, 🇮🇳)

YomiRuby Promo

Chrome Web Store

परिचय

YomiRuby एक production-ready Manifest V3 Chrome extension है, जो जापानी kanji पर furigana जोड़ने के लिए HTML ruby tags (<ruby>, <rt>, <rp>) का उपयोग करता है।

मुख्य विशेषताएँ

  • वाक्य और पैराग्राफ आधारित annotation।
  • प्रोग्रेस UI, cancel और restore सपोर्ट।
  • Yahoo API quota के लिए throttle, retry और backoff।
  • Settings पेज से API key test।
  • API key न होने पर demo mode।
  • लेआउट टूटने से बचाने के लिए conservative DOM updates।

Quick Start

  1. इस repository को clone करें।
  2. chrome://extensions खोलें।
  3. Developer mode चालू करें।
  4. Load unpacked क्लिक करके यह folder चुनें।
  5. Settings में API key डालें, Test API Key और Save Settings क्लिक करें।
  6. जापानी पेज खोलें और Run Annotation Now दबाएँ।

API Key Setup

Architecture

Component Responsibility
background.js API calls, pacing/retry, job state
content.js DOM traversal, ruby injection, progress/cancel/restore
popup.* user controls
options.* API key input, validation, test, save
utils/* text and DOM helper utilities

Permissions

Permission उपयोग
storage API key, settings, temporary status store
tabs active tab पर commands भेजना
scripting content scripts inject करना
<all_urls> सामान्य वेबसाइटों पर annotation
https://jlp.yahooapis.jp/* Yahoo API request

Privacy और Security

  • पूरी policy: PRIVACY_POLICY.md
  • API key user प्रदान करता है; hardcoded नहीं है।
  • Text केवल annotation run होने पर Yahoo API को भेजा जाता है।
  • YomiRuby का कोई data-collection backend नहीं है।

Limitations

  • Furigana alignment best effort है और API tokenization पर निर्भर करता है।
  • Dynamic pages, shadow DOM, canvas text पर partial coverage हो सकता है।
  • बहुत बड़े पेज पर प्रोसेस धीमा हो सकता है।

License

Unlicense. देखें LICENSE