bergamot-translator VS frontend.wasm

Compare bergamot-translator vs frontend.wasm and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
bergamot-translator frontend.wasm
31 2
299 1
5.0% -
6.4 0.0
7 days ago almost 2 years ago
C++ C++
Mozilla Public License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bergamot-translator

Posts with mentions or reviews of bergamot-translator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-13.
  • Fast and secure translation on your local machine with a GUI
    6 projects | news.ycombinator.com | 13 Apr 2024
    Interestingly, I think this is actually related to the offline translation features built into Firefox. Both are products of "Project Bergamot", but the Mozilla-maintained version was later merged into the Firefox application:

    https://browser.mt/

    https://blog.mozilla.org/en/mozilla/local-translation-add-on...

    https://hacks.mozilla.org/2022/06/training-efficient-neural-...

    https://github.com/mozilla/firefox-translations

    https://firefox-source-docs.mozilla.org/toolkit/components/t...

    Extra webpage with screenshot and links, impossible to search for normally:

    https://translatelocally.com/downloads/

    Does one thing and does it well.

    Oh— For downloading models, it's much easier to pipe/`xargs` `translateLocally --available-models` into `translateLocally -d` than go through the GUI.

    ---

    Other self-hostable translation tools:

    https://www.apertium.org/index.eng.html

    - Traditional rule-based translation. Seems to work pretty well, but no good desktop frontend.

    https://www.argosopentech.com/

    - Works, but crashy desktop app.

    https://libretranslate.com/

    - API wrapping Argos Translate.

    https://lingva.thedaviddelta.com/

    - Google Translate scraper/privacy frontend.

    https://euroglot.com/

    - Proprietary, subscription trialware.

  • Firefox 118
    8 projects | news.ycombinator.com | 26 Sep 2023
    It's possible with Neural Machine Translation models. Before being integrated into Firefox itself local translation was already available through the TranslateLocally add-on, see: https://browser.mt/
  • Linguist 5.0 - addon to translate and learn languages with respect to privacy
    8 projects | /r/firefox | 30 Apr 2023
    my understanding is this is using the same backend for the offline translator (aka Bergamot Project), it also supports online translation services (Google, DeepL, Bing, etc.)
  • Need to translate a 200 page book
    2 projects | /r/languagelearning | 5 Jan 2023
    Then you can run the OCR text through either a google, deepl, or one of the other commercial services to translate as a first pass. They all sell API access to the engines for bulk translation. Or you can use an open source engine like the new Bergamot Engine
  • Firefox Translations doesn't use the cloud
    13 projects | news.ycombinator.com | 29 Nov 2022
    It is running a full transformer type neural network on your cpu, it needs all the speed it can get.

    It’s because the translation engine requires at least SSSE3.1 instructions[1]. These are translated to wasm SIMD instructions[2] which are only enabled by browsers if the underlying hardware is there to execute these at least somewhat efficient.

    [1] https://github.com/browsermt/bergamot-translator/issues/418

    [2] https://emscripten.org/docs/porting/simd.html

  • Show HN: Using stylometry to find HN users with alternate accounts
    3 projects | news.ycombinator.com | 26 Nov 2022
    > But then you have to send your original comment to a translation company so there are privacy concerns there too.

    There are modern offline translation systems available such as Project Bergamot https://browser.mt/

  • How do I remove this ugly annoying translation bar that pops up on various sites in FireFox? It doesn't show up in Chrome on the same site, and I have not installed any translation extensions as far as I know.
    2 projects | /r/firefox | 13 Oct 2022
    https://browser.mt/ ("Bergamot" was the technical name for the project.)
  • What do you believe Firefox is missing?
    2 projects | /r/browsers | 6 Oct 2022
    Already exists!
  • Skill for translating words/phrases?
    2 projects | /r/Mycroftai | 27 Sep 2022
    But it'd also be a good idea to check out https://translatelocally.com/ which is a UI for https://github.com/browsermt/bergamot-translator, used in Mozilla's offline MT browser extension. It's deep neural MT, but surpisingly undemanding (runs just fine on CPU's). Not yet in apt and such, but translatelocally at least has dpkg's and newest version should be usable from the CLI.
  • Mozilla reaffirms that Firefox will continue to support current content blockers
    6 projects | /r/linux | 24 Sep 2022
    Consider Firefox translations, this is a completely offline machine translation extension based on this project.

frontend.wasm

Posts with mentions or reviews of frontend.wasm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-08.
  • A C++ Bindings Compiler
    5 projects | news.ycombinator.com | 8 Mar 2022
    Hi everyone!

    Some friends and I were unhappy with how much work it was to use C++ from other languages. We were working in the optimizations industry and often had to prototype with python. Eventually, we created a tool to make it easier for C++ to talk to python (by generating pybind11). Later, javascript via WebAssembly was added as well. It's now at a point where it's very easy to just create a C++ library and use it from any of those languages without change. We're planning on slowly adding more languages as needed/requested. The next on the list are Swift and Kotlin.

    It does not require any change to your existing public interface, but simply reads it and creates the bindings off of that. It should also work on Linux (Debian), MacOS, and Windows (Visual Studio). Here's a small demo if you'd like to test:

    https://github.com/Tolc-Software/tolc-demo

    And here are the repositories with the source code:

    https://github.com/Tolc-Software/tolc - The executable

    https://github.com/Tolc-Software/frontend.py - The python bindings generator

    https://github.com/Tolc-Software/frontend.wasm - The WebAssembly bindings generator

    https://github.com/Tolc-Software/Parser - The C++ parser

    It is dual licensed with AGPL and, if someone wants, a commercial license as well.

    Would be cool if someone finds it useful!

  • A bindings compiler for C++
    6 projects | /r/cpp | 8 Mar 2022

What are some alternatives?

When comparing bergamot-translator and frontend.wasm you can also consider the following projects:

go-socks5-proxy - A lightweight Go SOCKS5 proxy-server

chip8 - A simple chip-8 emulator in C++ using SDL2 with desktop & browser support

wordle-bg - 🇧🇬 Wordle clone in Bulgarian

RoguelikeTutorial2020 - r/RoguelikeDev Does The Complete Roguelike Tutorial

linguist - Translate web pages, highlighted text, Netflix subtitles, private messages, speak the translated text, and save important translations to your personal dictionary to learn words even offline

tolc - A bindings compiler for C++

skia-opengl-emscripten - DEPRECATED! ~~C++ HTML/CSS UI. Supports subset of HTML/CSS. Based on chromium/cobalt.foo without JavaScript overhead. Uses SKIA 2D graphics library. Can be used to build UI for cross-platform app, game or website. Can support browser as HTML5 web framework or WebGL UI renderer.~~

tolc-demo - Demo to show a typical usecase for tolc

marian-dev - Fast Neural Machine Translation in C++ - development repository

avendish - declarative polyamorous cross-system intermedia objects

firefox-translations-models - CPU-optimized Neural Machine Translation models for Firefox Translations

Parser - Parser for C++ to IR