Skip to content

fantakim/PapagoSrtApp

Repository files navigation

PapagoSrt

PapagoSrt is an Electron desktop app for batch-translating SRT subtitle files with Papago.

Its main advantage is that it works without a Papago API key. Internally, it uses Playwright to drive the Papago web app and scrape translated results.

PapagoSrt screenshot

Features

  • Translate SRT files without a Papago API key
  • Add multiple .srt files at once
  • Drag and drop subtitle files
  • Translate multiple SRT files in a single run
  • Use Papago web translation results through browser automation
  • Save translated files next to the original files

How It Works

  1. Add one or more .srt files.
  2. The app reads subtitle blocks and splits them into translation groups.
  3. Playwright opens Papago in a browser context and performs the translation.
  4. The translated result is written back as an .srt file.

By default, translated files are saved in the same folder as the source file, with the target language added as a suffix.

Example:

  • movie.srt
  • movie.ko.srt
  • movie.en.srt

Requirements

  • Node.js
  • npm
  • Playwright Chromium
  • Windows recommended

Playwright Chromium is installed during postinstall.

Install

npm install

Run

Browser dev server:

npm run dev

Run the Electron app:

npm start

Production build:

npm run build

Notes

  • Actual translation runs in the Electron environment.
  • npm run dev is mainly useful for UI development. Without the Electron API bridge, desktop features are unavailable.
  • This project does not call the Papago API directly. It depends on the Papago web UI.
  • If the Papago website structure changes, the app may stop working correctly.
  • Translation speed and reliability can vary depending on network conditions and Papago responsiveness.

Disclaimer

This application is provided as-is, without any warranty. The developers are not responsible for any loss, damage, or issues caused by its use. Use it at your own risk.

Tech Stack

  • React 19
  • Vite
  • TypeScript
  • Electron
  • Playwright
  • Zustand
  • Tailwind CSS

Project Structure

electron/            Electron main and preload
public/              Static assets
src/core/            SRT parsing and Papago client
src/main/            Translation coordinator
src/renderer/        React UI
src/shared/          Shared types and language metadata

About

Desktop app for batch-translating SRT files with Papago, no API key required.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors