C
CIHUY-SUB
Powered by Node.js

Subtitle Translator
Tanpa Batas.

Middleware cerdas yang memecahkan masalah rate-limit Google Translate. Menerjemahkan file VTT secara massal dengan metode Smart Chunking dan Real-time Streaming.

⚡ Visualisasi Output

Server menjamin timestamp tetap utuh, hanya dialog yang diterjemahkan.

Input (VTT Asli)
WEBVTT

00:01:15.000 --> 00:01:18.000
Cooper: We're not meant to save the world.

00:01:19.000 --> 00:01:21.500
We're meant to leave it.

00:01:22.000 --> 00:01:25.000
Brand: Do not go gentle into that good night.
Output (Translated)
WEBVTT

00:01:15.000 --> 00:01:18.000
Cooper: Kita tidak dimaksudkan menyelamatkan dunia.

00:01:19.000 --> 00:01:21.500
Kita dimaksudkan untuk meninggalkannya.

00:01:22.000 --> 00:01:25.000
Brand: Jangan pergi dengan lembut ke malam yang indah itu.

Teknologi & Fitur

Smart Streaming

Response dikirim secara chunked (dicicil). Subtitle muncul baris demi baris tanpa menunggu proses selesai 100%.

Chunking Algorithm

Menggabungkan baris pendek menjadi paket 2000 karakter untuk efisiensi request ke Google API.

Anti-Limit Guard

Dilengkapi delay acak dan user-agent rotation untuk mencegah IP Banned oleh Google.

Instalasi Server

bash — terminal

# 1. Clone repository dari GitHub

$ git clone https://github.com/ZertCihuyy/CIHUY-SUB-TRANSLET.git

# 2. Masuk direktori & install paket

$ cd CIHUY-SUB-TRANSLET && npm install

# 3. Jalankan server (Default port 3000)

$ node server.js

API Endpoint

GET /get-vtt
Core Engine

Mengambil subtitle dari URL eksternal, menerjemahkan, dan mengembalikan stream teks.

Param Tipe Wajib Deskripsi
url string Ya Direct link file .vtt
lang string Tidak Kode bahasa (id, en, jw). Default: id

Kontributor & Kredit

Owner

ZertCihuy

Lead Developer & Owner

Anda?

Berkontribusi di GitHub

Lisensi

MIT License

Copyright (c) 2026 ZertCihuy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.