{"id":13582518,"url":"https://github.com/likexian/stathub-go","last_synced_at":"2025-04-06T14:30:59.311Z","repository":{"id":30219777,"uuid":"33770816","full_name":"likexian/stathub-go","owner":"likexian","description":"A smart Hub for holding server stat","archived":false,"fork":false,"pushed_at":"2022-05-16T14:45:58.000Z","size":1452,"stargazers_count":676,"open_issues_count":7,"forks_count":124,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-11-05T22:41:34.672Z","etag":null,"topics":["golang","monitor","server","stat"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/likexian.png","metadata":{"files":{"readme":"README-ZH.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":"2015-04-11T09:53:39.000Z","updated_at":"2024-10-25T16:17:58.000Z","dependencies_parsed_at":"2022-08-27T16:40:21.757Z","dependency_job_id":null,"html_url":"https://github.com/likexian/stathub-go","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likexian%2Fstathub-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likexian%2Fstathub-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likexian%2Fstathub-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likexian%2Fstathub-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/likexian","download_url":"https://codeload.github.com/likexian/stathub-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247495768,"owners_count":20948105,"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":["golang","monitor","server","stat"],"created_at":"2024-08-01T15:02:47.581Z","updated_at":"2025-04-06T14:30:58.993Z","avatar_url":"https://github.com/likexian.png","language":"Go","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=VXJZTJEZTLUM8"],"categories":["Go"],"sub_categories":[],"readme":"# Stat Hub\n\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)\n[![GoDoc](https://godoc.org/github.com/likexian/stathub-go?status.svg)](https://godoc.org/github.com/likexian/stathub-go)\n[![Build Status](https://travis-ci.org/likexian/stathub-go.svg?branch=master)](https://travis-ci.org/likexian/stathub-go)\n[![Go Report Card](https://goreportcard.com/badge/github.com/likexian/stathub-go)](https://goreportcard.com/report/github.com/likexian/stathub-go)\n[![Download Total](https://img.shields.io/github/downloads/likexian/stathub-go/total.svg)](https://github.com/likexian/stathub-go/releases)\n[![Paypal Donate](https://img.shields.io/badge/donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=VXJZTJEZTLUM8)\n\nA smart Hub for holding server stat\n\n[English README](README.md) | [中文说明](README-ZH.md)\n\n## 总揽\n\nStat Hub 是一个帮您收集并展示众多服务器状态的服务。\n\n它由两部分组成，一是服务端，用于接收、储存和展示状态；另一个是客户端，它用于收集并发送状态到服务端。而这一切，您只需要一个二进制文件。\n\n## 演示\n\n![demo](doc/demo.png)\n\n## 特性\n\n- Golang 编写\n- 只需一个文件就可以完成一切\n- 部署简单，没有依赖不需要数据库\n- 支持SSL安全，支持域名访问，安全并简单\n\n## 安装\n\n请选择其中一台服务器做主服务器，并按以下说明在上面安装服务端。\n\n### Linux (如果有curl)\n\n    curl --insecure https://raw.githubusercontent.com/likexian/stathub-go/master/setup.sh | sh\n\n### Linux (如果有wget)\n\n    wget --no-check-certificate -O - https://raw.githubusercontent.com/likexian/stathub-go/master/setup.sh | sh\n\n### 在您电脑的浏览器打开它\n\n对于大多数系统，到这里服务已经成功安装并启动了，现在您可以通过本地电脑上的浏览器打开它。\n\n默认URL是\n\n    https://ip:15944\n\n输入默认密码: likexian\n\n### 添加一个客户端\n\n按以下提示操作\n\n    https://ip:15944/help\n\n## FAQ\n\n- 我添加了一个客户端，为什么没有数据显示？\n\n    请在客户端查看 client.log 的内容看看出错原因。\n\n- 我可以使用域名而不是 IP 访问页面吗？\n\n    当然可以，请在域名解析中添加一条指向服务器端 IP 的 A 记录，然后用 https://子域名.域名:15944 访问即可。\n\n- 我可以用 https 访问页面吗？\n\n    没问题，并且SSL是默认启用的，不过用的是自签名证书。\n\n- 我可以不用自签名证书，而是使用自己的有效证书吗？\n\n    当然可以，并且强烈推荐这么做。请用您的证书替换掉 cert 目录里对应的文件。\n\n- 我可以跟 nginx 一起部署吗？\n\n没问题，请将以下配置加到 nginx 配置文件。\n\n    location / {\n        proxy_pass https://127.0.0.1:15944;\n        proxy_set_header X-Real-IP $remote_addr;\n    }\n\n## 依赖\n\n- [github.com/likexian/gokit](https://github.com/likexian/gokit)\n- [github.com/likexian/host-stat-go](https://github.com/likexian/host-stat-go)\n- [github.com/likexian/simplejson-go](https://github.com/likexian/simplejson-go)\n\n## 版权协议\n\nCopyright 2015-2019 Li Kexian\n\nLicensed under the Apache License 2.0\n\n## 关于\n\n- [Li Kexian](https://www.likexian.com/)\n\n## 赞赏\n\n- [Help me make perfect](https://www.likexian.com/donate/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikexian%2Fstathub-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flikexian%2Fstathub-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikexian%2Fstathub-go/lists"}