Annotate

README @ 473:b2198cd64c5a

disco: Add support for extended disco forms
author Matthew Wild <mwild1@gmail.com>
date Fri, 17 Mar 2023 11:12:01 +0000
parent 374:3267ae7c9217
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
374
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 # Verse
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 Verse is an XMPP library for Lua. It allows you to connect to an XMPP server, as
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 either a client or a component. It also supports connecting over HTTP (BOSH).
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 Currently Verse supports Lua 5.1 and LuaJIT, though support for later versions of
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7 Lua is planned (contributions welcome).
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9 Verse shares some of its underlying code with the Prosody XMPP server. To avoid
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 duplication, the shared files are not part of the Verse project, but are available
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 in Prosody's source repository, and are bundled with official Verse releases.
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
13 ## Features
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
15 - Standard XMPP, including SRV and TLS support
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
16 - Roster management
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
17 - Service discovery
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
18 - Stream management (XEP-0198)
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19 - MUC
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
20 - Ad-hoc commands
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
21 - Jingle (peer-to-peer TCP and file transfer)
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
22 - File transfer proxies
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
23 - Message receipts
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
24 - Pubsub
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
25 - Message archive management
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
26 - PEP
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
27 - Many more...
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
28
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
29 ## Dependencies
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
30
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
31 Verse requires:
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
32
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
33 - LuaSocket
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
34 - LuaExpat
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
35 - LuaSec
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
36
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
37 All these libraries are available for Windows, OS X, many popular Linux distributions, and
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
38 also via LuaRocks.
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
39
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
40 ## Building
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
41
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
42 To generate a self-contained verse.lua:
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
43
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
44 ./configure
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
45 make
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
46
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
47 The configure script will take a guess at the best place to install verse.lua. To install:
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
48
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
49 make install # (may require root, e.g. sudo)
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
50
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
51 If you fetched Verse from its source repository, some files will automatically be fetched
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
52 from Prosody's repository the first time you run 'make'. Official Verse releases already
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
53 include these files.
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
54
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
55 ## Documentation
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
56
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
57 See doc/ for a number of example scripts.
3267ae7c9217 README: Add README file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
58