Commit graph

98 commits

Author SHA1 Message Date
CJ Pais
085cd530a3 release v0.8.3 2026-04-27 22:52:35 +08:00
CJ Pais
39e855deb8 release v0.8.2 2026-04-02 08:21:41 +08:00
CJ Pais
233db14d72 release v0.8.1 2026-03-26 09:16:55 +08:00
CJ Pais
557d274db6 release v0.8.0 2026-03-23 08:43:26 +08:00
CJ Pais
a3015026a0
whisper-rs 0.16.0 and ort.rc12 (#1041)
* test build for 0.16.0

* macos 10.15?

* format

* shorter dir for build on windows?

* Update build.yml

* move

* Update build.yml

* long path support

* clang

* try

* try

* move to ort rc12

* use ms prebuilt?

* use lower version for 1.23.1

* download my prebuilt

* Update build.yml

* Update build.yml

* fix?

* fix(nix): use dynamic linking for ort-sys 2.0.0-rc.12

ort-sys rc.12 removed pkg-config support; without ORT_PREFER_DYNAMIC_LINK
it defaults to static linking against ORT_LIB_LOCATION, which fails
because nixpkgs only provides shared libraries (.so).

* fix(nix): override onnxruntime to 1.24.2 for ort-sys rc.12 compatibility

ort 2.0.0-rc.12 enables API v24 by default, but nixpkgs only ships
onnxruntime 1.23.2 (API v23), causing a runtime panic on model load.

Use Microsoft's prebuilt binaries for onnxruntime 1.24.2 via overlay,
patched with autoPatchelfHook for NixOS compatibility.

This overlay should be removed once nixpkgs merges onnxruntime ≥ 1.24:
https://github.com/NixOS/nixpkgs/pull/499389

* updated deps for whisper

* fix(nix): sync devShell with packages for ort-sys rc.12 compatibility

- Extract shared definitions (commonNativeDeps, gstPlugins, commonEnv,
  onnxruntimeOverlay) to avoid duplication between packages and devShells
- Add onnxruntime 1.24.2 overlay to devShell (was only in packages)
- Add BINDGEN_EXTRA_CLANG_ARGS to devShell so bindgen can find stdio.h
  and generate correct vulkan bindings for whisper-rs-sys
- Add ORT_LIB_LOCATION and ORT_PREFER_DYNAMIC_LINK to devShell
- Replace libappindicator with libayatana-appindicator in devShell
- Add onnxruntime and vulkan-loader to devShell LD_LIBRARY_PATH

* fix missing lib in the handy blob dl

* scope lib verification

* dont run bun2nix on windows

---------

Co-authored-by: Evgeny <evgeny.khudoba@yandex.ru>
2026-03-19 15:00:51 +08:00
CJ Pais
d33535cfd3 release v0.7.12 2026-03-19 08:33:28 +08:00
CJ Pais
789a4393e8 release v0.7.11 2026-03-17 12:24:32 +08:00
CJ Pais
426031a8d7 Release v0.7.10 2026-03-10 13:17:20 +08:00
Shehab Tarek
10beb60d63
feat: add portable mode to NSIS installer (#807)
* ci: add temporary test workflow for portable ZIP validation

* ci: fix mock setup in test workflow

* ci: remove temporary test workflow

* feat: add portable mode option to NSIS installer

Custom NSIS template based on tauri-v2.9.1 upstream with 6 targeted
modifications for portable mode support:

- New PortableMode variable and /PORTABLE CLI flag for silent installs
- Install type selection page with Normal/Portable radio buttons
- Conditional default directory (Desktop for portable, LocalAppData for normal)
- Skip registry writes, file associations, deep links, and uninstaller for portable
- Skip Start Menu and desktop shortcuts for portable installs
- Create portable marker file and Data/ directory on portable install

The existing portable.rs runtime detection is unchanged — it looks for the
same marker file this installer creates.

Usage:
  GUI: select "Portable Installation" on the install type page
  Silent: Handy_setup.exe /S /PORTABLE /D=C:\path\to\Handy

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat: implement true portable mode via source code path override

Detect a `portable` marker file next to the executable at startup.
When present, redirect all data paths (settings, models, recordings,
database, logs) to a local `Data/` directory instead of %APPDATA%.

This approach works because it intercepts path resolution at the Rust
level, bypassing Tauri/Windows Shell API limitations that made the
previous environment-variable and junction approaches unreliable.

Changes:
- Add src-tauri/src/portable.rs with OnceLock-based detection
- Replace all app.path().app_data_dir() calls with portable helper
- Configure tauri-plugin-log to use Folder target when portable
- Configure tauri-plugin-store with absolute path when portable
- Simplify build.yml portable ZIP (exe + resources + marker file)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: add missing Manager trait import in portable.rs

The .path() method on AppHandle requires `tauri::Manager` in scope.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: redirect WebView2 cache to portable Data dir

Move main window creation from tauri.conf.json to setup closure so
we can set data_directory when in portable mode. This prevents
WebView2 from creating %LOCALAPPDATA%\com.pais.handy.

Also set data_directory on the recording overlay window.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: auto-detect portable mode during updates

When the Tauri updater runs the installer with /UPDATE, the install type
page is skipped and /PORTABLE is not passed. Detect the existing portable
marker file in .onInit so updates preserve portable mode automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* style: fix prettier formatting in portable.rs and lib.rs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: CJ Pais <cj@cjpais.com>
2026-03-06 12:07:11 +08:00
CJ Pais
998449d2ad release v0.7.9 2026-03-01 22:05:33 +07:00
CJ Pais
52047ae06e release v0.7.8 2026-02-24 23:05:11 +08:00
CJ Pais
74951cfca4 release v0.7.7 2026-02-20 13:25:25 +08:00
CJ Pais
58b95c5c95 release v0.7.6 2026-02-17 13:02:48 +08:00
CJ Pais
36c29b6628 release v0.7.5 2026-02-11 20:29:33 +08:00
CJ Pais
d70d076bdc release v0.7.4 2026-02-11 11:38:14 +08:00
CJ Pais
cba3b71b8d add dep for layer shell 2026-02-10 21:50:45 +08:00
CJ Pais
6a099fb873 release v0.7.3 2026-02-10 12:05:37 +08:00
CJ Pais
9d48605fd7 release v0.7.2 2026-02-08 12:21:21 +08:00
CJ Pais
e2028a4b82 release v0.7.1 2026-02-01 20:58:44 +08:00
CJ Pais
f38b52e123 v0.7.0 2026-01-20 08:31:38 +08:00
CJ Pais
738c5a82d8 release v0.6.11 2026-01-14 09:54:55 +08:00
CJ Pais
c606bf631b release v0.6.10 2026-01-04 07:52:38 +08:00
CJ Pais
d06d318a66 Release v0.6.9 2025-12-23 17:44:01 +07:00
CJ Pais
add9544d86 release v0.6.8 2025-12-12 22:15:00 +07:00
CJ Pais
8ac98b33bb release v0.6.7 2025-12-12 16:54:44 +07:00
CJ Pais
700eb71abb Release v0.6.6 2025-12-11 17:29:35 +07:00
CJ Pais
d2a11ed53b
Refactor History SQLite (#412)
* yolo rewrite history with claude - needs review

* Update history.rs

* format
2025-12-09 21:17:34 +07:00
CJ Pais
933c1b14c2 release v0.6.5 2025-12-08 09:23:56 +07:00
CJ Pais
45e7d01e8a release v0.6.4 2025-11-29 16:45:33 +07:00
CJ Pais
6d6d7fb279 release v0.6.3 2025-11-28 10:18:18 +07:00
CJ Pais
0c5989d824 Release v0.6.2 2025-11-19 11:03:33 +07:00
CJ Pais
c359e3ff17 Release v0.6.1 2025-11-17 13:02:35 +07:00
CJ Pais
3f9d93aa9b release v0.6.0 2025-11-05 18:31:34 -08:00
Luis Eduardo
f7380fa69a
feat: LLM based post-processing (#222)
* Add LLM post-processing feature with settings management and UI integration

* Refactor LLM post-processing settings and prompt selection logic

* Rename CLAUDE.md to more standard AGENTS.md

* Replace Open Router with OpenAI Compatible endpoints for post-processing

* Fix post processing settings api styles

* refactor or something

* simplify

* cleanup a bit?

* remove useless code

* minor improvements

* fix laggy textarea

* Store post-processing results in db

* fix text color

* new default prompt

---------

Co-authored-by: CJ Pais <cj@cjpais.com>
2025-11-05 18:29:03 -08:00
CJ Pais
907a6f0f77 release 0.5.5 2025-11-03 11:17:18 -08:00
CJ Pais
65c1e2dbcb
parakeet v2 support (#116)
* parakeet v2 support

* Update model.rs

* fix parakeet size

* new onboarding UI for parakeet v2 introduction

* tweak height
2025-10-28 16:32:26 -07:00
CJ Pais
0aa86a8cbd Release v0.5.4 2025-10-17 16:58:58 -07:00
CJ Pais
a9a3e7bfd8
display download size + refactor (#221) 2025-10-17 16:57:51 -07:00
Jackson
93215dc097
A few optimizations on startup (#182)
* Use an optimal release profile... load managers & hotkeys first, add a
splash, simplify app handler

* removed splashscreen, hopefully app boots fast enough anyhow

* No need to load transcription model on start now that its loaded on
demand & cleanup

* Make an unloaded model status

* tiny modification to unloading

* update comment

---------

Co-authored-by: CJ Pais <cj@cjpais.com>
2025-10-17 16:05:43 -07:00
CJ Pais
c291b8470f Release v0.5.3 2025-10-13 14:46:23 -07:00
CJ Pais
ee6c60642f release v0.5.2 2025-10-09 19:31:12 -07:00
CJ Pais
3bf4ac819e 0.5.1 2025-09-28 07:44:37 -07:00
CJ Pais
ea375d942b Release v0.5.0 2025-09-09 18:59:50 -07:00
CJ Pais
7be3fac4b1 Release v0.4.2 2025-09-06 14:08:31 -07:00
CJ Pais
76785d5b47 release 0.4.1 2025-09-05 22:19:25 -07:00
CJ Pais
01d7b41058 fix linux history bug? 2025-09-05 22:19:06 -07:00
CJ Pais
40cd7ae71b release v0.4.0 2025-09-05 16:29:16 -07:00
CJ Pais
7638f6b827
basic working history (#104) 2025-09-05 16:25:38 -07:00
CJ Pais
d6684ccb21
UI v2 (#103)
* wip ui

* pretty much fully new settings page

* proper dark/light mode

* slight style tweak for sidebar

* add about
2025-09-05 12:56:55 -07:00
CJ Pais
cd6102c69a Merge branch 'main' of github.com:cjpais/Handy 2025-09-03 19:25:46 -07:00