Rui Carmo Sat, 01 Sep 2018 03:31:46 -0700
I myself have similar needs and recently bookmarked this: https://github.com/chaos/diod (but had no time to test it yet).
R.