GithubHelp home page GithubHelp logo

mombot's Introduction

MomBot was ideated when I got to work one morning soaked by the rain. I remembered the good days when my Mom would remind me to bring am umbrella.

Send a text message from the terminal in 3 lines of code:

  1. Set your configurations in configs.py
  2. Open a python interpreter and type:
> from sms import SMTPServer
> server = SMTPServer()
> server.sendText("parth", "Sup dude?")

Scripts

MomBot's server API is dead simple, making it easy to build a variety of sms based apps. Here are some of my scripts:

  • Weather: Sends me a text every morning with a description of the current weather conditions and temperature in SOMA. She will also tell me whether I should bring an umbrella.
    @todo Store the mean from the past N days and only notify me of the weather change if it is more than M stdevs away from mean.

TODO: I should also check for rain at any point of the work day, not just in the morning.

  • GameDay: Perhaps the most useful. The quality of my 2 hour bart commute is greatly affected by how crowded it is. This module lets MomBot only send me a notification at 5:00pm with a name and time for every Raiders, A's, and Warriors game that will be happening that evening.

  • Inspiration: Sends me a new inpsirational quote of the day every morning right before I wake up. :D

The last 2 were simpler and added for a friend.

  • Epipen: For people with anaphylactic allergies, even the smallest amount of contact, even through cross contamination at restuarents can trigger a life-threatening anaphylaxis reaction. They must inject them selves with epinephrine immediately and be rushed to the hospital. This module let's MomBot reminds the user to carry their epinephrine when dinner time is approaching.

  • Rent: Pay your rent!

WikiBot

On the side, MomBot also has a side gig as a WikiBot . This let's a user text momBot a query prefaced by the word wiki . And wikibot will go and fetch a one-liner from the closest matching wikipedia article:

WikiBot

1/13/17 Update: WikiBot has been decommisioned, mostly because my Twilio free trial expired ages ago.

mombot's People

Contributors

helloparth avatar

Watchers

 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.