https://github.com/activitywatch/aw-android

ActivityWatch for Android, using aw-server-rust as backend.

https://github.com/activitywatch/aw-android

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary

Keywords

activitywatch android rust

Keywords from Contributors

webui
Last synced: 6 months ago · JSON representation

Repository

ActivityWatch for Android, using aw-server-rust as backend.

Basic Info
  • Host: GitHub
  • Owner: ActivityWatch
  • License: mpl-2.0
  • Language: Kotlin
  • Default Branch: master
  • Homepage:
  • Size: 820 KB
Statistics
  • Stars: 205
  • Watchers: 9
  • Forks: 30
  • Open Issues: 59
  • Releases: 25
Topics
activitywatch android rust
Created about 7 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

aw-android

GitHub Actions badge Play Store ratings

A very work-in-progress ActivityWatch app for Android.

Available on Google Play:

Usage

Install the APK from the Play Store or from the GitHub releases.

For Oculus Quest

Note At some point a Quest system upgrade broke the ability to allow ActivityWatch access to usage stats. This can be fixed by manually assigning the needed permission using adb: adb shell appops set net.activitywatch.android android:get_usage_stats allow

It's available on SideQuest.

Building

To build this app you first need to build aw-server-rust (./aw-server-rust) and aw-webui (./aw-server-rust/aw-webui).

If you haven't already, initialize the submodules with: git submodule update --init --recursive

Building aw-server-rust

Note If you don't want to go through the hassle of getting Rust up and running, you can download the jniLibs from aw-server-rust CI artifacts and place them in mobile/src/main/jniLibs manually instead of following this section.

To build aw-server-rust you need to have Rust nightly installed (with rustup). Then you can build it with:

export ANDROID_NDK_HOME=`pwd`/aw-server-rust/NDK # The path to your NDK pushd aw-server-rust && ./install-ndk.sh; popd # This configures the NDK for use with Rust, and installs the NDK if missing env RELEASE=false make aw-server-rust # Set RELEASE=true to build in release mode (slower build, harder to debug)

Note The Android NDK will be downloaded by install-ndk.sh to aw-server-rust/NDK if ANDROID_NDK_HOME not set. You can create a symlink pointing to the real location if you already have it elsewhere (such as /opt/android-ndk/ on Arch Linux).

Building aw-webui

To build aw-webui you need a recent version of node/npm installed. You can then build it with make aw-webui.

Putting it all together

Once both aw-server-rust and aw-webui is built, you can build the Android app as any other Android app using Android Studio.

Making a release

To make a release, make a signed tag and push it to GitHub:

sh git tag -s v0.1.0 git push origin refs/tags/v0.1.0

This will trigger a GitHub Actions workflow which will build the app and upload it to GitHub releases, and deploy it to the Play Store (including the metadata in ./fastlane/metadata/android).

More info

For more info, check out the main ActivityWatch repo.

Owner

  • Name: ActivityWatch
  • Login: ActivityWatch
  • Kind: organization

Open source time-tracking application with a focus on extensibility and privacy.

GitHub Events

Total
  • Issues event: 15
  • Watch event: 36
  • Issue comment event: 21
  • Fork event: 2
Last Year
  • Issues event: 15
  • Watch event: 36
  • Issue comment event: 21
  • Fork event: 2

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 226
  • Total Committers: 5
  • Avg Commits per committer: 45.2
  • Development Distribution Score (DDS): 0.031
Past Year
  • Commits: 55
  • Committers: 1
  • Avg Commits per committer: 55.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Erik Bjäreholt e****k@b****t 219
nicolae s****e@g****m 4
Bill Ang Li b****i@h****m 1
Miguel Rochefort m****t@g****m 1
hari h****i@g****n 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 96
  • Total pull requests: 39
  • Average time to close issues: 4 months
  • Average time to close pull requests: 26 days
  • Total issue authors: 54
  • Total pull request authors: 12
  • Average comments per issue: 2.6
  • Average comments per pull request: 1.56
  • Merged pull requests: 21
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 16
  • Pull requests: 3
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Issue authors: 11
  • Pull request authors: 3
  • Average comments per issue: 0.94
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • ErikBjare (19)
  • nicolae-stroncea (5)
  • rakleed (5)
  • 8bitgentleman (4)
  • RokeJulianLockhart (4)
  • tlcameron3 (3)
  • jzheng23 (2)
  • mio-19 (2)
  • petrroll (2)
  • brayo-pip (2)
  • amitamitamitamit (2)
  • Alwinator (2)
  • thelazyoxymoron (2)
  • kovasap (2)
  • NicoWeio (2)
Pull Request Authors
  • ErikBjare (23)
  • murphyalexandre (3)
  • brayo-pip (3)
  • nicolae-stroncea (3)
  • ShootingKing-AM (3)
  • Poussinou (2)
  • dependabot[bot] (2)
  • EvertJanDeBruin (1)
  • kovasap (1)
  • harigl (1)
  • miguelrochefort (1)
  • billangli (1)
Top Labels
Issue Labels
help wanted (3) bug (3) priority: high (2) duplicate (2) ci (1)
Pull Request Labels
dependencies (1) github_actions (1)

Dependencies

mobile/build.gradle maven
  • androidx.annotation:annotation 1.1.0 implementation
  • androidx.appcompat:appcompat 1.2.0 implementation
  • androidx.cardview:cardview 1.0.0 implementation
  • androidx.constraintlayout:constraintlayout 2.0.4 implementation
  • androidx.legacy:legacy-support-v4 1.0.0 implementation
  • androidx.lifecycle:lifecycle-extensions 2.2.0 implementation
  • androidx.recyclerview:recyclerview 1.1.0 implementation
  • com.google.android.material:material 1.3.0 implementation
  • com.jakewharton.threetenabp:threetenabp 1.1.1 implementation
  • org.jetbrains.kotlin:kotlin-stdlib-jdk7 $kotlin_version implementation
  • junit:junit 4.12 testImplementation
Gemfile rubygems
  • fastlane >= 0
Gemfile.lock rubygems
  • CFPropertyList 3.0.5
  • addressable 2.8.0
  • artifactory 3.0.15
  • atomos 0.1.3
  • aws-eventstream 1.2.0
  • aws-partitions 1.608.0
  • aws-sdk-core 3.131.3
  • aws-sdk-kms 1.58.0
  • aws-sdk-s3 1.114.0
  • aws-sigv4 1.5.0
  • babosa 1.0.4
  • claide 1.1.0
  • colored 1.2
  • colored2 3.1.2
  • commander 4.6.0
  • declarative 0.0.20
  • digest-crc 0.6.4
  • domain_name 0.5.20190701
  • dotenv 2.7.6
  • emoji_regex 3.2.3
  • excon 0.92.3
  • faraday 1.10.0
  • faraday-cookie_jar 0.0.7
  • faraday-em_http 1.0.0
  • faraday-em_synchrony 1.0.0
  • faraday-excon 1.1.0
  • faraday-httpclient 1.0.1
  • faraday-multipart 1.0.4
  • faraday-net_http 1.0.1
  • faraday-net_http_persistent 1.2.0
  • faraday-patron 1.0.0
  • faraday-rack 1.0.0
  • faraday-retry 1.0.3
  • faraday_middleware 1.2.0
  • fastimage 2.2.6
  • fastlane 2.207.0
  • fastlane-plugin-increment_version_code 0.4.3
  • gh_inspector 1.1.3
  • google-apis-androidpublisher_v3 0.25.0
  • google-apis-core 0.7.0
  • google-apis-iamcredentials_v1 0.13.0
  • google-apis-playcustomapp_v1 0.10.0
  • google-apis-storage_v1 0.18.0
  • google-cloud-core 1.6.0
  • google-cloud-env 1.6.0
  • google-cloud-errors 1.2.0
  • google-cloud-storage 1.37.0
  • googleauth 1.2.0
  • highline 2.0.3
  • http-cookie 1.0.5
  • httpclient 2.8.3
  • jmespath 1.6.1
  • json 2.6.2
  • jwt 2.4.1
  • memoist 0.16.2
  • mini_magick 4.11.0
  • mini_mime 1.1.2
  • multi_json 1.15.0
  • multipart-post 2.0.0
  • nanaimo 0.3.0
  • naturally 2.2.1
  • optparse 0.1.1
  • os 1.1.4
  • plist 3.6.0
  • public_suffix 4.0.7
  • rake 13.0.6
  • representable 3.2.0
  • retriable 3.1.2
  • rexml 3.2.5
  • rouge 2.0.7
  • ruby2_keywords 0.0.5
  • rubyzip 2.3.2
  • security 0.1.3
  • signet 0.17.0
  • simctl 1.6.8
  • terminal-notifier 2.0.0
  • terminal-table 1.8.0
  • trailblazer-option 0.1.2
  • tty-cursor 0.7.1
  • tty-screen 0.8.1
  • tty-spinner 0.9.3
  • uber 0.1.0
  • unf 0.1.4
  • unf_ext 0.0.8.2
  • unicode-display_width 1.8.0
  • webrick 1.7.0
  • word_wrap 1.0.0
  • xcodeproj 1.22.0
  • xcpretty 0.3.0
  • xcpretty-travis-formatter 1.0.1
.github/workflows/build.yml actions
  • actions-rs/toolchain v1 composite
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • actions/download-artifact v3 composite
  • actions/setup-java v1 composite
  • actions/setup-node v1 composite
  • actions/setup-ruby v1 composite
  • actions/upload-artifact v3 composite
  • adnsio/setup-age-action v1.2.0 composite
  • android-actions/setup-android v2 composite
  • nowsprinting/check-version-format-action v2 composite
  • softprops/action-gh-release v1 composite