[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109677":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":12,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":12,"stars7d":14,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":16,"compositeScore":17,"rankGlobal":8,"rankLanguage":8,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":8,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":13,"starSnapshotCount":13,"syncStatus":12,"lastSyncTime":26,"discoverSource":27},109677,"plamo-translate-desktop","tanakh\u002Fplamo-translate-desktop","tanakh",null,"Rust",188,11,2,0,10,113,6,59.24,"Apache License 2.0",false,"main",[],"2026-11-13 07:33:26","2026-11-23 08:12:25","# PLaMo Translate Desktop\n\n[日本語](README.ja.md)\n\nA desktop translation app that runs [PLaMo 3 Translate](https:\u002F\u002Fwww.preferred.jp\u002Fja\u002Fblog\u002Ftech\u002Fplamo-3-translate-weight-release)\nlocally on your computer. It works offline once a model is downloaded. Written in Rust with [GPUI](https:\u002F\u002Fwww.gpui.rs\u002F).\n\n**Built with PLaMo.**\n\n## Features\n\n- Translation between 53 languages. The default target is \"Japanese ⇄ English (auto)\".\n- Paste to translate; text you type is translated after a short pause (the Auto switch in the toolbar turns this off). The translation streams in as it is generated, with the progress, speed, and remaining time in the status bar, and can be stopped at any time.\n- Japanese output style (polite or plain), a reference context, and a glossary (`source = target`, one term per line).\n- Long texts are split into paragraphs and translated in order, with earlier pairs passed as history to keep wording consistent.\n  Output that falls into a repetition loop is detected, withdrawn, and translated again in smaller pieces. A passage that keeps looping is cut and marked in the translation.\n- Built-in model manager: choose a model size and quantization (0.8B, 2B, 8B or 31B GGUF).\n  - Each file shows the translation quality PFN publishes, with the difference from the unquantized model.\n  - Downloads resume after an interruption and are verified with SHA-256.\n  - Newly published files are picked up from Hugging Face without an app update.\n  - **Change…** next to the folder in the dialog keeps the models elsewhere, for example on another drive or in a folder shared with other tools\n    (the file names must be those the app uses, such as `plamo-3-translate-2b-Q4_K_M.gguf`). Models already downloaded are not moved.\n    When PFN publishes a new version of a file you have, it stays usable, and its row says so with the date; **Update** downloads it.\n- Runs on the CPU (AVX2 or AVX-512) or on a GPU through Vulkan. Linux source builds can also use ROCm. The device is selectable; Automatic uses the fastest one measured on this PC, or else the discrete GPU.\n- English and Japanese UI. It follows the OS language by default and can be changed under Settings (the gear in the status bar). `PLAMO_LANG=ja` or `en` overrides both.\n- Light and dark themes. The default follows the OS; Settings can fix either one.\n- **UI size** in Settings (100–200%) enlarges the interface on top of the display scaling of the OS, for a high-DPI display the desktop does not scale.\n- The source and the translation scroll together, and moving the caret in one selects the corresponding paragraph in the other (can be turned off in Settings).\n- Updates: the app asks GitHub at most once a day whether a newer release is out, and the status bar then says so.\n  Clicking it downloads the new version (checked against `SHA256SUMS.txt`), and **Restart to update** then starts the new version.\n  Files you added to the app's folder stay. A build from source only links to the release page.\n  **Check for new versions** in Settings turns the check off; **Check now** there asks at once, next to the app's version.\n\nShortcuts: `Ctrl+Enter` translates now. `Ctrl+Shift+C` copies the translation. On macOS these are `Cmd+Enter` and `Cmd+Shift+C`.\n\n## Models and their license\n\nThe app does not ship model weights. When you pick a model in the app, it downloads it from\n[Preferred Networks on Hugging Face](https:\u002F\u002Fhuggingface.co\u002Fpfnet). The models are licensed under the\n[PLaMo Community License](https:\u002F\u002Fplamo.preferredai.jp\u002Finfo\u002Fplamo-community-license-en)\n([Japanese](https:\u002F\u002Fplamo.preferredai.jp\u002Finfo\u002Fplamo-community-license-ja)), and the app asks you to accept it before the first download.\n\n- **Personal and non-commercial use** is free.\n- **Commercial use**, including use inside an organization, requires\n  [registration](https:\u002F\u002Fforms.gle\u002FmTL8tBLrMYXKNZD56) if your (or your affiliates') annual revenue is ¥1 billion or less.\n  Above that, a separate license from Preferred Networks is required.\n- If you publish translations produced by the model, indicate that they are PLaMo output (Article 5).\n\nPLaMo is a trademark of Preferred Networks, Inc.\n\n## Download\n\nWindows (x86_64), Linux (x86_64) and macOS (Apple Silicon) packages are on the [Releases](https:\u002F\u002Fgithub.com\u002Ftanakh\u002Fplamo-translate-desktop\u002Freleases) page,\nwith their SHA-256 checksums in `SHA256SUMS.txt`. For the latest changes, build from source (below).\n\n- **Windows** (10 or later): unzip and run `plamo-translate-desktop.exe`. Keep the DLLs next to it:\n  llama.cpp and its CPU and Vulkan backends are loaded from there, and only from there.\n  The Visual C++ runtime is included, so nothing else needs to be installed.\n- **Windows with an Intel NPU** (Core Ultra; experimental): the `-intel-npu` zip is the same app plus OpenVINO's NPU runtime.\n  Choose **NPU** as the device in **Models and device** (the model button in the status bar); Automatic does not choose it. The first translation after a model loads\n  compiles it for the NPU, which takes a while; the result is cached for later starts. On the NPU the context is 8192 tokens,\n  so long texts go in smaller chunks. The NPU driver comes with the PC's drivers or Windows Update.\n  The NPU is for using less power and leaving the GPU free rather than for speed: on a Core Ultra 7 356H, 2B translates\n  at about 30 tokens\u002Fs on the NPU, 40 on the CPU, and 70 on the integrated GPU (Vulkan).\n- **Linux**: extract and run `plamo-translate-desktop`. The shared libraries next to it are found through the executable's own directory (`RUNPATH=$ORIGIN`).\n  - It is built on Ubuntu 24.04 and needs glibc 2.39 or later (Ubuntu 24.04, Debian 13, Fedora 40, or newer),\n    plus `libgomp1`, `libxkbcommon-x11-0`, and `libxcb1`, which desktop installations usually have.\n  - It needs a Wayland or X11 session with a Vulkan driver, which the UI uses for rendering and translation can use on the GPU, and a CJK font such as `fonts-noto-cjk`.\n  - The app follows the display scaling of the desktop. If it looks too small on a high-DPI display (some desktops, X11 ones in particular,\n    do not scale it), raise **UI size** in Settings.\n  - To add it to the application menu, run this in the extracted folder:\n\n    ```sh\n    mkdir -p ~\u002F.local\u002Fshare\u002Fapplications ~\u002F.local\u002Fshare\u002Ficons\u002Fhicolor\u002F256x256\u002Fapps\n    sed \"s|^Exec=.*|Exec=\\\"$PWD\u002Fplamo-translate-desktop\\\"|\" plamo-translate-desktop.desktop \\\n      > ~\u002F.local\u002Fshare\u002Fapplications\u002Fplamo-translate-desktop.desktop\n    cp plamo-translate-desktop.png ~\u002F.local\u002Fshare\u002Ficons\u002Fhicolor\u002F256x256\u002Fapps\u002F\n    ```\n- **macOS** (13.3 or later, Apple Silicon): open the disk image (`-macos-arm64.dmg`) and drag the app into Applications.\n  Translation uses the GPU through Metal. The app is not notarized, so macOS refuses to open the downloaded copy at first:\n  run `xattr -dr com.apple.quarantine \"\u002FApplications\u002FPLaMo Translate Desktop.app\"` in Terminal, or try to open it once and\n  choose **Open Anyway** under System Settings → Privacy & Security.\n- **Browser extension only** (`-browser-extension` zip, Chrome or Edge 137 or later): the extension without the app,\n  which translates with the model running in the browser. The unzipped folder is the extension; see [Without the app](#without-the-app).\n\nOn Windows and Linux, translation uses a discrete GPU through Vulkan when one is available, and otherwise the fastest CPU code path the CPU supports (AVX2 or AVX-512).\nOn a PC with an integrated GPU and no discrete one, the first model load measures whether the CPU or the integrated GPU translates faster\n(integrated GPUs range from much slower to much faster), and Automatic uses the faster one.\n**Measure and choose** next to the device in **Models and device** (the model button in the status bar) measures all of them again,\nfor example after a hardware change.\n\n## Browser extension\n\nThe packages include an extension for Chrome and Edge 137 or later (`browser-extension\u002F`) that translates text in the browser with the model selected in the app.\nInstall the app first (see [Download](#download)), then:\n\n1. In the app, open Settings (the gear in the status bar) and choose **Connect** under Browser extension.\n   This registers the bundled `plamo-translate-host` with Chrome and Edge (on Linux and macOS also Chromium and Brave).\n2. Open `chrome:\u002F\u002Fextensions` (or `edge:\u002F\u002Fextensions`), turn on Developer mode, choose **Load unpacked**,\n   and select the `browser-extension` folder (**Open extension folder** in the same Settings section).\n   On macOS the folder is inside the app, which the dialog does not open: press `Cmd+Shift+G` in it and enter\n   `\u002FApplications\u002FPLaMo Translate Desktop.app\u002FContents\u002FResources\u002Fbrowser-extension`.\n3. Select text on a page, right-click, and choose **Translate with PLaMo**: the side panel shows the translation as it streams in.\n   The toolbar button opens the panel to type or paste text. A keyboard shortcut set at `chrome:\u002F\u002Fextensions\u002Fshortcuts` translates the selected text too.\n4. To translate a whole page, right-click it and choose **Translate this page with PLaMo** (or **Translate this page** in the panel,\n   or a keyboard shortcut set at `chrome:\u002F\u002Fextensions\u002Fshortcuts`).\n   The browser lets the panel's button into a tab only after the right-click menu or one of the shortcuts was used on it (the toolbar button\n   does not count), until the tab goes to another site; on other tabs the panel offers to allow the extension on all sites.\n   Paragraphs are translated in place, keeping links and formatting: those in view first, and when you scroll, the ones you scrolled to.\n   Hidden ones (collapsed sections, menus) wait until they show. **Settings** in the panel can limit it to the paragraphs near the view,\n   translating the rest as you scroll to them.\n   A box at the bottom right shows the progress and can stop, resume, or restore the page; closing it ends the page's translation\n   (what is translated stays). A frame marks the paragraphs being translated (**Settings** in the panel can turn it off).\n   Translating another page stops this one, which can be resumed later.\n   **Pages** under **Settings** in the panel shows translations below the original instead.\n\nWhen the app updates itself, the extension in its folder is updated with it, and the panel offers **Reload** to load the new version\n(Developer mode must stay on: Chrome disables unpacked extensions without it).\n\nThe extension's texts (the panel, the menus, and the box on the page) follow the browser's language;\n**Display language** under **Settings** in the panel sets English or Japanese instead, independently of the app.\n\nThe host uses the model and device selected in the app unless you choose others under **Settings** in the panel\n(any downloaded model; downloads stay in the app). It loads its own copy of the model, so with the app open as well the model is in memory twice.\nIt ends, freeing the memory, after 5 minutes without use or when you choose **Release** in the panel; the next translation starts it again.\nTo update the app in place, release it and close the app first (the host keeps its files open). If you move the app's folder, choose Connect again.\n**Disconnect** in the same section removes the registration from the browsers (on Windows, from the registry); do this before deleting the app.\nBrowsers installed as Snap or Flatpak packages on Linux cannot start the host.\n\n### Without the app\n\nThe extension can also translate on its own, with the model running in the browser\n([wllama](https:\u002F\u002Fgithub.com\u002Fngxson\u002Fwllama): llama.cpp compiled to WebAssembly).\n\nThe browser extension package (`plamo-translate-desktop-X.Y.Z-browser-extension.zip` on the\n[Releases](https:\u002F\u002Fgithub.com\u002Ftanakh\u002Fplamo-translate-desktop\u002Freleases) page) has the extension alone, to try it without installing the app:\n\n1. Unzip it. The folder it makes is the extension; keep it where it is, since the browser loads the extension from there.\n2. Open `chrome:\u002F\u002Fextensions` (or `edge:\u002F\u002Fextensions`), turn on Developer mode, choose **Load unpacked**, and select that folder.\n   Chrome and Edge install extensions from files only through their stores, hence Load unpacked.\n3. Open the panel with the toolbar button and download a model under **Settings** (see below).\n\nThe panel says when a new version is out (it asks GitHub at most once a day; **Check for new versions** under **Settings** turns this off).\nTo update, replace the folder's files with the new version's: the panel then offers **Reload** (or press the reload button on the extension\nin `chrome:\u002F\u002Fextensions`). The settings and the downloaded models are kept. For the larger models and faster translation, install the app later (see [Download](#download))\nand choose **Connect** in its settings (step 1 above). The extension already loaded works with it, and **Automatic** uses the app from the next time\nthe engine starts (after **Release**, or 5 minutes without use).\n\n- **Engine** under **Settings** in the panel: **Automatic** uses the app when it is connected (step 1 above) and the browser otherwise\n  (the list shows which it uses now); **PLaMo Translate Desktop** and **In the browser** choose one. The `browser-extension` folder of\n  the app's packages can also be loaded without the app, but only the extension's own package tells when a new version is out\n  (the app's copy leaves that to the app): without the app, use that one.\n- In the browser, choose and download a model under **Settings**: 0.8B or 2B (Q4_K_M; the larger ones do not fit in WebAssembly's memory).\n  When PFN publishes a new version of a model you have, it stays usable, and **Settings** says so with the date; **Update** downloads it.\n  The extension asks Hugging Face at most once a day; offline, it does nothing and the downloaded models work as before.\n  The first download asks you to accept the PLaMo Community License. Models are stored in the browser, separately from the app's:\n  in the extension's own storage in the browser profile, not as files the app could share. With the app installed,\n  the extension translates with the app's model, and the one in the browser can be deleted under **Settings**.\n- **Device**: **Automatic** measures the CPU (WebAssembly) and the GPU (WebGPU) on the first translation and keeps the faster one,\n  shown as, for example, **Automatic (GPU)** with the speeds measured. **Measure and choose** below it measures them again.\n  With 2B, generation runs at about 48 tokens\u002Fs on a Ryzen AI Max+ 395 (Radeon 8060S), 67 on a Radeon RX 9070 XT,\n  and 18 on the CPU of a Ryzen 9 9950X: slower than the app, but usable. Reading long texts is slower on the CPU.\n  With **CPU** chosen as the device, the number of threads can be set below it.\n  Page translation runs four batches of paragraphs at once, dealt in turn so that the page fills from the top; **Translate pages in\n  parallel** under **Settings** turns it off, for wording that follows the paragraphs before more closely but slower translation.\n  The extension asks for the high-performance GPU, but Chrome and Edge use the GPU Windows assigns them: on a PC whose display\n  runs on the integrated GPU, give the browser the discrete GPU under Windows' Settings → System → Display → Graphics.\n- As with the app, the model is released after 5 minutes without use, or with **Release**.\n\n## Building from source\n\nRequirements: Rust 1.92 or later, CMake, and a C\u002FC++ compiler.\n\nLinux (Ubuntu or Debian):\n\n```sh\nsudo apt install cmake libfontconfig-dev libwayland-dev libxkbcommon-x11-dev libx11-xcb-dev\ncargo run -p plamo-translate-desktop --release\n```\n\nThis development build runs on the CPU, with llama.cpp linked statically.\nPackages are built like the Release workflow does: with the size-optimized `dist` profile (fat LTO, stripped), Vulkan, and dynamically loaded backends.\nThe Vulkan backend also needs `libvulkan-dev glslc spirv-headers`.\n\n```sh\ncargo build --profile dist -p plamo-translate-desktop --features engine\u002Fvulkan,engine\u002Fdynamic-backends\n```\n\nOn Linux (including WSL2) with an AMD GPU, the ROCm (HIP) backend runs the model on the GPU.\nIt needs ROCm and its development packages, for example `amdrocm-core-dev10.1-gfx1201 amdrocm-blas-dev10.1` for an RX 9070 XT.\n`scripts\u002Frocm.sh` sets up the environment and builds into `target\u002Frocm`:\n\n```sh\nscripts\u002Frocm.sh cargo run -p plamo-translate-desktop --release --features rocm\n```\n\nWindows needs Visual Studio 2022 with \"Desktop development with C++\" (MSVC and the Windows SDK) and CMake.\nThe GPU build also needs the [Vulkan SDK](https:\u002F\u002Fvulkan.lunarg.com\u002Fsdk\u002Fhome#windows):\n\n```powershell\ncargo build -p plamo-translate-desktop --release --features engine\u002Fvulkan,engine\u002Fdynamic-backends\n```\n\nWith `dynamic-backends`, copy the `ggml-*.dll` modules from `target\u002Frelease\u002Fbuild\u002Fllama-cpp-sys-2-*\u002Fout\u002Fbackends` next to the executable,\nor run it with `cargo run`, which finds them in the build directory.\n\nmacOS (Apple Silicon) needs the Xcode Command Line Tools and CMake (`brew install cmake`).\nThere llama.cpp runs on the GPU through Metal, also in the development build above.\n`scripts\u002Fpackage-macos.sh` builds the package: an app bundle for macOS 13.3 or later in a disk image.\nIt needs `cargo-about` (`brew install cargo-about`) for the third-party notices.\nThe bundle is signed ad hoc, which Gatekeeper accepts only on the Mac that built it, unless `CODESIGN_IDENTITY` names a Developer ID and the app is then notarized.\n\n```sh\nscripts\u002Fpackage-macos.sh\n```\n\n### Development\n\n- `crates\u002Fpfml`: PFML3 prompt builder (the PLaMo prompt format).\n- `crates\u002Fengine`: llama.cpp backend, model catalog, downloads, long-text splitting. No GUI dependency.\n- `crates\u002Fappdata`: settings, file locations, and logging, shared by the app and the browser host.\n- `crates\u002Fapp`: the GPUI application.\n- `crates\u002Fhost`: `plamo-translate-host`, the native messaging host for the browser extension.\n- `extension\u002F`: the browser extension (Manifest V3).\n- `docs\u002Fdesign.md`: the design document.\n\nTwo command-line examples run the engine without the GUI:\n\n```sh\ncargo run -p engine --release --example translate -- --model path\u002Fto\u002Fmodel.gguf --to en \"こんにちは\"\ncargo run -p engine --release --example download -- --list\n```\n\nA GGUF path passed as the first argument (or in `PLAMO_MODEL`) overrides the model selected in the app.\n\n### Files and logs\n\nModels (in `models\u002F`, unless another folder is chosen in the Models dialog), the cached model list (`catalog.json`), the last check for a new version (`update.json`), small logs (`app.log`, and `host.log` for the browser extension's host),\nand the NPU's compiled graphs (`openvino-cache\u002F`) are kept in:\n\n- Windows: `%LOCALAPPDATA%\\plamo-translate-desktop\\data`\n- Linux: `~\u002F.local\u002Fshare\u002Fplamo-translate-desktop` (`$XDG_DATA_HOME`)\n- macOS: `~\u002FLibrary\u002FApplication Support\u002Fplamo-translate-desktop`\n\nThe log records start-up, detected devices, model loads, downloads, deletions, settings changes, and where long texts were retried or cut, but never translated text.\nA log larger than 1 MiB is moved to `app.log.1` at start-up.\n\nAn update is prepared in `update` in the app's folder (on macOS, a hidden folder next to the app, `.PLaMo Translate Desktop-update`), which the next start removes.\n\nSettings are in `settings.json`: `%APPDATA%\\plamo-translate-desktop\\config` on Windows, `~\u002F.config\u002Fplamo-translate-desktop` (`$XDG_CONFIG_HOME`) on Linux,\nand the data folder above on macOS.\n\n## License\n\nThe source code of this app is licensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))\n- MIT license ([LICENSE-MIT](LICENSE-MIT))\n\nat your option. The PLaMo models are not part of this repository and are covered by the PLaMo Community License.\n\nThe packages include third-party software: the app's Rust crates, llama.cpp, Lucide icons, the browser extension's wllama\n(built with Emscripten and Dawn), on Windows the Visual C++ runtime, and in the Intel NPU package OpenVINO, oneTBB and the OpenCL loader.\nTheir licenses are in `THIRD-PARTY-NOTICES.txt` in each package, generated by `scripts\u002Fnotices.sh`\n(the browser extension package has the in-browser engine's only).\n","这是一款基于PLaMo 3 Translate模型的本地化桌面翻译应用，支持离线运行。核心功能包括53种语言互译（默认日英双向）、粘贴即译与智能延时输入翻译、流式实时输出显示进度与可中断机制；提供日语敬体\u002F简体输出控制、上下文参考与术语表支持；长文本按段落分块处理并维持术语一致性，自动检测并规避生成循环。采用Rust开发，通过GPUI构建跨平台GUI，支持CPU（AVX2\u002FAVX-512）或Vulkan GPU加速，内置模型管理器可选GGUF量化版本（0.8B–31B），支持断点续传、SHA-256校验及Hugging Face自动发现新模型。适用于隐私敏感、网络受限或需长期稳定使用的专业翻译与本地化工作场景。","2026-11-24 04:37:08","CREATED_QUERY"]