Explore your apple health with Grafana
-
使用如下命令,可以直接将json文件推送到server,最后到数据库。可以配合shortcut使用
curl -X POST "http://192.168.2.21:38001/upload/lin" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "file=@test.json"
-
也可以配合shortcut使用,比如
cd ~ && cd Downloads && curl -X POST "http://192.168.2.21:38001/upload/lin" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "file=@$(ls -t HealthAutoExport-*.json | head -n1)" && rm HealthAutoExport*.json
copy .env.example .env
# edit .env
docker compose up -d
- Download Health Auto Export - JSON+CSV from App Store
- Config Automations like this
You might have to pay for it. There's a not free app. You can use
Shortcuts
to do this. But I don't know how to do it. If you know, please tell me.
URL is <your domain>/upload
Such as
http://localhost:8000/upload
https://xxx.railway.app/upload
- Click
Update
👤 Holegots
- Twitter: @fuergaosi
- Github: @fuergaosi233
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator