{"id":16331332,"url":"https://github.com/midoks/go-p2p-server","last_synced_at":"2025-10-25T22:30:47.456Z","repository":{"id":76206825,"uuid":"424370746","full_name":"midoks/go-p2p-server","owner":"midoks","description":"go p2p server","archived":false,"fork":false,"pushed_at":"2022-04-09T08:26:50.000Z","size":31241,"stargazers_count":6,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T10:51:16.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/midoks.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-03T20:28:48.000Z","updated_at":"2024-12-01T15:27:37.000Z","dependencies_parsed_at":"2023-03-11T21:45:15.924Z","dependency_job_id":null,"html_url":"https://github.com/midoks/go-p2p-server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midoks%2Fgo-p2p-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midoks%2Fgo-p2p-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midoks%2Fgo-p2p-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/midoks%2Fgo-p2p-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/midoks","download_url":"https://codeload.github.com/midoks/go-p2p-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238216913,"owners_count":19435614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-10T23:26:38.861Z","updated_at":"2025-10-25T22:30:37.478Z","avatar_url":"https://github.com/midoks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-p2p-server\nWeb P2P 服务器，依托[cdnbye](https://www.cdnbye.com)的源码和[klink.tech](https://klink.tech)页面而开发的服务器。\n\n# 前端\n- https://github.com/midoks/hlsjs-p2p-free\n\n# 应用地址\n- https://gop2p.cachecha.com\n\n## 接入\n```\nvar hlsjsConfig = {\n    debug: true,\n    // Other hlsjsConfig options provided by hls.js\n    p2pConfig: {\n    \tannounce: \"https://gop2p.cachecha.com\",\n        wsSignalerAddr: 'wss://gop2p.cachecha.com/ws',\n        logLevel: 'debug',\n        // Other p2pConfig options if applicable\n    }\n};\n// Hls constructor is overriden by included bundle\nvar hls = new Hls(hlsjsConfig);\n// Use hls just like the usual hls.js ...\nhls.loadSource(contentUrl);\nhls.attachMedia(video);\nhls.on(Hls.Events.MANIFEST_PARSED,function() {\n    video.play();\n});\n```\n\n## 快速安装\n\n```\ncurl -fsSL  https://raw.githubusercontent.com/midoks/go-p2p-server/master/scripts/install.sh | sh\n```\n\n## 快速开发\n```\ncurl -fsSL  https://raw.githubusercontent.com/midoks/go-p2p-server/master/scripts/install_dev.sh | sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidoks%2Fgo-p2p-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmidoks%2Fgo-p2p-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmidoks%2Fgo-p2p-server/lists"}