Skip to content

Instantly share code, notes, and snippets.

@voidlizard
Created September 6, 2024 05:01
Show Gist options
  • Save voidlizard/6cecc3250e185e3fc131ab9a2652136b to your computer and use it in GitHub Desktop.
Save voidlizard/6cecc3250e185e3fc131ab9a2652136b to your computer and use it in GitHub Desktop.
;; hbs2-peer config file
; listen "0.0.0.0:84"
listen "0.0.0.0:7354"
listen-tcp "tcp://0.0.0.0:3001"
download-threads 1
downloads-del-on-start on
browser-enable on
;; SOCKS5
;; Warning: login/password auth not supported yet
; tcp.socks5 "127.0.0.1:1080"
; listen-tcp "tcp://0.0.0.0:45"
rpc "127.0.0.1:13334"
; default storage is $HOME/.local/share/hbs2
;storage "/home/dmz/.local/share/hbs2-anat"
; edit path to a keyring file
key "./key"
brains "/tmp/hbs2-brains.db"
; accept-block-announce *
poll reflog 5 "BTThPdHKF8XnEq4m6wzbKHKA6geLFK4ydYhBXAqBdHSP"
;; config-nix
poll reflog 5 "Dya78J9zAenyDKk2C1dsiX2c38F7uCDnRuhmo4uNAAan"
poll reflog 5 "Fs2vfMRr8htyA77QEW7q2RMTNg87oxNBQscQRHcgMpJd"
poll reflog 5 "EzPkM5GWzh1wL5X9e6E9NPGKgTmZyoSkhee6fSFcm27z"
poll reflog 5 "2vacqaFoTPbCvAYfwtQekrXSDEFTt2dyLKRmpZ663icX"
poll reflog 5 "2LYpummXo3KN3o8TCMhqgUoeSojEPQt37q4af8dkBfSX"
poll reflog 5 "Dya78J9zAenyDKk2C1dsiX2c38F7uCDnRuhmo4uNAAan"
poll refchan 5 "Atg67E6CPMJWKvR9BvwZTTEjg3Hjz4CYCaEARGANepGP"
poll refchan 5 "A5W6jPBjzvdpxaQ2e8xBLYaRZjPXzi4yX7xjC52gTiKk"
; poll refchan 1 "Hnm2QQPYXtyAQwhEHtwToZp6K5ph4uzKaZn8n8obRQiY"
; poll refchan 5 "5ZHZkatu1GeeHybdBms6xFFBWti1cqJtKAjiMmtDT6XQ"
;[ validate refchan "Atg67E6CPMJWKvR9BvwZTTEjg3Hjz4CYCaEARGANepGP"
; (socket unix "/tmp/validate-Atg67E6CPMJWKvR9BvwZTTEjg3Hjz4CYCaEARGANepGP")
;]
;[ notify refchan "Atg67E6CPMJWKvR9BvwZTTEjg3Hjz4CYCaEARGANepGP"
; (socket unix "/tmp/notify-Atg67E6CPMJWKvR9BvwZTTEjg3Hjz4CYCaEARGANepGP")
;]
;[ notify refchan "Atg67E6CPMJWKvR9BvwZTTEjg3Hjz4CYCaEARGANepGP"
; (socket unix "/tmp/notify-Atg67E6CPMJWKvR9BvwZTTEjg3Hjz4CYCaEARGANepGP-2")
;]
;[ notify refchan "42Eha53t6mMzigjftSmzUzvzY4rK7LHtt9rxBZk3SVEe"
; (socket unix "/tmp/notify-42Eha53t6mMzigjftSmzUzvzY4rK7LHtt9rxBZk3SVEe")
;]
;[ notify refchan "42Eha53t6mMzigjftSmzUzvzY4rK7LHtt9rxBZk3SVEe"
; (socket unix "/tmp/notify-42Eha53t6mMzigjftSmzUzvzY4rK7LHtt9rxBZk3SVEe-2")
;]
; poll reflog 1 "2YNGdnDBnciF1Kgmx1EZTjKUp1h5pvYAjrHoApbArpeX"
; poll reflog 1 "4qjsu7y5umqfFQG978nEUZCHJwd1ZSKrNT5Z74G7tbdo"
; whitelist "35gKUG1mwBTr3tQpjWwR2kBYEnDmHxesoJL5Lj7tMjq3"
; known-peer "192.168.1.49:7353"
; whitelist "35gKUG1mwBTr3tQpjWwR2kBYEnDmHxesoJL5Lj7tMjq3"
; whitelist "5tZfGUoQ79EzFUvyyY5Wh1LzN2oaqhrn9kPnfk6ByHpf"
; whitelist "5tZfGUoQ79EzFUvyyY5Wh1LzN2oaqhrn9kPnfk6ByHpf"
; whitelist "35gKUG1mwBTr3tQpjWwR2kBYEnDmHxesoJL5Lj7tMjq3"
; whitelist "5tZfGUoQ79EzFUvyyY5Wh1LzN2oaqhrn9kPnfk6ByHpf"
; whitelist "35gKUG1mwBTr3tQpjWwR2kBYEnDmHxesoJL5Lj7tMjq3"
; blacklist "BmjRCrSAu33b9XVhfvku4n8iTcr89Mj1r1tn2un4YmbB"
; blacklist "5tZfGUoQ79EzFUvyyY5Wh1LzN2oaqhrn9kPnfk6ByHpf"
http-port 5000
http-download on
trace off
trace1 off
debug on
(rpc unix "/tmp/hbs2-rpc.socket")
;; debug stuff
poll reflog 5 "6CxcJbVoiyZepqyTVEWZ69vHJoKL9N5MZsf1kyxFtVdB"
poll reflog 5 "D42nvdjRBrfnWUmVmcbgdMwTGXuAMXMbdBTRxWK32n8R"
poll reflog 5 "FGwCu3ku3u7JrWstttwQsQ55Ys55wXoaYdkarivVMhTk"
[ refchan-notify-log "ExTZuEy2qVBRshWdSwfxeKcMmQLbK2f5NxRwhvXda9qd"
(write-time 1)
(trim 100000)
]
downloads-del-on-start on
[ browser
( channel
(title "git repositories channel 1")
(alias "git")
(refchan "9zbtm335CDwgZeuutgp6kJFwUQ8Wn68izD5Qpmkr2U99")
(plugin (spawn "hbs2-git-oracle" "pipe" "-r" "9zbtm335CDwgZeuutgp6kJFwUQ8Wn68izD5Qpmkr2U99"))
(description
"Well known refchan with git repositories"
)
)
( channel
(title "git repositories channel 1 DUP")
(refchan "9zbtm335CDwgZeuutgp6kJFwUQ8Wn68izD5Qpmkr2U99")
(alias "git")
(plugin (spawn "hbs2-git-oracle" "pipe" "-r" "9zbtm335CDwgZeuutgp6kJFwUQ8Wn68izD5Qpmkr2U99"))
(description
"Well known refchan with git repositories"
)
)
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment