darkirc_config.toml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. ## This is the darkirc configuration file.
  2. ## Review it carefully.
  3. ## JSON-RPC listen URL
  4. #rpc_listen = "tcp://127.0.0.1:26660"
  5. ## IRC listen URL
  6. #irc_listen = "tcp://127.0.0.1:6667"
  7. ## TLS certificate path if IRC acceptor uses TLS (optional)
  8. #irc_tls_cert = "/etc/letsencrypt/darkirc/fullchain.pem"
  9. ## TLS secret key path if IRC acceptor uses TLS (optional)
  10. #irc_tls_secret = "/etc/letsencrypt/darkirc/privkey.pem"
  11. ## Sets Datastore Path
  12. #datastore = "~/.local/darkfi/darkirc"
  13. ## List of channels to autojoin for new client connections
  14. autojoin = [
  15. "#dev",
  16. "#memes",
  17. "#philosophy",
  18. "#markets",
  19. "#math",
  20. "#random",
  21. ]
  22. ## IRC server specific password
  23. ## (optional, but once configured, it is required from the IRC client side)
  24. #password = "CHANGE_ME"
  25. # P2P network settings
  26. [net]
  27. ## P2P accept addresses
  28. #inbound = ["tcp+tls://0.0.0.0:26661", "tcp+tls://[::]:26661"]
  29. ## Outbound connection slots
  30. outbound_connections = 8
  31. ## Inbound connection slots
  32. #inbound_connections = 0
  33. ## Addresses we want to advertise to peers (optional)
  34. ## These should be reachable externally
  35. #external_addrs = ["tcp+tls://my.resolveable.address:26661"]
  36. ## Seed nodes to connect to
  37. seeds = [
  38. "tcp+tls://lilith0.dark.fi:5262",
  39. "tcp+tls://lilith1.dark.fi:5262",
  40. ]
  41. ## Manual peers to connect to
  42. #peers = []
  43. # Whitelisted transports for outbound connections
  44. allowed_transports = ["tcp+tls"]
  45. # Enable transport mixing
  46. # Allows mixing transports, e.g. tor+tls:// connecting to tcp+tls://
  47. # By default this is not allowed.
  48. transport_mixing = false
  49. ## ====================
  50. ## IRC channel settings
  51. ## ====================
  52. ##
  53. ## You can create a shared secret with `darkirc --gen-secret`.
  54. ## Never share this secret over unencrypted channels or with someone
  55. ## who you do not want to be able to read all the channel messages.
  56. ## Use it like this example:
  57. #[channel."#foo"]
  58. #secret = "7CkVuFgwTUpJn5Sv67Q3fyEDpa28yrSeL5Hg2GqQ4jfM"
  59. #topic = "My secret channel"
  60. [channel."#dev"]
  61. topic = "DarkFi Development HQ"
  62. [channel."#markets"]
  63. topic = "Crypto Market Talk"
  64. [channel."#math"]
  65. topic = "Math Talk"
  66. [channel."#memes"]
  67. topic = "DarkFi Meme Reality"
  68. [channel."#philosophy"]
  69. topic = "Philosophy Discussions"
  70. [channel."#random"]
  71. topic = "/b/"
  72. ## ================
  73. ## Contact settings
  74. ## ================
  75. ##
  76. ## In this section we configure our contacts and people we want to
  77. ## have encrypted DMs with. Your contacts' public keys should be
  78. ## retrieved manually. Whenever this is changed, you can send a
  79. ## SIGHUP signal to the running darkirc instance to reload these.
  80. ##
  81. ## The secret key used to decrypt direct messages sent to your public
  82. ## key (the counterpart to this secret key).
  83. ## It is also recommended to paste the public key here as a comment in
  84. ## order to be able to easily reference it for sharing.
  85. ##
  86. ## You can generate a keypair with: darkirc --gen-keypair
  87. ## and replace the secret key below with the generated one.
  88. ## **You should never share this secret key with anyone**
  89. #[crypto]
  90. #dm_chacha_secret = "AKfyoKxnHb8smqP2zt9BVvXkcN7pm9GnqqyuYRmxmWtR"
  91. ## This is where you put other people's public keys. The format is:
  92. ## [contact."nickname"]. "nickname" can be anything you want.
  93. ## This is how they will appear in your IRC client when they send you a DM.
  94. ##
  95. ## Example (set as many as you want):
  96. #[contact."satoshi"]
  97. #dm_chacha_public = "C9vC6HNDfGQofWCapZfQK5MkV1JR8Cct839RDUCqbDGK"
  98. #
  99. #[contact."anon"]
  100. #dm_chacha_public = "7iTddcopP2pkvszFjbFUr7MwTcMSKZkYP6zUan22pxfX"