Skip to content

Link GitHub to your wrist using GitWrist for WearOS, allowing you to see git notifications, like Pull Requests and account info from anywhere -> a fun personal project of mine where the code is a mess; submitted for #fortheloveofcode

License

Notifications You must be signed in to change notification settings

DaytimeDev/GitWrist

Repository files navigation

GitWrist ⌚

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.

GitWrist Preview Image


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

About ℹ️

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.

App Features 🚀

  • 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

Check out the Changelog Here

GitWrist - Link everything important GitHub related to your wrist | Product Hunt

Right now private repos are shown but this requires extra permissions since readonly isn't possible with github; visibility subject to change

⚠️ Warning, this project is in alpha and could encounter errors, please report any you find.

Installation ⤵️

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

1. Install ADB

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).

2. Install the latest stable release

Download the APK file from: GitWrist/Releases

3. Enable Wireless / USB Debugging

Enable Developer Options

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)

Wireless Debugging

  • Enable Wireless Debugging in 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 devices and it should appear.

USB Debugging

  • Enable USB Debugging in developer options
  • Plug in your watch device into your computer, it should now connect via ADB as long as USB Debugging is turned on
  • Then check the device is connected by using adb devices and it should appear.

4. Install the app

  • In the terminal, use the command adb install [your new apk location].apk

Bonus: Updating the app ⤴️

  • 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

About

Link GitHub to your wrist using GitWrist for WearOS, allowing you to see git notifications, like Pull Requests and account info from anywhere -> a fun personal project of mine where the code is a mess; submitted for #fortheloveofcode

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages