dkitle - 字幕同期

YouTube/Bilibili の動画字幕を dkitle デスクトップオーバーレイに同期

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
无名氏(雲水)
1日のインストール数
2
累計インストール数
4
評価
0 0 0
バージョン
1.3.0
作成日
2026/03/08
更新日
2026/03/09
大きさ
31.2KB
ライセンス
MIT
対象サイト

dkitle

Sync video subtitles from your browser to an always-on-top desktop overlay window.

Supported Sites: YouTube, Bilibili

Supported Platforms: Windows, Linux (X11/Wayland), macOS

Screenshots

Main Window Chrome Extension
YouTube Subtitles Bilibili Video Bilibili Subtitles

Usage

1. Start the Desktop App

Download the latest release from GitHub Releases, or build from source (see below).

Once started, the app will:

  • Open a WebSocket server at ws://localhost:9877/ws
  • Show a manager window listing all subtitle sources

2. Install the Userscript

  1. Install Tampermonkey or Violentmonkey in your browser
  2. Click here to install dkitle.user.js
  3. Confirm the installation in your userscript manager

Works across all browsers (Chrome, Firefox, Edge, Safari) with no store review required.

3. Use

  1. Make sure dkitle-app is running
  2. Open a YouTube or Bilibili video with subtitles enabled
  3. Subtitles will automatically sync to the desktop overlay window
  4. The subtitle window is freely resizable — font size adapts automatically to the window dimensions

Window Manager Configuration (Linux)

Window Identifiers

Window app_id (Wayland) Description
Manager window org.eu.ywxt.dkitle Main window, lists subtitle sources
Subtitle window org.eu.ywxt.dkitle.subtitle Always-on-top subtitle overlay

Wayland Tiling Window Managers

On Wayland tiling window managers (e.g., Sway, Hyprland), the subtitle window will by default only appear on the current workspace and may be tiled. Use the app_id org.eu.ywxt.dkitle.subtitle to add window rules for floating + sticky.

Sway (~/.config/sway/config):

for_window [app_id="org.eu.ywxt.dkitle.subtitle"] floating enable, sticky enable

Hyprland (~/.config/hypr/hyprland.conf):

windowrulev2 = float, class:^(org\.eu\.ywxt\.dkitle\.subtitle)$
windowrulev2 = pin, class:^(org\.eu\.ywxt\.dkitle\.subtitle)$

i3 (X11) (~/.config/i3/config):

for_window [class="org.eu.ywxt.dkitle.subtitle"] floating enable, sticky enable

For other window managers, refer to your WM's documentation and use app_id (Wayland) or WM_CLASS (X11) to match the subtitle window org.eu.ywxt.dkitle.subtitle, then set it to floating + sticky/pin.