ActivityWatch / ActivityWatch/aw-import-screentime

Are these the right hostname and bucket name?

オープン
#5 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。