Clone your own voice on your own computer: speak any text in 60+ languages and dub videos into another language in your voice. Fully local. Early version.
Rust chatterboxdesktopdubbingmobilemultilingualofflineomnivoicerustrvcspeech-synthesisspeech-to-textstttext-to-speechttsvoice-cloningvoxcpm2whisper
ci: release pages start with a download table (#183)
Taras Hevlich1920c3af1f62
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 70e9df9..c178aa9 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -131,6 +131,22 @@ jobs:run: |awk -v v="## $VERSION" '$0 == v {on = 1; next} on && /^## / {exit} on {print}' CHANGELOG.md > notes.mdif [ ! -s notes.md ]; then echo "See CHANGELOG.md." > notes.md; fi+ link() {+ f="$(cd out && ls $2 2>/dev/null | head -n1)"+ if [ -n "$f" ]; then echo "[$1](https://github.com/${GITHUB_REPOSITORY}/releases/download/${GITHUB_REF_NAME}/$f)"; else echo "-"; fi+ }+ {+ echo "## Downloads"+ echo+ echo "| Windows | Linux | macOS |"+ echo "| :---: | :---: | :---: |"+ echo "| $(link setup.exe '*_x64-setup.exe') | $(link .AppImage '*_x86_64.AppImage') · $(link .deb '*_amd64.deb') | $(link .dmg '*_aarch64.dmg') |"+ echo "| x64 | x64; .deb for Debian and Ubuntu | Apple Silicon |"+ echo+ echo "## What's new"+ echo+ cat notes.md+ } > release.mdcd outif [ -f Mimvox.app.tar.gz ]; thenmv Mimvox.app.tar.gz "Mimvox_${VERSION}_aarch64.app.tar.gz"@@ -169,5 +185,5 @@ jobs:gh release upload "$GITHUB_REF_NAME" out/* --clobberelse# A full release, not a pre-release: the updater reads releases/latest, which skips pre-releases.- gh release create "$GITHUB_REF_NAME" out/* --latest --title "$GITHUB_REF_NAME" --notes-file notes.md+ gh release create "$GITHUB_REF_NAME" out/* --latest --title "$GITHUB_REF_NAME" --notes-file release.mdfidiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 740c427..bd6873d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,10 @@# Changelog+## Unreleased++* **Release pages start with a download table:** the Windows, Linux and macOS installers, each a direct link, above+ the notes. The Updates window leaves the table out and shows a release's warning as plain text.+## 0.9.2* **OmniVoice loads again on new installs:** since transformers 5.25 (2026-12-01), setup installed a version that triesdiff --git a/crates/desktop/src/ui/update.rs b/crates/desktop/src/ui/update.rsindex 90d170e..a27b93a 100644--- a/crates/desktop/src/ui/update.rs+++ b/crates/desktop/src/ui/update.rs@@ -247,8 +247,20 @@ enum Block {fn blocks(md: &str) -> Vec<Block> {let mut raw: Vec<(u8, String)> = Vec::new(); // kind: 0 heading, 1 item, 2 paragraphlet mut open = false;+ let mut downloads = false;for line in md.lines() {let line = line.trim();+ let line = line.strip_prefix('>').map_or(line, str::trim_start);+ if let Some(h) = line.strip_prefix("## ") {+ downloads = h.trim() == "Downloads";+ if downloads || h.trim() == "What's new" {+ open = false;+ continue;+ }+ }+ if downloads || line.starts_with('|') {+ continue;+ }if line.is_empty() {open = false;} else if line.starts_with('#') {@@ -967,6 +979,18 @@ pub fn scenes() -> &'static [super::Scene] {mod tests {use super::*;+ #[test]+ fn the_release_page_download_table_and_warning_markers_stay_out() {+ let md = "> **Do not install this version.** Install the latest.\n\n## Downloads\n\n| Windows | Linux |\n| :---: | :---: |\n| [setup.exe](https://x.y) | [.deb](https://x.y) |\n\n## What's new\n\n* **Fix:** it works.\n";+ assert_eq!(+ blocks(md),+ vec![+ Block::Para("Do not install this version. Install the latest.".into()),+ Block::Item(Some("Fix".into()), "It works.".into()),+ ]+ );+ }+#[test]fn notes_become_headings_bullets_and_paragraphs() {let md = "## Added\n\n* **Romanian:** Speak and Book now offer it.\n More [here](https://x.y) and `code`.\n* plain item\n\nA closing line\nthat wraps.\n";