Coder Social home page Coder Social logo

pebble_timeline_fortune_demo's Introduction

pebble_timeline_fortune_demo

Pebble timeline app showing random daily fortunes. Extremely minimal app (python, js, c) to help beginners.

Based off of the Daily Fortune app for Timeline in the Pebble appstore (removed universal timezone support to simplify example)
https://apps.getpebble.com/applications/55af2f53ac7b440eed000038 Daily Fortune

Fortune

Uses

  • pypebbleapi for timeline pins with subscription ** fortune_timeline.py = 21 lines of code
  • pebble javascript subscribing user to fortune timeline topic ** pebble-js-app.js = 9 lines of code
  • minimal required c application running on watch ** fortune_timeline.c = 5 lines of code

PythonAnywhere.com

Original Daily Fortune Timeline Server was hosted using the free pythonanywhere.com As it has almost no setup overhead

  • create free account
  • upload python file (or edit using their browser-based text editor)
  • enter time to schedule python code to run on the server (or click run button to test)

Fortunes

Additionally this example includes a python3 supported version of fortune.py, based off the command-line fortune app, providing fortunes and quotes from fortune files. fortune.py

pebble_timeline_fortune_demo's People

Contributors

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