Git Product home page Git Product logo

habitual-for-pebble's Introduction

Habitual

Habitual Marketing Banner

Habitual is a simple and smart-looking watchface that aims to help you pick up habits.

Use the Pebble app to enter up to five lines of custom text, reminding yourself to drink water, to continue working on that novel, to learn French and so on. Habitual will rotate between your custom reminders every 5 minutes.

Design + Reference

I'm new to Pebble development, so this watchface may be rough around the edges.

Habitual is written as a native watchface in C (src/main.c), with a PebbleKit JS component (src/js/app.js), which allows for communication between the watchface and the user's phone. It allows users to set custom habits through a settings page, which is hosted on Amazon S3 and (obviously) accessible through the settings button in the Pebble app. The webpage used for configuration is included in this repo, at web_config/habitual_config.html.

I have tried to be descriptive through in-line comments, so feel free to use this watchface as reference material. For an in-depth guide on how to implement user configuration in a Pebble project, check out this blog post I wrote.

Contributing

I used CloudPebble to write and test this watchface. The repo loosely follows the folder structure generated by it. I do not have experience with the Pebble SDK, but I have included whatever build script it generates (wscript), so you should be able to clone and compile.

Alternatively, you should be able to set up a new CloudPebble project and manually insert files from this repo into it to help you compile and test.

If you want to contribute, try adding support for custom colors on Basalt and Chalk platforms.

Contact

If you wish to contact me about this project for any reason, reach me @Antrikshy or message u/Antrikshy on reddit.

habitual-for-pebble's People

Contributors

antrikshy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.