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
- Use a current Go toolchain and the upstream repository instructions for the selected revision. The repository exposes the hub command under
cmd/go-hub. - Initialize configuration with the documented command, review the generated
hub.yml, and store secrets outside source control. - Run the service under a dedicated account. Limit write access to configuration, logs, backups, certificates, plugins, and scripts.
- 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.
- 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.
| Label | Link | Description |
|---|---|---|
| go-dcpp Repository | https://github.com/direct-connect/go-dcpp | Official source, README, command examples, and project history. |
| Issue Tracker | https://github.com/direct-connect/go-dcpp/issues | Upstream issue route for reproducible defects and questions that belong to the project. |
| Tags | https://github.com/direct-connect/go-dcpp/tags | Upstream tags for identifying the revision under test or deployment. |
| License | https://github.com/direct-connect/go-dcpp/blob/master/LICENSE | Project license text for the current default branch. |
| GoHub Command Source | https://github.com/direct-connect/go-dcpp/tree/master/cmd/go-hub | Source location for the hub executable and command-specific review. |
| Dockerfile | https://github.com/direct-connect/go-dcpp/blob/master/Dockerfile | Upstream container build definition; review it against the deployed revision. |
| Docker Start Script | https://github.com/direct-connect/go-dcpp/blob/master/start-docker.sh | Upstream container start path and initialization behavior. |
| go-dcpp Package Documentation | https://pkg.go.dev/github.com/direct-connect/go-dcpp | Published Go package API and version context. |
| Hub Package Documentation | https://pkg.go.dev/github.com/direct-connect/go-dcpp/hub | Published documentation for the hub package. |
Related Direct Connect Reading
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.
Comments
No Comments Yet. Start The Conversation.