ActivityWatch / ActivityWatch/aw-import-screentime

Are these the right hostname and bucket name?

Đang mở
#5 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
87
Fork
18
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.