Coder Social home page Coder Social logo

good-morning-dave's Introduction

good-morning-dave

One stop shop for what you need to know for your work-day.

I have stopped development on this project now that I have Google Now on my phone.

Goals

Provide an interface for getting morning alerts about:

  • Traffic conditions for the input commute
  • Weather for the day

Possible Future Enhancements

  • Sync with calendar for the day
    • Adjust time of notification according to meeting schedule
  • Adjust notification according to commute time

"Too Soon to Discuss" Enhancements

  • Auth with github
  • Persistent DB instead of sqlite

How

Site will be a stand-alone site that you run locally. All the options will be setup for a single user, without auth, to modify. The data model is only to abstract the different preferences like API key to use and what address to center the map on.

Phases

Phase 0

Embed a map with custom params on a web page with the traffic layer.

Phase 1

Abstract the map so that we have db fields that fill in things like:

  • API key
  • Address to center on
  • Zoom level

Phase 2

Add weather information with the following abstracted:

  • API key
  • Temperature type (C/F)
  • Zip code for temperature check
  • Show now and forecast

Phase 3

Augment and expand test coverage.

How Plugins Work

Plugins are as simple as dropping a new partial view into the welcome directory and then adding the appropriate render to the welcome index. Not complicated, but still requiring some manual work as of now. If the plugin includes ruby code, test it. With the google maps plugin, it is reacing out to the google servers for the javascript file(s), so it is wrapped in a if not Rails.env.test? so that it doesn't try to do that in test code. As of now, there are now there are no other tests sfor the view code beyond "does it work."

good-morning-dave's People

Contributors

ausmith avatar

Watchers

James Cloos avatar  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.