Skip to content

Afrhone/hypergraph-hypernode

Repository files navigation

Hypergraph Hypernode

Version: 2.0.0 Release Date: 2025-01-31 License: MIT

Complete hypernode deployment package for the Hypergraph Meta Cluster network.

Quick Start

# One-command setup
./hypernode_bundle/setup-hypernode.sh

# Or use the CLI
./cli/hypergraph-cli.sh init
./cli/hypergraph-cli.sh start

Documentation

Features

  • Automated Deployment: One-command setup with factory handshake
  • Factory Integration: Ed25519-signed authentication
  • Hypergraph Network: Join metacluster with consensus participation
  • Fabrik Gating: Role and tribe-based access control
  • Multi-Architecture: x86_64, ARM64, Raspberry Pi
  • Service Mesh: Docker Swarm + WireGuard VPN

Architecture

Internet → Nginx (TLS) → API Gateway (Auth) → VPN Mesh → Services

System Requirements

  • OS: Ubuntu 22.04+, Debian 11+, Fedora 39+, Raspberry Pi OS
  • RAM: 2GB minimum (4GB+ recommended)
  • Disk: 20GB minimum (100GB+ recommended)
  • Network: Public IP or NAT traversal
  • Container Engine: Docker 24+ or Podman 4+

Service Profiles

  • Minimal (4 services): API Gateway, Graph, Storage, Webapp
  • Standard (12 services): All minimal + Hypergraph Lab, Semantic Lab, Ledger Bridge, etc.
  • Full (30+ services): All standard + SDR, GPIO, Vision, Weather, Bitcoin, IPFS, etc.

Installation

Automated

curl -fsSL https://hypergraph.dev/install.sh | bash

Manual

# Extract bundle
tar -xzf hypergraph-hypernode-2.0.0.tar.gz
cd hypergraph-hypernode-2.0.0

# Run setup
./hypernode_bundle/setup-hypernode.sh

Configuration

Edit ~/.hypergraph/config.yaml:

node:
  name: "my-hypernode"
  profile: "standard"  # minimal|standard|full

network:
  vpn:
    enabled: true
  docker_swarm:
    enabled: true

security:
  firewall: true
  tls: true
  consent_gating: true

fabrik:
  default_tribe: "public"

CLI Commands

# Initialize node
hypergraph init

# Start services
hypergraph start

# Check status
hypergraph status

# Network management
hypergraph network info
hypergraph network peers

# Factory integration
hypergraph factory register
hypergraph factory status

# Security
hypergraph security audit
hypergraph doctor

API Endpoints

https://NODE_ID.hypergraph.dev
  /api                    # API Gateway
  /api/v1/hypergraph      # Hypergraph Lab
  /api/v1/semantic        # Semantic Lab
  /api/ledger             # Ledger Bridge
  /storage                # Storage Hub
  /ws                     # WebSocket

Deployment Scenarios

Cloud VM

# AWS/GCP/Azure - Ubuntu 22.04, 4GB RAM
./hypernode_bundle/setup-hypernode.sh --profile standard

Raspberry Pi

# Raspberry Pi OS 64-bit
./hypernode_bundle/setup-hypernode.sh --profile minimal

Docker Swarm

# Manager node
docker swarm init
TOKEN=$(docker swarm join-token -q worker)

# Worker nodes
./hypernode_bundle/setup-hypernode.sh --swarm-token $TOKEN

Security

  • Authentication: Ed25519 signatures
  • Encryption: TLS 1.3, WireGuard ChaCha20-Poly1305
  • Authorization: Fabrik role-based gates
  • Consent: Peer quorum for sensitive operations

Monitoring

Troubleshooting

# Run diagnostics
hypergraph doctor

# Check logs
hypergraph logs --verbose

# Re-register with factory
hypergraph factory register

Support

License

MIT License - see LICENSE


Built with ❤️ for the Hypergraph Meta-Cluster

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages