Skip to content

Releases: CaelumSea/BYH

v0.2.0 — 朗读 TTS · 功耗监控 · 选区与剪贴板加固

Choose a tag to compare

@CaelumSea CaelumSea released this 08 Aug 23:24

Post-v0.1 feature batch: text-to-speech, hardware power monitoring, and a round of selection/clipboard reliability fixes.

Platform: Windows 10+ (Windows-only as of v0.2 — macOS port cancelled; core Win32 capabilities don't port cleanly)
Build: NativeAOT single-binary (~29.3 MB), .NET 10
SHA-256: ac76024bd4c39cfa83f5de1f4b32c2fbc6dfb7e39fd5672b19eae56505f581e5
Test baseline: 954/954 (Core 784 / Windows Integration 119 / Providers 51), Release 0 warnings, NativeAOT clean.

New features

  • 朗读 (TTS) — selection toolbar Speak button (S). Select any text → click 朗读 (or press S) → BYH synthesizes speech via MiniMax T2A and plays it back through Windows MCI. Voice auto-routes by script (Chinese Charming_Lady / Latin Spanish_CaptivatingStoryteller), reuses your mmx login key when no BYH-managed key is set. Region-aware (global / cn hosts).
  • 功耗监控 (Power Monitoring, off by default). BYH polls a user-installed Libre Hardware Monitor Web Server for live CPU/GPU/system power and temperature. Live values show in the tray tooltip (watts + kWh), energy accumulates via trapezoidal integration (Wh/kWh, survives restarts), and pre-rendered voice alerts play when temperature thresholds are newly exceeded (5°C hysteresis). Per-minute history (power-history.jsonl). Pure HTTP — no LHM library dependency, no elevation, NativeAOT-safe.
  • 开机自启 (Launch at startup). Settings → General toggle writes HKCU\...\Run (no admin needed); registry is the source of truth.
  • 剪贴板 tag 徽章可点击过滤 (REQ-043). Click any tag badge → filter chip narrows the list; tag-matches rank ahead of body-only matches in search.
  • 剪贴板长按多选 (REQ-031). Long-press to enter batch-edit; select all / clear / bulk-delete.

Fixes

  • Ocean Eyes Enter save reliability (REQ-040). Enter after frame confirmation now saves exactly once via an idempotent gate (keyboard hook + overlay fallback both route to it); autosave filenames use millisecond timestamps + sequence suffix to avoid same-second collisions.
  • Speak settings tab crash (REQ-041). Clicking the Speak tab could terminate the process (missing Tts branch in ShowSettingsPageArgumentOutOfRangeException under NativeAOT). Fixed.
  • Speak key status accuracy (REQ-042). The settings page now reports the actual credential source — ByhSecret / MmxConfig / None — so it never claims "key not set" when mmx's login already works.
  • 剪贴板 Delete-key (REQ-044). Bare Delete sometimes did nothing because focus stayed in the search TextBox. Tunnel-subscribed before the TextBox swallows it; modifier combos stay text-editing.
  • Warp 选区兼容 (REQ-029). warp.exe uses a dedicated Ctrl+Shift+C strategy; ownerless clipboard results accepted only under that explicit process policy.
  • 大尺寸截图稳定性 (REQ-028). BGRA/DIB/PNG paths gained size caps + checked arithmetic; oversized captures fail safely instead of crashing the process.

Quick start

  1. Download BYH.exe below.
  2. Double-click to run (first launch creates %LOCALAPPDATA%\BYH\).
  3. Configure an LLM provider in Settings → Translation for OCR/translate.
  4. (Optional) For 朗读: run mmx auth login once, or paste a MiniMax API key in Settings → Speak.
  5. (Optional) For 功耗监控: install Libre Hardware Monitor, enable its Web Server (Options → Remote), then Settings → Power.

Full changelog: https://github.com/CaelumSea/BYH/blob/main/CHANGELOG.md

v0.1.0 — Windows (Apple Silicon macOS coming)

Choose a tag to compare

@CaelumSea CaelumSea released this 29 Jul 03:50

First public release of BYH.

Platform: Windows 10+ (Apple Silicon macOS port in progress)
Build: NativeAOT single-binary (~28 MB), .NET 10

What works

  • Ocean Eyes region OCR (Ctrl+Alt+Q)
  • Clipboard history (Ctrl+Alt+V) — text/image, auto-classify, pin, tags, search
  • Spotlight launcher (Ctrl+Alt+Space)
  • Selection toolbar — translate/summarize/explain/custom prompts
  • Tray menu — settings, screenshot gallery, restart, quit
  • Bilingual UI (English / 简体中文), Ivory Jade theme

Quick start

  1. Download BYH.exe below.
  2. Double-click to run (first launch creates config in %LOCALAPPDATA%\BYH).
  3. Configure an LLM provider in Settings → Translation for OCR/translate.

macOS

Not yet available — see the cross-platform roadmap in the README.