Sign inSign up

onmydisk/omd-gun-hub

By onmydisk

•Updated 3 days ago

Decentralized GunDB relay, DID identity & P2P sync hub for On My Disk Direct & On My Chat

Image
0

25

onmydisk/omd-gun-hub repository overview

⁠On My Disk — GunDB Relay & Identity Hub (omd-gun-hub)

Lightweight Node.js GunDB relay and Decentralized Identifier (DID) authentication hub for On My Disk Direct⁠ and On My Chat⁠.

Handles encrypted real-time synchronization of chats, user profiles, settings, connected storage/AI devices, and DID certificates across browser sessions and self-hosted nodes.


⁠Configuration

VariableDefaultDescription
REPO_PATH/dataPersistent storage directory for GunDB graph data
GUNHUB_PORT8765HTTP / WebSocket relay port (/gun)
GUN_PEERS(empty)Optional comma-separated peer hub URLs (e.g. wss://hub2.example.com:8765/gun) for multi-hub replication
GOOGLE_CLIENT_ID(optional)OAuth client ID if social sign-in is enabled
DELETE_TOKEN_SECRET(optional)Shared secret required when running clustered hubs

⁠Quick Run

docker run -d \
  --name omd-gun-hub \
  -p 127.0.0.1:8765:8765 \
  -v $(pwd)/gun-data:/data \
  onmydisk/omd-gun-hub:latest

For full gateway deployment alongside onmydisk/onmydisk:direct and coturn, use docker-compose.yml⁠ in the main repository.

Tag summary

Content type

Image

Digest

sha256:d635cb69d…

Size

79.3 MB

Last updated

3 days ago

docker pull onmydisk/omd-gun-hub