Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Simple FIFO and filesystem based Jabber/XMPP client http://23.fi/jj
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
jj jj is a simple FIFO and filesystem based Jabber/XMPP client. jj is inspired by ii IRC client. jj is more tool than traditional instant messanger client. It can be easily extended with normal unix tools. It is perfect for bots and notifications. Interaction with jj is done by writing and reading files from the server directory which jj creates. Quick getting started guide Latest official jj version is 1. It can be downloaded here: http://23.fi/jj/jj-1.tar.gz . The development version can be cloned with git from jj's github page ( https://github.com/Petteri/jj ). To compile jj you need loudmouth and glib development libraries. On Debian install these packages: libloudmouth1-dev libglib2.0-dev Then you can compile jj with make: make Now you should have jj executable. Start it with the line (replace server and user stuff with your own): ./jj -s server.tld -j firstname.lastname@example.org -u user -p password -m User It will create server.tld directory that will contain in file used to communicate to jj and out file for the output. Commands recognize at this point are: /join email@example.com /msg firstname.lastname@example.org for every joined muc there will be a new directory in server.tld/mucs with its own in and out files. Normal users will get a directory in server.tld directory that works in the same way. After you have some mucs or users in server.tld you can just write to in files and read the outfiles. Unix tool echo is nice way to to write, example: echo "/join email@example.com" > server.tld/in Here is an example of the directory tree structure from connection to server.tld. server.tld |-- in |-- mucs | |-- firstname.lastname@example.org | | |-- in | | `-- out | |-- email@example.com | | |-- in | | `-- out | |-- firstname.lastname@example.org | | |-- in | | `-- out | `-- email@example.com | |-- in | `-- out |-- out `-- firstname.lastname@example.org |-- in `-- out Usage example Multi-User Chat Here is a small usage example that shows basic usage. First start up jj. Then join some mucs and finally follow mucs output with tail. ./jj -s server.tld -j email@example.com -u user -p password -m User echo "/join firstname.lastname@example.org" > server.tld/in echo "/join email@example.com" > server.tld/in echo "/join firstname.lastname@example.org" > server.tld/in echo "/join email@example.com" > server.tld/in cd server.tld/mucs tail -f firstname.lastname@example.org/out email@example.com/out firstname.lastname@example.org/out email@example.com 1-to-1 Chat When chatting to only one person you should first initiate the chat by sending first message to server in -file. After that you should use the directory created for the user ./jj -s server.tld -j firstname.lastname@example.org -u user -p password -m User echo "/msg email@example.com hello" > server.tld/in tail -f firstname.lastname@example.org/out echo "Petteri are you getting the messages?" > email@example.com/out Source Code Repository and Issue tracker jj's source code is hosted at Github. There is also an issue tracker which can be used to report bugs. You can also build debug version of jj with make debug, just remember to do make clean first! Contact the author & support You can contact the author by sending email to petteri gmail com or sending XMPP messages to petteri jabber ru. You can also support jj with Bitcoin (Bitcoin address: 1CCC3pdE3iHQdBiiqgsbZNsghPzxYoEfxE ) if you wish. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ xmpp: petteri jabber ru Last modified: Mon Jul 11 15:53:08 EEST 2011