yomidevs / yomichan-data-exporter

Just a quick and hacky way to export all of dictionaries from yomichan installations for importing in newer forks.
9 stars 3 forks source link

+title: Yomichan Data Exporter

[[https://github.com/FooSoft/yomichan][Yomichan]] is a very cool pop-up dictionary for web browsers. However, it has been sunset.

[[https://github.com/themoeway/yomitan/][Yomitan]] is a fork of Yomichan by [[https://github.com/themoeway][TheMoeWay community]] which is actively maintained.

Migration from Yomichan to Yomitan is going to require people to be able to move their dictionaries (of which there could be numerous) from Yomichan into Yomitan. Yomichan lacks export support for dictionaries so people would have to track down the individual dictionaries they imported and re-import them. This has in fact been a sore point without concerning Yomitan as Yomichan has always missed the migration story for when people want to move between devices or browsers because dictionaries had to be imported one at a time every time.

Yomitan supports exporting and importing the entire collection of dictionaries. However, the existing Yomichan extension installations don't have the code that lets you export the database. Which means that we have no choice but to inject and run the code on top of the extension somehow. This repository is just to provide a method that works without much headache for the end-user to that end.

** On Firefox

** On Chrome

You can actually import the exported dictionaries into existing installations of Yomichan, but it is going to require similarly annoying console one-offs.

Instead, I strongly recommend migrating to [[https://github.com/themoeway/yomitan/][Yomitan]] where there is first-class support for importing (and exporting) this data in the =Backup= section of the settings page. The UI there should be self-explanatory, but refer to the [[https://github.com/themoeway/yomitan?tab=readme-ov-file#migrating-from-yomichan][Yomitan repo's documentation]] and Yomitan's welcome page for more information.

** dexie 3.2.4

** dexie-export-import 4.0.7

** downloadJS 4.21