feat: Initial code drop

This commit is contained in:
2025-06-17 18:28:35 +10:00
commit 0e4c5e12a0
13 changed files with 7541 additions and 0 deletions

27
.env.example Normal file
View File

@@ -0,0 +1,27 @@
# Server settings
PORT=3000
# IPFS settings
IPFS_GATEWAY=https://ipfs.io
IPFS_API_URL=http://localhost:5001
IPFS_API_PORT=5001
# Handshake resolution settings
# Options: 'doh', 'dot', 'local'
RESOLUTION_METHOD=doh
# HNSDoH.com settings
HNS_DOH_URL=https://hnsdoh.com/dns-query
HNS_DOT_HOST=hnsdoh.com
HNS_DOT_PORT=853
# Local resolver settings
LOCAL_RESOLVER_HOST=127.0.0.1
LOCAL_RESOLVER_PORT=53
# Cache settings
CACHE_ENABLED=true
CACHE_TTL_SECONDS=3600
# Log settings
LOG_LEVEL=info