Torsocks doesn't work on Go programs since they don't use system libraries but use syscalls directly. Torsocks won't say any warnings about this, gomuks just silently won't be proxied over tor.
Go's net/http library by default uses environment variables to determine whether to use a proxy for http connections.
I tried this and it works:
HTTP_PROXY="socks5://127.0.0.1:9050" HTTPS_PROXY="$HTTP_PROXY" gomuks
Torsocks doesn't work on Go programs since they don't use system libraries but use syscalls directly. Torsocks won't say any warnings about this, gomuks just silently won't be proxied over tor.
Go's net/http library by default uses environment variables to determine whether to use a proxy for http connections. I tried this and it works:
HTTP_PROXY="socks5://127.0.0.1:9050" HTTPS_PROXY="$HTTP_PROXY" gomuks
https://gitlab.torproject.org/tpo/core/torsocks/-/issues/22068 https://pkg.go.dev/net/http#ProxyFromEnvironment