AnarchySpace - Git Code

Code. Create. Rebel.

SOVEREIGN-NETWORK node

Matt

This stripped down version of https://github.com/SOVEREIGN-NET/The-Sovereign-Network

Created: 2025-10-20 04:05:31

🔗 Repository Access

HTTPS URL https://www.anarchyspace.com/git_code/Matt/sovereign_network_node.git

Use the AnarchySpace token system or browser-based pushes.

SSH URL ssh://Matt@anarchyspace.com:22/var/www/html/git_code/Matt/sovereign_network_node.git

Quick login: ssh Matt@anarchyspace.com -p 22 (restricted to /var/www/html/git_code)

Use your AnarchySpace password. Contributors can push updates to other repos, but only the creator can delete or remove them.

Repo created 2025-10-20 05:59:41

📘 Repository README

# 🛰️ 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.

🗂 Repository Files

📂 Project Snippets

No snippets uploaded yet.

💬 Comments

No comments yet.