DR Live Translate

Live-translates subtitles on DR.dk using a LLM.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Eckankar
今日安裝
0
安裝總數
5
評價
0 0 0
版本
1.3.3
建立日期
2025-03-16
更新日期
2025-05-02
尺寸
7.3 KB
授權條款
MIT
腳本執行於

This script requires access to a large language model, that can help it translate the subtitles.

You configure this by changing the LLM_PROVIDER_BASE and LLM_MODEL in the beginning of the script, to point towards an OpenAI compatible API.


If you want to run your own translation model locally, my recommendation is to set up LM Studio. You'll need to go into power user/developer mode. Then you can download the model you want into it (in the Discover tab), and enable the API (in the Developer tab). You'll need to enable CORS.

Once you have it up and running, copy the API address shown on the Developer tab. Remember to add /v1 at the end.