Commit gráf

13 Commit-ok

Szerző SHA1 Üzenet Dátum
hariel1985
170006ea1f Preserve clipboard contents after paste
- Save clipboard before pasting transcript (text, images, any content)
- Restore original clipboard contents after paste completes
- User's copied content is no longer lost after dictation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 14:14:45 +01:00
hariel1985
51438ea1bb Major update: bundled whisper-cli, model downloader, progress indicator
Features:
- whisper-cli and dependencies bundled in app (no brew required for users)
- Built-in model downloader with 5 model options (Tiny to Large)
- Download progress indicator (e.g., "45% Downloading Small")
- Model selection dropdown in Settings
- First-run wizard for initial model download

Security fixes:
- Input validation for language and model path
- Private temp directory for audio files
- Auto-cleanup of audio files after transcription
- Auto-detect whisper-cli path (ARM/Intel)

Bug fixes:
- Fixed Settings window crash (NSWindowController)
- Fixed model selection with tag-based indexing

Build:
- bundle-whisper.sh script for packaging whisper-cli
- Updated Makefile with Frameworks bundling

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 14:09:36 +01:00
hariel1985
f94265e4c5 Update README with download instructions and model comparison
- Add Quick Install section for DMG download
- Add Build from Source section for developers
- Add Whisper model comparison table (tiny/base/small/medium)
- Note about Intel Mac performance
- Note about Accessibility permission after updates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 13:00:55 +01:00
hariel1985
4e68fee1c1 Auto-detect whisper-cli path for Intel and ARM Macs
- Check multiple paths: /opt/homebrew/bin (ARM), /usr/local/bin (Intel),
  /opt/local/bin (MacPorts), ~/bin (user local)
- Show error status if whisper-cli not found
- Use isExecutableFile to verify binary exists and is executable

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:52:25 +01:00
hariel1985
18bc6186a0 Use private temp directory and auto-cleanup audio files
Security improvements:
- Audio file now stored in user's private NSTemporaryDirectory
- Filename includes process ID to avoid conflicts
- Audio file deleted after transcription (success or failure)
- Audio file deleted when app terminates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:49:04 +01:00
hariel1985
66aed5edbd Add input validation to prevent command injection
Security improvements:
- Language selection now uses dropdown with 31 supported languages
- Model path validated: must be .bin file, no path traversal
- Validation runs before transcription execution
- Invalid inputs show error status instead of executing

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:40:54 +01:00
hariel1985
e155c8d074 Update .gitignore to exclude root binary 2026-02-02 12:36:03 +01:00
hariel1985
b243e198a6 Remove accidentally committed binary 2026-02-02 12:35:53 +01:00
hariel1985
72bac53cbe Add Open Settings buttons to permission dialogs
- Add checkAccessibilityPermission() with AXIsProcessTrusted check
- Permission alerts now have "Open Settings" button
- Button opens directly to the relevant Privacy settings pane
- Import ApplicationServices for accessibility API

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:35:46 +01:00
hariel1985
23129d5067 Add LICENSE and update .gitignore
- Add MIT License
- Ignore macos build directory and compiled binary
- Ignore DMG files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:32:23 +01:00
hariel1985
2dea8574a3 Update README for new project structure
- Add platform support table (macOS ready, Linux/Windows planned)
- Document Settings window features
- Update build instructions for macos/ directory
- Add make command reference

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:32:06 +01:00
hariel1985
1727f4ba5b Restructure for multi-platform support and add Settings UI
- Move macOS code to macos/ directory for platform separation
- Add Settings window with configurable language, model path, and sound toggle
- Add launch at login support using SMAppService
- Add proper .app bundle structure with Info.plist
- Add Makefile for build, install, run, and dmg targets
- Store preferences in UserDefaults for persistence

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:31:42 +01:00
hariel1985
3d9e798f02 Initial commit: WhisperDictate menu bar app
- Global hotkey (⌃⌥D) for voice dictation
- Local Whisper transcription (offline)
- Auto-paste to active app
- Hungarian language default

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:09:39 +01:00