Giter Site home page Giter Site logo

webtext's Introduction

webtext

Web for old phones through a Raspberry Pi

How to Contribute

You can write yout own service as a backend quite easily. Look at the tutorial HOWTO.

Goals

Task1: I text to my Raspberry some question, I receive its answer within a minute.

Some examples:

  • "train next departure StationA" -> "request received at 13h45: next departure from StationA at 14h15, following one at 15h45"
  • "bikes Railway Station" -> "request received at 17h46: there is 6 bikes left and 5 free slots at the bike station next to the railway station"
  • "train from Paris to Marseille 13th March -> list of trains and prices
  • "bank amount [passphrase]" -> amounts of your bank accounts
  • "forecast Marseille 14th March" -> precise forecast
  • "Gmail subjects list" -> list of (id,subject of id's email)
  • "Gmail body 3" -> body of email whose id=3
  • "movie Mommy Paris 18" -> next film show of Mommy around Paris 18
  • car trafic (e.g., bison futé in France)
  • train trafic (e.g., infolignes)
  • best restaurants around for giving cuisine (e.g. chinese, indian, ...)
  • roadmap for cars (given as a list if directions to follow)

Task2: add the ability to set up SMS notifications for a given request. For instance, we may need to receive a SMS as soon as:

  • a delay is expected for a given metro line or
  • the last bus/metro/wheteveror of the night is expected at a given place in less than 15 minutes or
  • the amount of a bank account becomes negative or lower than X, ...

Task3: I let a voicemail on my raspberry's number with my request, it answers me by SMS.

Tech

Hardware: a Sim Card reader (I bought mine 20€ here), a Sim Card with a 0euro phone plan (e.g., Prixtel in France) only used to receive SMSs, a raspberry Pi. In order to send free SMSs, we use a common feature of most of mobile operators: by sending an email to [phone number]@[mobile operator website], the email is forwarded by SMS to [phone number].

Software: project Weboob (scriptable routines for fetching info from websites), Python and Google scripts to glue everything together. We use Gammu to interact with the SIM card reader.

Roadmap

  1. Task1, focus on train and bikes, interacting with the raspberry pi by letting a voicemail (0 or 1) -> DIRECTLY TASK 2
      • interacting using SMSs
  2. Task2

webtext's People

Contributors

lcbh avatar

Stargazers

 avatar Vincent Cohen-Addad  avatar  avatar

Watchers

James Cloos avatar Vincent Cohen-Addad  avatar  avatar

webtext's Issues

Add a RATP backend

By fetching information from RATP, Vianavigo, http://www.transilien.com/ or whatever, we should write a backend that could answer to requests of the form:

ratp depa luxembourg             (next departures)
ratp depa luxembourg; orly       (next departures for a given direction)
ratp traf rer                    (trafic)
ratp traf metro
ratp itiner luxembourg; porte de vincennes  (roadmap)

We may use https://github.com/laurentb/weboob, https://github.com/pgrimaud/horaires-ratp-api or https://github.com/radium226/vianavigo.

[sncf] new backend

Live information for a given train (platform, delay, etc.). Basically all information that the SNCF Direct app provide.
Ex. "sncf; 12454".

We may use this API.

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.