# �윊� mebeats ![Go](https://github.com/wuhan005/mebeats/workflows/Go/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/wuhan005/mebeats)](https://goreportcard.com/report/github.com/wuhan005/mebeats)
弱뤹교�뎸�렞若욄뿶恙껆럤�빊�뜮�뇞�썓 - Your Soul, Your Beats!
* `cmd/mebeats-client`: the mebeats client. It collects the heart rate data from Mi Band and reports to server.
* `cmd/mebeats-server`: the mebeats sever. It receives the heart rate data and generate the badge.
## Requirement
* MiBand (2, 3, 4, 5, 6)
* macOS 11.3.1 or higher
## Run server
```bash
git clone git@github.com:wuhan005/mebeats.git
cd mebeats/cmd/mebeats-server
go build . && ./mebeats-server --key=<your_secret_key>
```
Server runs on `0.0.0.0:2830`.
## Run client
```bash
git clone git@github.com:wuhan005/mebeats.git
cd mebeats/cmd/mebeats-client
go build . && ./mebeats-client --addr=<mi_band_addr> --auth-key=<mi_band_auth_key> --server-addr=<mebeats_server_addr> --server-key=<your_secret_key>
```
## License
MIT
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
小米手环实时心率数据采集 - Your Soul, Your Beats!.zip (18个子文件)
mebeats-master
go.mod 384B
.github
workflows
go.yml 546B
go.sum 7KB
LICENSE 1KB
cmd
mebeats-server
assets
heart.png 108KB
PressStart2P-Regular.ttf 113KB
main.go 3KB
mebeats-client
main.go 2KB
cryptoutil
aes.go 2KB
miband
state.go 311B
heart_rate.go 1KB
miband.go 5KB
battery.go 426B
notification.go 1KB
report
report.go 994B
.gitignore 295B
Taskfile.yml 351B
README.md 1KB
共 18 条
- 1
资源评论
马coder
- 粉丝: 1202
- 资源: 6602
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功