handy-go-proxy.service
Files / handy-go-proxy / handy-go-proxy.service
Files in handy-go-proxy/
Directoryhandy-go-proxy/
- handy-go-proxy.py 6.8 KB
- handy-go-proxy.service 672 bytes
- LICENSE 1.0 KB
From Dictation on Linux with Handy, and tidy text with OpenCode Go. MIT licence: LICENSE.
# Local proxy from Handy's text clean-up to OpenCode Go, on 127.0.0.1:8082: adds the x-opencode-session header Go# requires (Handy can't send custom headers) and opencode's current sign-in. Starts at login.# Guide: https://blog.jacq.cc/guides/local-voice-dictation-kde-wayland/[Unit]Description=Proxy from Handy's text clean-up to OpenCode Go (127.0.0.1:8082)
[Service]ExecStart=/usr/bin/python3 -I %h/.local/bin/handy-go-proxy.py# opencode must be on this PATH: add its folder if it isn't one of these (dirname "$(command -v opencode)")Environment=PATH=%h/.local/bin:/usr/local/bin:/usr/bin:/binRestart=on-failureRestartSec=5
[Install]WantedBy=default.targetText, photos and drawings: CC BY 4.0. Code: MIT. Share and adapt them, crediting HomeLab Guides (blog.jacq.cc). Licence and privacy