Skip to content
ManabiIOPublic
forked from yomidevs/yomitan

About

Pop-up dictionary browser extension for language learning. Successor to Yomichan.

Resources

Contributing

Security policy

Stars

20 stars

Watchers

0 watching

Forks

Β 
Β 

Latest commit

Β 

History

8,196 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Manabitan icon

Manabitan

Download for Chrome, Firefox, Edge Firefox Dev Builds

CI GitHub Downloads Manabi Discord Discord

Differences from Yomitan

Speed

manabitan_vs_yomitan_chart

Features

  • MDX dictionary support (now supports 20,000 more dicts than Yomitan)
  • Auto-updating dictionaries, never manually update a dictionary again.
  • Schedule when a specific dictionary updates (hourly, daily, weekly, monthly) ((Imports are so fast you won't even notice it's updating))
  • Blur when word is under a certain frequency to force you to recall it.
  • Edit dictionary metadata (name etc) after importing.
  • Install all reccomended dicts with one button
  • Update all dicts with one button
  • Custom themes built in. Glass, Autumn, Tokyo, Dark etc

Nerdy

  • Automated unit, integration, and browser testing. See the qualified browser verification scope.
  • Significantly less RAM usage
  • Auto import Kiku/Lapis/Senren/Crop-Theft Anki Note types.
  • No scan length. Before you had to say "only scan 10 characters", now you don't have to do that. We will show you the longest possible word in the dict (plus a few more characters for grammar etc)

We have benchmarks for these 3 things:

  1. Importing dictionaries
  2. Looking up words
  3. Adding to Anki

We regularly benchmark these 3 things and if if it becomes slower than normal we will work to fix it.

If a new feature or bug makes one of these 3 things slower, we will exterminate it ruthlessly to ensure we are the best dictionary app on the market.

Manabitan is a dictionary app that lets you mine to Anki. If this is not fast, then what is the point of this software?

Why not contribute to Yomitan directly?

A lot of this stuff is experimental and may break.

When you use this software you are aware it may break.

Some of these features are so big and drastic Yomitan will never merge that code, such as changing the entire database structure.

I am also actively pushing PRs to Yomitan to improve it based on this work.

Using this fork and telling me what works and doesn't will allow me to contribute back to Yomitan easier.

Visit the Manabitan documentation to learn more!

Manabitan-specific documentation is being prepared. The Yomitan Wiki remains a legacy reference for general usage; Yomitan is the upstream project.

πŸ‘‹ Manabitan is a fast Yomitan. It forks Yomitan to provide the same functionality with much faster imports and lookups. It also deduplicates and compresses Yomitan entries to reduce storage use.

Why the name change Manabitan?

Manabitan changes core Yomitan database technology to deliver major performance gains. Because of that, merging this directly upstream and migrating every existing Yomitan setup at once would be risky. This project prioritizes shipping and stabilizing the new technology first, then addressing broad migration paths. It is built by the developer of Manabi Reader, who previously pioneered similar Yomitan performance optimizations now prototyped for the upcoming Manabi Reader update.

πŸ“’ New contributors welcome!

πŸ“’ Interested in adding a new language to Manabitan? See here for thorough documentation!

Features

Manabitan turns your web browser into a tool for building language literacy by helping you read texts that would otherwise be too difficult to tackle in a variety of supported languages.

Manabitan provides powerful features not available in other browser-based dictionaries:

  • πŸ’¬ Interactive popup definition window for displaying search results.
  • πŸ”Š Built-in native pronunciation audio with the ability to add your own custom audio sources.
  • ✍️ Kanji stroke order diagrams are just a click away.
  • πŸ“ Automatic flashcard creation for the Anki flashcard program via the AnkiConnect plugin.
  • πŸ” Custom search page for easily executing custom search queries.
  • πŸ“– Support for multiple dictionary formats including EPWING via the Yomitan Import tool.
  • ✨ Clean, modern code makes it easy for developers to contribute new features and languages.

Term definitions Kanji information Dictionary options Anki options

Documentation/How To

Please visit the Manabitan documentation for usage guidance.

Developer Documentation

Installation

Download unsigned packages from GitHub Releases. Store signing, ordinary end-user installation, and automatic updates require separate qualification; see the production release readiness runbook.

Qualified browser verification scope

Browser scope Verification
Desktop Chromium, Edge, and Firefox Qualified automated extension E2E lanes
Firefox Android Automated import, lookup, replacement, visible search, and mining through temporary add-on installation; signed distribution and ordinary installation/updates remain unqualified
Safari Unqualified

Roadmap

Priority (unsorted)

  • Auto-update
  • Ereader performance
  • Improve onboarding for easier default installation
  • Change Manabitan import/export to a smaller, optimized format, and provide separate Yomitan import/export paths

Backlog

  • Full-text search option per dictionary for searching glosses
  • Voice input for search
  • Default TTS

Optimization TODO

  • Import
  • Export
  • Yomitan import
  • Yomitan export
  • Deletion
  • Lookups
  • Move GitHub-hosted default dictionaries to CDNs
  • 64KB chunking of glossaries for compression
  • Add the ManabiDictionaries custom zstd dictionaries

Contributing

πŸš€ Dip your toes into contributing by looking at issues with the label good first issue.

Since this is a distributed effort, we highly welcome new contributors! Feel free to browse the issue tracker, and read our contributing guidelines.

Contributions to Manabitan are made under GPL-3.0-or-later. See the contribution guide for third-party provenance rules.

Here are some ways anyone can help:

  • Try using the Manabitan dev build. Not only do you get cutting edge features, but you can help uncover bugs and give feedback to developers early on.
  • Document any UI/UX friction in GitHub Issues. We're looking to make Manabitan more accessible to non-technical users.
  • All the issues in area/bug older than 2 months need help reproducing. If anything interests you, please try to reproduce it and report your results. We can't easily tell if these issues are one-off, have since been resolved, or are no longer relevant.

The current active maintainers of Manabitan spend a lot of their time debugging and triaging issues. When someone files a bug report, we need to assess the frequency and severity of the bug. It is extremely helpful if we get multiple reports of people who experience a bug or people who can contribute additional detail to an existing bug report.

If you're looking to code, please let us know what you plan on working on before submitting a Pull Request. This gives the core maintainers an opportunity to provide feedback early on before you dive too deep. You can do this by opening a GitHub Issue with the proposal.

Some contributions we always appreciate:

  • Well-written tests covering different functionalities. This includes playwright tests, benchmark tests, and unit tests.
  • Increasing our type coverage.
  • More and better documentation!

Information on how to setup and build the codebase can be found here.

If you want to add or improve support for a language, read the documentation on language features.

Feel free to join us on the Manabi Discord or the Yomitan Discord.

Building Manabitan

  1. Install Node.js and npm.

  2. Run npm ci to set up the environment.

  3. Run npm run license-report:html to generate any missing or changed license information.

  4. Run npm run build for a plain testing build or npm run-script build -- --all --version {version} for a release build (replacing {version} with a version number).

  5. The builds for each browser and release branch can be found in the builds directory.

For more information, see Contributing.

Reproducible Source Build

This section documents how to build an exact copy of the distributed extension packages from source.

Environment requirements

  • Operating system: Linux or macOS (CI uses Ubuntu).
  • Node.js: ^22.22.0 || >=24.8.0 (from package.json engines.node).
  • npm: bundled with your Node.js installation.

Tool installation

  1. Install Node.js 22.22.0+ (recommended for browser qualification) or 24.8.0+ from nodejs.org.
  2. Verify tool versions:
    • node --version
    • npm --version

Exact rebuild steps

  1. Clone and checkout the exact source revision you want to reproduce:

    git clone https://github.com/ManabiIO/manabitan.git
    cd manabitan
    git checkout <tag-or-commit>
    
  2. Install dependencies exactly as locked:

    npm ci
    
  3. Run the full release source build script (all required technical steps):

    npm run build:source-release -- --version <version>
    

This executes:

  • npm run build:libs
  • npm run license-report:html
  • npm run-script build -- --all --version <version>

Build outputs

The generated browser packages are written to the builds/ directory, including:

  • manabitan-chrome.zip
  • manabitan-firefox.zip
  • manabitan-firefox-dev.zip
  • manabitan-edge.zip

Release Tagging

  • Tag releases with ./tag.sh from the repository root.
  • By default, the script requires you to be on main and creates a CalVer-style 4-part tag (YY.M.D.N).
  • To tag from a different branch, set MANABITAN_RELEASE_BRANCH=<branch> when running the script.

Third-Party Libraries

Manabitan uses several third-party libraries to function.

Name License type Link
@resvg/resvg-wasm MPL-2.0 git+ssh://git@github.com/yisibl/resvg-js.git
@zip.js/zip.js BSD-3-Clause git+https://github.com/gildas-lormeau/zip.js.git
dexie Apache-2.0 git+https://github.com/dexie/Dexie.js.git
dexie-export-import Apache-2.0 git+https://github.com/dexie/Dexie.js.git
hangul-js MIT git://github.com/e-/Hangul.js.git
kanji-processor n/a https://registry.npmjs.org/kanji-processor/-/kanji-processor-1.0.2.tgz
parse5 MIT git://github.com/inikulin/parse5.git
yomitan-handlebars MIT n/a
linkedom ISC git+https://github.com/WebReflection/linkedom.git

Attribution

MDX import support uses PyGlossary, licensed under the GNU GPLv3. Raw DEFLATE decoding uses miniz, licensed under the MIT License. fallback-bloop.mp3 is provided by UNIVERSFIELD and licensed under the Pixabay Content License.

About

Pop-up dictionary browser extension for language learning. Successor to Yomichan.

Resources

Contributing

Security policy

Stars

20 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages