The upstream app is macOS-only (Swift/SwiftUI, CoreML/WhisperKit) and can't run on Linux or in a container. This adds a native host tool under linux/ that reproduces the workflow: focus any text field, press a hotkey, speak, and the optionally-rewritten text is typed into that field. - Engine: pynput global hotkeys → mic record → local faster-whisper → optional OpenAI-compatible rewrite → xdotool typing into the focused window - Frontends: system tray (AppIndicator, default), tkinter control panel, and headless modes - Config-driven workflows in ~/.config/blitztext/config.toml with per-workflow prompt/model/temperature overrides - Packaging: install.sh, requirements.txt, systemd user unit - Targets X11; local transcription runs CPU int8 on this arm64 host See linux/CHANGELOG.md and linux/README.md for details. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
27 lines
803 B
Desktop File
27 lines
803 B
Desktop File
# Blitztext user service.
|
|
# Install:
|
|
# mkdir -p ~/.config/systemd/user
|
|
# cp blitztext.service ~/.config/systemd/user/
|
|
# # edit ExecStart path below if your checkout differs
|
|
# systemctl --user daemon-reload
|
|
# systemctl --user enable --now blitztext
|
|
#
|
|
# A global-hotkey daemon needs the graphical session, hence the env below.
|
|
[Unit]
|
|
Description=Blitztext dictation daemon
|
|
After=graphical-session.target
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Adjust this path to your checkout location:
|
|
ExecStart=%h/Docker/blitztext-app/linux/.venv/bin/python -m blitztext run
|
|
Environment=DISPLAY=:1
|
|
# If you use rewrite workflows, set your key here or in the unit's environment:
|
|
# Environment=OPENAI_API_KEY=sk-...
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|