# 🛰️ Sovereign Network Node A minimalist, universal ZHTP mesh node built for peer-to-peer sovereignty. ## ✅ Features - Runs a ZHTP JSON-RPC interface over HTTP (port 4200 by default) - Supports lightweight citizen broadcasting via key files - Can auto-register users via CLI or PHP - Fully self-contained and non-centralized ## 🔧 Setup ```bash # Clone your node (replace host and path as needed) git clone https://www.anarchyspace.com/git_code/Matt/sovereign_network_node.git cd sovereign_network_node # Install optional dependencies (if you plan to extend the node) npm install # Start the node node zhtp_node.js ``` ## 🔁 JSON-RPC Smoke Test ```bash curl -s http://localhost:4200 \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"ping","params":[]}' ``` ## 🔑 Registering Users ```bash # CLI helper ./register_user.sh alice # Via PHP endpoint curl -X POST https://your-host/git_code/Matt/sovereign_network_node/auto_register.php \ -d 'user_id=alice' ``` ## 🛰 Deployment Tips 1. Ensure `/var/www/html/git_code/Matt/sovereign_network_node.git` is the bare repo that serves HTTP/SSH clones. 2. Mount or persist the `users/` directory if the node is stateful. 3. Keep your SSH credentials safe — contributors can push updates, but only the creator can delete the repo.