tox-weechat/README.md

54 lines
2.1 KiB
Markdown
Raw Normal View History

2014-09-02 18:54:42 +00:00
Tox-WeeChat
===========
2014-09-10 22:29:09 +00:00
Tox-WeeChat is a C plugin for the [WeeChat][1] chat client that enables it to connect to the [Tox][2] network. It is functional, but fairly limited in features for now. Bug reports and suggestions are appreciated.
2014-09-02 18:54:42 +00:00
2014-09-02 20:38:30 +00:00
[![Build Status](https://travis-ci.org/haavardp/tox-weechat.svg?branch=master)](https://travis-ci.org/haavardp/tox-weechat)
2014-09-02 18:54:42 +00:00
Installation
------------
Tox-WeeChat requires [libtoxcore][3] (and WeeChat) to work. After getting them, install Tox-WeeChat like this:
2014-09-02 18:54:42 +00:00
2014-09-02 19:10:00 +00:00
$ git clone https://github.com/haavardp/tox-weechat.git
$ cd tox-weechat
$ mkdir build && cd build
2014-09-11 02:06:20 +00:00
$ cmake -DHOME_FOLDER_INSTALL=ON ..
$ make
$ make install
This installs the plugin binary `tox.so` in the recommended location `~/.weechat/plugins`. To install the plugin somewhere else, replace the cmake command above with either of these:
2014-09-02 18:54:42 +00:00
2014-09-10 22:39:56 +00:00
- To install to `/usr/local/lib/weechat/plugins`: `cmake ..`
- To install to `/usr/lib/weechat/plugins`: `cmake -DCMAKE_INSTALL_PREFIX=/usr ..`
2014-09-11 02:06:20 +00:00
- To install a custom path: `cmake -DINSTALL_PATH=/some/path ..`
2014-09-11 02:07:03 +00:00
You may also need to `sudo make install`, depending on permissions.
2014-09-02 18:54:42 +00:00
Usage
-----
In WeeChat, load the plugin: `/plugin load tox`. In cases where WeeChat can't find the plugin, try specifying the full path to the binary. You should get a new buffer called tox. This is the core Tox buffer, where output from commands will appear.
2014-09-02 18:54:42 +00:00
- To change your name, `/name <new name>`.
- Get your Tox address with `/myaddress`.
- To add friends or respond to friend requests, `/help friend` will get you started.
- Message a friend with `/msg <friend number>`. Get their friend number with `/friend`.
2014-09-02 22:22:35 +00:00
A list of commands is available with `/help -list tox`.
2014-09-02 18:54:42 +00:00
2014-09-10 22:29:09 +00:00
TODO
----
- [ ] Support multiple identities (in progress)
- [ ] Preserve friend requests when closing
- [ ] Group chats
- [ ] Polish and reach a "stable" release
2014-09-02 18:54:42 +00:00
License
---------
Tox-WeeChat is licensed under the MIT license. For more information, see the LICENSE file.
2014-09-02 19:10:00 +00:00
Copyright (c) 2014 Håvard Pettersson <haavard.pettersson@gmail.com>.
2014-09-02 18:54:42 +00:00
[1]: http://weechat.org
[2]: http://tox.im
[3]: https://github.com/irungentoo/toxcore
2014-09-02 19:14:05 +00:00