bac30ecfdf
- NetworkConfig/ProxyConfig in config.rs: mode=direct|tor|i2p|socks5 with socks5_addr() helper that maps tor→9050, i2p→4446, socks5→url - build_http_client() routes reqwest through SOCKS5 when configured - build_nostr_opts() routes nostr-sdk WebSocket connections through SOCKS5 using Connection::new().proxy(addr) - Shared http_client passed to Enricher and BlossomClient so proxy applies to TMDB and Blossom blob fetches as well - nostr_opts passed to Reader, WotBuilder, ProfileFetcher - Dashboard: network status card showing proxy mode, listen address, IPv4/IPv6; relay section now shows X connected / Y configured - Publishers: rename vouch form to "Override publisher trust", add clear note that this is local-only (not broadcast to Nostr), explain WoT comes from NIP-02 kind 3; rename column headers for clarity - Example and dev configs updated with network.proxy section
59 lines
914 B
YAML
59 lines
914 B
YAML
server:
|
|
listen: "127.0.0.1:9117"
|
|
base_url: "http://localhost:9117"
|
|
|
|
database:
|
|
path: "/tmp/kindexr-dev.db"
|
|
|
|
logging:
|
|
level: "info"
|
|
format: "text"
|
|
|
|
relays:
|
|
- "wss://relay.damus.io"
|
|
- "wss://nos.lol"
|
|
- "wss://freelay.sovbit.dev"
|
|
- "wss://freelay.sovbit.host"
|
|
|
|
backfill_days: 7
|
|
negentropy_bootstrap: false
|
|
|
|
curation:
|
|
wot_only: false
|
|
follow_depth: 2
|
|
operator_pubkey: ""
|
|
allowlist: []
|
|
blocklist: []
|
|
curation_sets: []
|
|
exclude_categories: []
|
|
auto_block_threshold: 5
|
|
|
|
tmdb:
|
|
enabled: false
|
|
api_key: ""
|
|
cache_ttl: "168h"
|
|
|
|
health:
|
|
enabled: false
|
|
method: "dht"
|
|
refresh_interval: "30m"
|
|
|
|
network:
|
|
proxy:
|
|
mode: "direct"
|
|
url: ""
|
|
|
|
publisher:
|
|
enabled: false
|
|
outbox: []
|
|
publish_delay_secs: 1800
|
|
identity:
|
|
nsec: ""
|
|
bunker_url: ""
|
|
qbittorrent:
|
|
url: "http://127.0.0.1:8080"
|
|
username: "admin"
|
|
password: ""
|
|
poll_interval_secs: 60
|
|
categories: []
|