Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Watch App Build
on:
push:
branches:
Expand Down
72 changes: 43 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,49 @@
# PebbleNotes
[![Build Status](https://travis-ci.org/MarSoft/PebbleNotes.svg?branch=master)](https://travis-ci.org/MarSoft/PebbleNotes)
# PebbleNotes Revived
## Google Tasks client for Pebble smart watches

This is a Google Tasks client for Pebble smartwatch.
It allows read-only access and an ability to mark tasks as done/undone.
Read-only access and an ability to mark tasks as complete or incomplete with sorting options and due dates. Edit tasks on your preferred app and watch them appear on your watch as long as you have internet access.

You may edit tasks with your preferred client: Gmail web interface,
GTasks android app, NoNonsenceNotes for Android or any iOS client.
As long as your tasks are synchronized with Google and you have
active Internet connection, you will see your latest notes/tasks.
<p align="center">
<a href="https://github.com/ngencokamin/PebbleNotes/actions/workflows/main.yaml?query=branch%3Amaster">
<img alt="GitHub Actions Workflow Status" src="https://github.com/ngencokamin/PebbleNotes/actions/workflows/main.yaml/badge.svg?branch=master" />
</a>
<a href="https://www.buymeacoffee.com/ngencokamin">
<img alt="Buy Me A Coffee" src="https://gist.githubusercontent.com/juliomaqueda/1d4399f36b7350d6a73db6a470826076/raw/3c5d5e222f1805c2698227e4eb9c5458a8742b75/buy_me_a_coffee_badge.svg" />
</a>
</p>

## Notes

This is very much a work in progress. Currently login works, but something is off with the refresh token logic and the app does not stay logged in. The current plan is to implement Google oauth in the pebble settings, which will require *another* total rewrite of the authentication code. Hopefully this will still work on iOS, but I have no way to test. If anyone wants to help test, feel free to check out the master build above. You can use [this docker image](https://github.com/ngencokamin/pebble-docker) to easily sideload the app to your watch without dealing with dependency hell.

Additionally, **I am not a C dev**. Any changes I make are only gonna be for the settings app, the JavaScript connector, and the authentication code. If anyone comfortable working in C/with experience writing Pebble Watch apps wants to help, feel free to make a PR against this repo or reach out at ngencokamin@gmail.com.

## Requirements
Program must work on both Android and iOS devices, because it uses
JavaScript backend for accessing tasks.
It (currently) requires an Internet connection to be active!

## Compatible editors
### Android:
- Tasks Free,
- GTasks,
- NoNonsenceNotes,
- ...
### iOS:
- GTasks,
- GTasks HD,
- GTasks.net,
- ...

~~Program must work on both Android and iOS devices, because it uses
JavaScript backend for accessing tasks.~~

Will work on Android, potentially on iOS.
Requires active internet connection.

## ToDo
- ~~1st generation of app interface (tree-like)~~ - done
- 2nd generation of interface (saving positions, etc)
- Realtime information updates
- Android NoNonsenceNotes integration??
- Cache lists/tasks for offline access
- ...see Issues for more relevant todo
#### ngencokamin

- [x] Rewrite authentication website in Python 3
- [x] Host new version of auth website
- [ ] Rewrite settings in Pebble app to use Google oauth instead of relying on secondary website
- [ ] Update settings and Javascript connector to work with new authentication method
- [ ] Figure out refresh token issue leading to timeouts

#### Potential C Dev(s)

- [x] 1st generation of app interface (tree-like) **Credit MarSoft**
- [ ] 2nd generation of app interface (saving positions, etc)
- [ ] Realtime information updates
- [ ] Cache lists/tasks for offline access

## Credit

[MarsSoft](https://github.com/marsoft) - Wrote the original app

[Cameron Aaron](https://github.com/cameronaaron) - Helped immensely in rewriting the Python auth code