GoHub

GoHub is the hub executable in the go-dcpp project. The upstream project describes go-dcpp as a Direct Connect hub implementation for ADC and NMDC protocols, and its hub can also expose IRC on an auto-detected port. That broad compatibility is useful for migration and interoperability work, but each listener and client path still needs its own test.

This is a Go project, not a generic replacement for every existing hub configuration. Treat the repository, its command documentation, source, and release history as the authority for the revision you install. Do not rely on a copied Docker command or an old blog post without checking it against the checked-out project revision.

Protocols And Operating Model

GoHub can accept ADC, NMDC, and IRC traffic on a shared auto-detected port according to the upstream project. It also documents cross-protocol chat and search behavior. That does not remove protocol-specific constraints: URI schemes, TLS, client features, passwords, transfer connectivity, and hublist registration must still be tested from the same paths that real users will use.

Install, Configure, And Upgrade

  1. Use a current Go toolchain and the upstream repository instructions for the selected revision. The repository exposes the hub command under cmd/go-hub.
  2. Initialize configuration with the documented command, review the generated hub.yml, and store secrets outside source control.
  3. Run the service under a dedicated account. Limit write access to configuration, logs, backups, certificates, plugins, and scripts.
  4. Use Docker only after reviewing the upstream Dockerfile and start script for the exact revision. Pin an image or commit rather than treating a mutable tag as a deployment record.
  5. Before upgrading, take a recoverable backup and test the new revision on a non-public hub with representative ADC, NMDC, and IRC clients.

Extensions, Monitoring, And Safety

The project documents Go plugins, Lua scripts, user profiles, commands, rooms, registrations, and flood filters. Extensions are executable code in the hub's trust boundary: review their source, permissions, configuration, and failure behavior before enabling them. Keep privileged commands and diagnostic endpoints private, and bind optional profiling endpoints only where they are intentionally protected.

Verified GoHub Project Resources

All links below are upstream GitHub or Go package documentation routes. The project has no separately verified official support hub in this source set; use the issue tracker with a concise, reproducible report instead of treating a general community hub as official support.

LabelLinkDescription
go-dcpp Repositoryhttps://github.com/direct-connect/go-dcppOfficial source, README, command examples, and project history.
Issue Trackerhttps://github.com/direct-connect/go-dcpp/issuesUpstream issue route for reproducible defects and questions that belong to the project.
Tagshttps://github.com/direct-connect/go-dcpp/tagsUpstream tags for identifying the revision under test or deployment.
Licensehttps://github.com/direct-connect/go-dcpp/blob/master/LICENSEProject license text for the current default branch.
GoHub Command Sourcehttps://github.com/direct-connect/go-dcpp/tree/master/cmd/go-hubSource location for the hub executable and command-specific review.
Dockerfilehttps://github.com/direct-connect/go-dcpp/blob/master/DockerfileUpstream container build definition; review it against the deployed revision.
Docker Start Scripthttps://github.com/direct-connect/go-dcpp/blob/master/start-docker.shUpstream container start path and initialization behavior.
go-dcpp Package Documentationhttps://pkg.go.dev/github.com/direct-connect/go-dcppPublished Go package API and version context.
Hub Package Documentationhttps://pkg.go.dev/github.com/direct-connect/go-dcpp/hubPublished documentation for the hub package.

Use Direct Connect for protocol context, ADCH++, uHub, and Verlihub to compare hub-server families, Articles for the full library, and Hubs to inspect public hub records.

Parent Page

Comments

No Comments Yet. Start The Conversation.

Add Comment

Comments Here Require An Account. Sign In To Join The Discussion, Or Register For An Account.