Skip to content
프로젝트

소개

영화와 TV 프로그램을 시청하며 언어를 학습할 수 있는 브라우저 확장 프로그램

학습 및 교육

이 수치를 측정하는 방법

What you can do

  • Show all available audio tracks and subtitles on Netflix regardless of region.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Learn languages with fun 🎉

Browser extension to learn languages by watching movies and TV shows.

Installation

The extension supports Chrome and Chrome-based browsers. It should also work in other browsers that have WebExtensions API support, but it hasn't been tested yet.

Release version available on Chrome Web Store

chrome store

Build

  1. Install node 20+
  2. Clone repo git clone [email protected]:Nitrino/easysubs.git
  3. Go to folder and install dependencies cd easysubs && pnpm i
  4. Build extension pnpm build

Playground and tests

pnpm playground opens http://localhost:5180: a local video player with sample subtitles that runs the extension code from src/ with hot reload, so features can be tried without building the extension or opening a streaming service. The Inspector window switches between live translation services and an offline mock, loads your own video and subtitle files, and logs every message sent to the background script.

Its Screenshot section makes marketing images with a transparent background: pick a size (player only, Chrome Web Store, marquee, website, social), a window or full-bleed frame, the scale and whether to show the player controls, then press Capture or ⌥S. ⌥S keeps a hovered word's translation open. The dev server renders the page in headless Chromium at the exact size and saves the PNG to playground/screenshots/.

For screenshots on real footage, pnpm playground:movies downloads the open movie Sprite Fright with English, Russian, Spanish and German subtitles; pick it in the Inspector's Video menu. It's licensed CC BY 4.0: credit "Sprite Fright © Blender Studio, CC BY 4.0" next to published images.

The offline mock translates the playground's subtitles from playground/fixtures/translations (every direction between English, Russian, Spanish and German), so screenshots and tests show real translations without network access. After subtitles change, pnpm playground:translations --write-missing lists the words and lines to translate.

pnpm test:e2e runs the Playwright tests from e2e/ against the playground (offline mock, no build needed); pnpm test:e2e:ui opens them in Playwright's UI mode. Run pnpm exec playwright install chromium once beforehand. pnpm test runs the Vitest unit tests of the models, utils, learning services and background script. See TESTING.md for both suites.

Manual install

  1. Download and unzip latest version
  2. Open extensions page in browser:
    • For Chrome: chrome://extensions/
    • For Yandex browser: browser://tune/
  3. Turn on developer mode (for all except Yandex browser)
  4. Load unpacked extension:
    • For Chrome and Opera: Click to Load unpacked button and select folder
    • For Firefox: Click to Load temporary Add-on... button and select folder
    • For Yandex browser: Drag and drop folder to extensions page

Features

Integration with multiple video services

The list of services will expand at the request of users.
To use the plugin, you must have a subscription to the desired service.

Now supported:

Word and full subtitle translation

Simply move the cursor over the word you want to translate. The video will automatically pause and resume when you move the cursor away from the subtitles.
In the translation pop-up for the word, you can see alternative translations and how often they are used. Click the subtitles to translate the entire phrase.

word translation

Export words to learning services

The list of services will be extended in response to user requests.

Now supported:

To export, you'll need to be logged in to the service you want to use (make sure it's the same browser). Then select the service you want to use in the extension settings.

A ➕(plus) icon will then appear next to the words in the translation, and clicking on it will export the word to the selected service.

word translation

Rewind to previous and next subtitle

Rewind to the previous sentence by pressing ⬅️ (left arrow).
Rewind to the next sentence by pressing ➡️ (right arrow). Repeat the current subtitle ⬇ (down arrow).

Rewind only works if the next/previous sentence is less than 5 seconds apart from the current sentence. Otherwise it'll rewinds 5 seconds.
To force rewinding to the next/previous sentence use alt (option for macOS) + arrow button.

word translation

Subtitle progress bar

There is a subtitle progress bar at the bottom of the player to help you navigate between subtitles.
Click the progress bar to rewind the video to the desired point.

word translation

Subtitle settings and custom subtitles

The extension allows you to customise the appearance, position and delay of subtitles.

If the subtitles are out of sync, press G to show them earlier or H to show them later by 0.25 seconds. Hold Shift to move them by a whole second.

You can also upload your own subtitles if they are not available on the video service. SRT`` and VTT`` formats are supported.

word translation

Additional features

  • Show all available audio tracks and subtitles on Netflix regardless of region.

Contributing

We are open to community help.
To report a bug or feature offer, create issue and describe the question in detail.

You can also implement the desired feature and send a pull request. We recommend discussing the feature in issues tracker before implementation. This will help reduce your time.

관련 프로젝트 살펴보기

불러오는 중…