Skip to content
tderflingerPublic

About

This is a Magic MirrorÂē module helping with learning Chinese Mandarin. It rotates between Chinese characters (hanzi), their pronunciation (in pinyin) and the translation in English.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Repository files navigation

Magic MirrorÂē Hanzi

This is a Magic MirrorÂē module that rotates between Chinese characters (hanzi), their pronunciation (in pinyin) and the translation in English. Every Chinese Mandarin language learner will appreciate this learning tool.

Magic MirrorÂē is open source software for creating a powerful dashboard mostly for home use.

Magic MirrorÂē Hanzi is based on the Chinese Mandarin HSK test vocabulary and you can configure up to 6 levels of difficulty.

The interval of the rotation of the characters is also configurable.

Preview Screenshot

This is how Magic MirrorÂē Hanzi looks in my configuration:

Magic MirrorÂē Hanzi exmaple screen

Installation

Clone this repository into your MagicMirror modules folder.

Example:

cd /home/pi/MagicMirror/modules
git clone https://github.com/tderflinger/MMM-Hanzi.git

Edit your configuration file under config/config.js with the following configuration.

{
  module: "MMM-Hanzi",
  position: "top_left",
  config: {
      hskLevel: 2, // up to six levels available
      interval: 300000 // rotation speed in ms
  },
},

Config Options

Option Description
hskLevel HSK difficulty level, number from 1 to 6
interval Rotation time of Hanzi in ms

Testing

I have tested the Magic MirrorÂē Hanzi module on an Raspberry Pi 3B with Raspberry OS and Node 16.15.0 and Magic MirrorÂē version 2.19.0.

References

Magic MirrorÂē: https://magicmirror.builders

HSK: https://en.wikipedia.org/wiki/Hanyu_Shuiping_Kaoshi

Source of HSK Hanzi Vocabulary Files: https://github.com/clem109/hsk-vocabulary

License

MIT License

About

This is a Magic MirrorÂē module helping with learning Chinese Mandarin. It rotates between Chinese characters (hanzi), their pronunciation (in pinyin) and the translation in English.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages