|
|
Documentation
jablit documentation
Installation
$ sudo python setup.py install
Library dependency:
- python-xmpp (package name: python-xmpp on ubuntu and debian).
Configuration
Configuration filename: $HOME/.jablit_config.py
A sample one:
jid = "romeo@gmail.com/jablit"
password = "juliet"
server = "talk.google.com"
port = 5223
aliases = {"juliet@gmail.com": "juju"}Another example
jid = "romeo@jabber.org/jablit"
password = "juliet"
server = "jabber.org"
port = 5222
aliases = {
"juliet@gmail.com": "juju",
"gmail@gmail.com": "pouet"
}Commands
list
- who: prints your online contacts
- show: print bufferized messages and don't bufferize incoming messages
- hide: bufferize incoming messages, if you want to read them, you need to use the show or printbuffer command
- printbuffer: print bufferized messages
- status: see if you bufferize message or not
- quit: quit jablit
- jabberid: : send message to jabberid
- alias: : send message to alias
example
text after # are documentation comments
> who o juju gmail.3893EA > hide > juliet@gmail.com: hello ! > juju: hello ! # same as above using the alias > status # juliet sends you 2 messages, you don't know it yet hidden > printbuffer juju => hi ! juju => how are you ? > status hidden > juju: fine ! and you ? > show juju => fine thanks ! > who * juju gmail.3893EA # "*" behind the alias means the user is away
Run jablit
If you didn't install jablit using the setup.py script:
$ python jablit/main.py
If you did:
$ jablit
Sign in to add a comment
