GithubHelp home page GithubHelp logo

xmpp-http-gateway's Introduction

A simple bot which exposes HTTP verbs over XMPP. Currently only
really useful for HTTP debugging. I plan to add a few new features as time permits:

  • Adding a custom header to the request for user agent detection
  • Allow sending of data for relevant methods
  • Provide access to headers as well as content
  • Provide a mechanism to register processors for responses, for instance validation routines or test searches

Requirements

You’ll need a couple of external libraries to make everything work correctly and deal with the low level XMPP bits.

  1. xmpppy – http://xmpppy.sourceforge.net/
  2. JabberBot – http://thpinfo.com/2007/python-jabberbot/
  3. Python REST Client – http://code.google.com/p/python-rest-client/

Either place these in the same directory as the included files or elsewhere on your Python Path.

Running

  1. Specify your username and password in the settings.py file.
  2. Run the daemon.py command without any arguments.
python daemon.py

Thanks

XMPPY is Copyright Alexey Nezhdanov <[email protected]> and released under the GNU General Public License.

The JabberBot framework is Copyright © 2007 Thomas Perl <[email protected]> and released under the GNU General Public License.

The Python REST Client is released under the terms of the GNU General Public License.

License

This code is licenced under the GNU General Public License. http://www.gnu.org/licenses/gpl.html

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.