lucacadalora/oyenza-studio
概要
Oyenza Studio (formerly Oyen Poni): a living notch (Dynamic Island) for Windows and Mac. Music with synced lyrics, a focus timer, a file shelf your phone can drop into, tasks, clipboard history and live system stats. Native Rust, free and open source.
デザイン・メディア計測したスター増加
- 24時間
- 0
- 7日間
- +3
- 15日間
- +12
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
addons/ja/README.md
オリジナルJapanese readings add-on
Japanese readings is off by default and most people never get it. It gives romaji under the kanji in Japanese lyrics on a Mac, and on PCs where Windows can't read them: Windows keeps its Japanese reading data in the Japanese typing feature, which most PCs outside Japan don't have. Kana, Korean and Chinese read without it.
The first time a Japanese song's kanji go unread, it switches itself on, as
its switch in the Add-ons tab (the "+" at the end of the tab row) would: the
file downloads once and the song is read again once it's in place
(poni_core::addons::ja_switches_on). Switching it off there deletes it and
keeps it off; from then on the Music page offers it under the lyrics
("Romaji for kanji: get Japanese readings"), one click away.
The code that reads with it (crates/poni-core/src/romanize/ja_dict.rs,
crates/poni/src/services/romanize.rs) is part of poni.exe and loads the
dictionary only for a Japanese song, about 30 MB for that song.
The files are published, byte for byte, on the pre-release
addon-ja-1.
Each one's size and SHA-256 are built into the app (poni_core::addons::JAPANESE_READINGS),
and cargo test -p poni-core addons checks that they match the files here.
ja-readings.dic.zstiscrates/poni-core/data/ja-readings.dic.zst: mecab-ipadic trimmed for lyrics, with Oyenza Studio's fixes (tools/ja_dict_fixes.csv), compiled for vibrato and packed with zstd bytools/make_ja_dict.py. Theja-dictworkflow checks that the file is exactly what the script builds.NOTICE.txt(here): where it comes from and mecab-ipadic's licence, which every copy must carry.
Changing the dictionary (a rebuild, a new fix) means a new tag
(addon-ja-2) holding the new file and this NOTICE.txt, the new size and
SHA-256 in poni_core::addons, and an app release. PCs with the old file
download the new one when that release starts; the old tag's folder is
deleted.
The Mac app gets the same files the same way: the first Japanese song that
needs them, the offer under the lyrics or its switch in the Mac's Add-ons tab
(where it's the only add-on) turns it on, the shared downloader (crates/poni/src/services/addons.rs, on the Mac's
URLSession client) puts them in ~/Library/Caches/Poni/addons/, and
crates/poni/src/mac/services/romanize.rs reads every Japanese song with
the dictionary. Switching it off there deletes them. Nothing in either app's
download carries it.
関連プロジェクトを探す
読み込み中…