# HG changeset patch # User Matthew Wild # Date 1451668295 0 # Node ID 3267ae7c9217ce02a0f0bc9dcbfb4fa407061f8a # Parent 39090da18b831860b78ba555780ceab19a827a20 README: Add README file diff -r 39090da18b83 -r 3267ae7c9217 README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Fri Jan 01 17:11:35 2016 +0000 @@ -0,0 +1,58 @@ +# Verse + +Verse is an XMPP library for Lua. It allows you to connect to an XMPP server, as +either a client or a component. It also supports connecting over HTTP (BOSH). + +Currently Verse supports Lua 5.1 and LuaJIT, though support for later versions of +Lua is planned (contributions welcome). + +Verse shares some of its underlying code with the Prosody XMPP server. To avoid +duplication, the shared files are not part of the Verse project, but are available +in Prosody's source repository, and are bundled with official Verse releases. + +## Features + + - Standard XMPP, including SRV and TLS support + - Roster management + - Service discovery + - Stream management (XEP-0198) + - MUC + - Ad-hoc commands + - Jingle (peer-to-peer TCP and file transfer) + - File transfer proxies + - Message receipts + - Pubsub + - Message archive management + - PEP + - Many more... + +## Dependencies + +Verse requires: + + - LuaSocket + - LuaExpat + - LuaSec + +All these libraries are available for Windows, OS X, many popular Linux distributions, and +also via LuaRocks. + +## Building + +To generate a self-contained verse.lua: + + ./configure + make + +The configure script will take a guess at the best place to install verse.lua. To install: + + make install # (may require root, e.g. sudo) + +If you fetched Verse from its source repository, some files will automatically be fetched +from Prosody's repository the first time you run 'make'. Official Verse releases already +include these files. + +## Documentation + +See doc/ for a number of example scripts. +