nexus-common 0.4.1

Nexus common utils
Documentation
[api]
# Service name used for tracing, logging, and metrics in OpenTelemetry
name = "nexusd.api"
public_addr = "127.0.0.1:8080"

[watcher]
# Service name used for tracing, logging, and metrics in OpenTelemetry
name = "nexusd.watcher"
testnet = false
# Synonym homeserver pubky
homeserver = "8um71us3fyw6h8wbcxb5ar3rwusy1a6u49956ikzojg3gcwd1dty"
events_limit = 50
watcher_sleep = 5000
# User public key to trust for moderating content
moderation_id = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
# Tags on content to de-index when placed by the trusted moderator above
moderated_tags = [
    "hatespeech",
    "harassement",
    "terrorism",
    "violence",
    "illegal_activities",
    "il_adult_nu_sex_act",
]


[stack]
# Logging, options: error, warn, info, debug and trace
log_level = "info"
files_path = "~/.pubky-nexus/static/files"
# OTLP_ENDPOINT is set to empty by default. If you want to enable tracing, set it to the OpenTelemetry Collector endpoint
#otlp_endpoint="http://localhost:4317"

[stack.db]
redis = "redis://127.0.0.1:6379"

[stack.db.neo4j]
uri = "bolt://localhost:7687"
# Not needed in the Community Edition the profile username, just the password
#user = "neo4j"
password = "12345678"