Meet GitWrist, a project for WearOS which allows devices to interact with the GitHub API to get information such as the users recent notifications and stats.
This was designed to be a fun project, the code is NOT for production and is a total mess, but feel free to download the app, it's a work in progress
This project is made using Jetpack Compose and written in Kotlin, and relies on the Github API, which also uses a GitHub OAuth app to sign you in.
- Link Git account
- Share your github account with a QR code
- View basic account details such as your username
- View some stats (WIP) like account age, public repos and followers
- View unread notifications and mark them as read from the watch
- Uses
Material 3 Expressive! The new UI library for Android, check it out here: MUI3Expressive - Can have a custom theme, with dynamic colors; once WearOS6 arrives, will use Material You Theming
Right now private repos are shown but this requires extra permissions since readonly isn't possible with github; visibility subject to change
This guide will show you how to use the terminal to install to a device ->
Windows
⚠️ Install steps vary from device to device, the steps given are relatively general but depending on the device that you use to instal on. The steps can become more complicated
If you do not have ADB (Android Debug Bridge), install it here: Android Debug Bridge
If you want to access ADB from anywhere, add the directory to your System Environment PATH Variables, which you can do here: ADB-Path-Setup
Then you should be able to access it in the CLI, if not, try using cd on the ADB directory, it can often be found in C:\Users\example-user\AppData\Local\Android\Sdk\platform-tools and use ./adb rather than adb (as long as its in the directory).
Download the APK file from: GitWrist/Releases
If you don't have developer options enabled, enable them by clicking the build number on your device about page numerous times until you get a message titled "You are now a developer"
(Some watches this may be different and you enable developer options a different way)
Go into the Developer Options of your device, turn on ADB Debugging
if you can plug into your PC, use USB Debugging, otherwise just use Wireless (Make sure you are on the same Wi-Fi network)
- Enable
Wireless Debuggingin developer options and be on the same network as your pc - On your watch you should be able to see
IP address and Port, which looks something like:---.---.--.--:-----, you will need that in a second - Run the command
adb connect (ip address and port) - Then check the device is connected by using
adb devicesand it should appear.
- Enable
USB Debuggingin developer options - Plug in your watch device into your computer, it should now connect via
ADBas long as USB Debugging is turned on - Then check the device is connected by using
adb devicesand it should appear.
- In the terminal, use the command
adb install [your new apk location].apk
- If there is a newer version of the APK, complete steps 1, 2 and 3, then run the command
adb install -r [your new apk location].apk, this will update it but keep your data, if you want to use a custom flag on the install check out ADB Install Commands