- Add `AppConfig` and `PresetConfig` models using Pydantic for config validation
- Refactor `read_configurations` to return an `AppConfig` instance
- Implement `OllamaClient` for chat-based server interaction
- Implement `WhisperClient` for transcription via Whisper CLI
- Migrate notification utilities to `libs` directory
- Update tray application to use new clients and config structure
- Simplify Whisper and Ollama integration logic in `WhisperWorker`
Signed-off-by: Max P. <Mail@MPassarello.de>
- Replace direct usage of global configuration dictionaries with local
variables for better readability and maintainability.
- Update all references to use the newly introduced local variables.
Signed-off-by: Max P. <Mail@MPassarello.de>
- Add `preset` argument to `send_cmd` for passing optional presets.
- Modify command formatting to include preset if provided.
- Update CLI to accept an optional `preset` argument.
- Extend socket listener to parse and validate preset values.
- Enhance functionality to allow preset-based dynamic behavior.
Signed-off-by: Max P. <Mail@MPassarello.de>
- Add functionality to save transcription results to a journal file.
- Use current date and time to organize entries in the journal.
- Retain clipboard copy behavior for non-journal modes.
- Enhance error handling for journal writing operations.
Signed-off-by: Max P. <Mail@MPassarello.de>
- Update import statements to remove redundant `src` prefix.
- Improve clarity and maintainability of module references.
Signed-off-by: Max P. <Mail@MPassarello.de>
- Replace `os` with `pathlib` for defining the default config path.
- Simplify configuration file path management for readability.
- Improve code maintainability by centralizing the default path.
Signed-off-by: Max P. <Mail@MPassarello.de>
- Add GitHub Actions workflow for building and publishing packages.
- Introduce `pyproject.toml` for project metadata and dependency management.
- Remove `requirements.txt` in favor of Poetry for dependency handling.
- Restructure source files under `src/pyvtt` for better organization.
- Enhance `notify.py` with sound playback and improve error handling.
- Update `voice_to_text_tray.py` to support dynamic configuration reload.
- Add `.vscode/settings.json` for improved IDE configuration.
- Update `.gitignore` to exclude build artifacts.
Signed-off-by: Max P. <Mail@MPassarello.de>