Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 3.72 KB

File metadata and controls

80 lines (56 loc) · 3.72 KB

YomiRuby (नेपाली, 🇳🇵)

YomiRuby Promo

Chrome Web Store

परिचय

YomiRuby एक production-ready Manifest V3 Chrome extension हो, जसले वेब पेजमा जापानी kanji मा furigana थप्न HTML ruby tags (<ruby>, <rt>, <rp>) प्रयोग गर्छ।

मुख्य विशेषताहरू

  • वाक्य र अनुच्छेद आधारित annotation।
  • progress UI, cancel र restore सुविधा।
  • Yahoo API quota का लागि throttle, retry, backoff।
  • Settings पेजबाट API key test।
  • API key नभए demo mode।
  • layout बिग्रिन नदिन conservative DOM updates।

छिटो सुरु गर्ने तरिका

  1. यो repository clone गर्नुहोस्।
  2. chrome://extensions खोल्नुहोस्।
  3. Developer mode चालू गर्नुहोस्।
  4. Load unpacked थिचेर यो folder चयन गर्नुहोस्।
  5. Settings मा API key हाल्नुहोस्, Test API KeySave Settings गर्नुहोस्।
  6. जापानी पेज खोल्नुहोस् र Run Annotation Now थिच्नुहोस्।

API Key सेटअप

Architecture

Component Responsibility
background.js API call, 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/DOM helper utilities

Permissions

Permission प्रयोग
storage API key, settings, temporary status store
tabs active tab मा command पठाउन
scripting content scripts inject गर्न
<all_urls> साधारण वेबसाइट annotate गर्न
https://jlp.yahooapis.jp/* Yahoo API call

Privacy र Security

  • पूर्ण policy: PRIVACY_POLICY.md
  • API key प्रयोगकर्ताले दिन्छ; hardcoded छैन।
  • text annotation चल्दा मात्र Yahoo API मा पठाइन्छ।
  • YomiRuby ले user data store गर्ने backend चलाउँदैन।

Limitations

  • furigana alignment best effort हो र API tokenization मा निर्भर छ।
  • dynamic pages, shadow DOM, canvas text मा आंशिक समर्थन हुन सक्छ।
  • धेरै ठूलो पेजमा प्रक्रिया ढिलो हुन सक्छ।

License

Unlicense. हेर्नुहोस् LICENSE