ActivityWatch / ActivityWatch/aw-import-screentime

Are these the right hostname and bucket name?

未关闭
#5 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
87
派生
18
PR 合并指标
30 天内没有已合并 PR

描述

Is there a naming convention for `hostname` and `bucket`?

I'm running this script from the same MacOs laptop that I run ActivityWatcher itself from. It seems odd that it creates a whole new hostname---none of the other Watchers I've tried so far does that. It also seems odd to mention "android", since I'm on Mac and an iphone.

Here's the relevant code in `main.py`:
```
hostname = "macos-screentime-test"

# NOTE: 'aw-watcher-android' string is only there for aw-webui to detect it as a mobile device
bucket = f"aw-watcher-android_aw-import-screentime_{hostname}"
```

I'm new to the project, so I don't understand all the moving parts yet. But if you want to point me to documentation, I'd be happy to learn what I can and come back with a PR to improve things.

Thanks for what you're doing with AW! I've wanted something like this for years.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。