Git Product home page Git Product logo

prowl-jabberbots's Introduction

These are two bots I threw together to make use of the awesome Prowl app for the iPhone prowl.weks.net/

The first bot (monitor.py) registers a list of Jabber accounts to watch, and does a Push notification when those accounts go offline. This is useful if you use BeeJive, or IM+, or any iPhone IM client that boots you off their servers after a certain amount of time. This requires two text files. The first is 'monitor.txt'. Put the monitor account name on the first line (i.e. the new account you'll create to watch other accounts), and the password on the second line. Then, create another file called 'watchlist'. Each line in this file contains two things:

  1. The account to watch (i.e. [email protected])
  2. The Prowl API key that should be notified when that account goes down

The second bot (emailnotify.py) logs into your GMail/GTalk account, and checks for new email. One nice feature is that not only can it notify you about email in your inbox, you can have it watch email in your various labels. Define a file 'labels.txt', with one label per line.

This bot also requires a text file, 'email.txt'. First line is your gmail address, second is your Gmail password, third is your Prowl API key

All of these require the 'prowlpy' library. I have my own version of this hosted at http://github.com/parlarjb/prowlpy/tree/master, which is based off of http://github.com/jacobb/prowlpy/tree/master

There are some standard third party libraries you'll need. xmpppy and httplib2 and PyDNS Those are all installable with pip

jabberbot.py is a SLIGHTLY modified version of the source available here

prowl-jabberbots's People

Contributors

parlarjb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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