{"id":13644428,"url":"https://github.com/direct-connect/go-dcpp","last_synced_at":"2026-01-14T18:10:50.298Z","repository":{"id":57518175,"uuid":"161279397","full_name":"direct-connect/go-dcpp","owner":"direct-connect","description":"Hybrid Direct Connect hub written in Go.","archived":false,"fork":false,"pushed_at":"2020-03-05T16:57:20.000Z","size":837,"stargazers_count":36,"open_issues_count":20,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-10-26T13:57:01.003Z","etag":null,"topics":["adc","dchub","direct-connect","file-sharing","golang","p2p"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/direct-connect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-11T04:58:02.000Z","updated_at":"2025-08-25T16:44:58.000Z","dependencies_parsed_at":"2022-09-16T22:23:01.082Z","dependency_job_id":null,"html_url":"https://github.com/direct-connect/go-dcpp","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/direct-connect/go-dcpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/direct-connect%2Fgo-dcpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/direct-connect%2Fgo-dcpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/direct-connect%2Fgo-dcpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/direct-connect%2Fgo-dcpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/direct-connect","download_url":"https://codeload.github.com/direct-connect/go-dcpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/direct-connect%2Fgo-dcpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28429797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adc","dchub","direct-connect","file-sharing","golang","p2p"],"created_at":"2024-08-02T01:02:04.173Z","updated_at":"2026-01-14T18:10:50.283Z","avatar_url":"https://github.com/direct-connect.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoHub\n\n[![Github Release](https://img.shields.io/github/release/direct-connect/go-dcpp.svg)](https://github.com/direct-connect/go-dcpp/releases)\n\nDirect Connect hub implementation for ADC and NMDC protocols (and beyond).\n\nRequires Go 1.12+.\n\n**Features:**\n\n- Fully multi-threaded.\n- Support NMDC, ADC and IRC users on the same hub.\n- Uses a single port for all protocols (protocol auto-detection).\n- Search and chat between NMDC and ADC.\n- Supports TLS for ADC (`adcs://`) and NMDC (`nmdcs://`).\n- Automatic TLS certificate generation.\n- HTTP(S) pinger support.\n- User registration, profiles and operators.\n- User commands.\n- Chat rooms.\n- Go plugins.\n- LUA scripts.\n- PtokaX LUA scripts support.\n- Flood filters.\n\n**TODO:**\n\n- Spam filters.\n- Get certificates from LetsEncrypt.\n\n### Building on Linux\n\nDownload and install Go 1.12+ from [this page](https://golang.org/dl/),\nor install it with Snap:\n\n```bash\n# install the Snap package manager:\nsudo apt install snapd\n# install the latest stable Go version:\nsudo snap install --classic go\n```\n\nAnd build the hub binary:\n\n```bash\ngo build ./cmd/go-hub\n```\n\n### Building on Windows\n\nDownload and install Go 1.12+ from [this page](https://golang.org/dl/).\nYou may also need to install [Git](https://git-scm.com/download/win).\n\nTo build the hub binary, run:\n\n```bash\ngo build .\\cmd\\go-hub\n```\n\n### Running the hub\n\nFirst, run the hub configuration:\n\n```\n./go-hub init\n```\n\nThis will create a file called `hub.yml` with the default configuration.\n\nTo create a user with admin permissions:\n```\n./go-hub user add \"Bob\" \"MyPass\" root \n```\n\nTo run the hub:\n\n```\n./go-hub serve\n```\n\nCheck help for additional commands and flags:\n\n```\n./go-hub -h\n```\n\n### Profiling\n\nTo enable performance profiling:\n\n```\n./go-hub serve --pprof\n```\n\nA profiling endpoint will be available at http://localhost:6060/debug/pprof.\n\nSee [pprof](https://golang.org/pkg/net/http/pprof/) documentation for more details.\n\n### License\n\nBSD 3-Clause License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirect-connect%2Fgo-dcpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirect-connect%2Fgo-dcpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirect-connect%2Fgo-dcpp/lists"}