2015-08-26 20:11:57 +02:00
|
|
|
# Tox-WeeChat
|
2015-01-06 15:26:19 +01:00
|
|
|
Tox-WeeChat is a [Tox][1] protocol plugin for [WeeChat][2]. It is functional,
|
2017-02-04 01:06:24 +01:00
|
|
|
but lacks certain features that might be expected of a full-fledged Tox client.
|
2014-09-02 20:54:42 +02:00
|
|
|
|
2017-02-11 04:08:26 +01:00
|
|
|
Tox-WeeChat is compliant with all "Required" points in the [Tox Client
|
|
|
|
Standard][3].
|
|
|
|
|
|
|
|
[![Build Status](https://travis-ci.org/haavard/tox-weechat.svg?branch=master)][4]
|
2014-09-02 22:38:30 +02:00
|
|
|
|
2015-08-26 20:11:57 +02:00
|
|
|
## Features
|
2017-02-04 01:06:24 +01:00
|
|
|
- One-to-one chats
|
|
|
|
- Group chats (text only)
|
|
|
|
- Proxy support
|
|
|
|
- Multiple profiles
|
|
|
|
- Encrypted save files
|
2018-05-22 13:47:53 +02:00
|
|
|
- File transfer
|
2014-11-19 12:37:19 +01:00
|
|
|
|
2015-08-26 20:11:57 +02:00
|
|
|
## Installation
|
2018-12-22 21:23:00 +01:00
|
|
|
Tox-WeeChat is tested with [WeeChat][2] 2.3 and [TokTok c-toxcore][5] 0.2.8.
|
2017-02-11 04:08:26 +01:00
|
|
|
It also requires CMake 2.8.12 or newer to be built. Installation is fairly
|
2017-02-04 01:06:24 +01:00
|
|
|
simple; after getting the source code, compile and install with CMake:
|
2014-09-02 20:54:42 +02:00
|
|
|
|
2014-09-02 23:27:53 +02:00
|
|
|
$ mkdir build && cd build
|
2014-10-11 13:16:18 +02:00
|
|
|
$ cmake -DPLUGIN_PATH=~/.weechat/plugins ..
|
2014-09-11 04:06:20 +02:00
|
|
|
$ make install
|
|
|
|
|
2015-01-06 15:26:19 +01:00
|
|
|
This installs the plugin binary `tox.so` to the recommended location
|
|
|
|
`~/.weechat/plugins`. The default location is `/usr/local/lib/weechat/plugins`.
|
2014-09-02 20:54:42 +02:00
|
|
|
|
2015-08-26 20:11:57 +02:00
|
|
|
## Usage
|
2015-01-06 15:26:19 +01:00
|
|
|
- If the plugin does not load automatically, load it with `/plugin load tox`.
|
2017-02-11 04:08:26 +01:00
|
|
|
You may have to specify the full path to the plugin binary if you installed
|
|
|
|
it to a non-standard location.
|
2015-01-06 15:26:19 +01:00
|
|
|
- Create a new profile with `/tox create <profile name>`. The data file is
|
|
|
|
stored in `~/.weechat/tox/` by default.
|
|
|
|
- Load your profile and connect to the Tox network with
|
|
|
|
`/tox load <profile name>`.
|
|
|
|
- Run `/help -listfull tox` to get a list of all available commands, and
|
|
|
|
`/set tox.*` for a list of options.
|
2014-09-02 20:54:42 +02:00
|
|
|
|
2014-10-08 11:51:50 +02:00
|
|
|
### Common issues
|
|
|
|
#### Long Tox names messing up WeeChat layout
|
2015-01-06 15:26:19 +01:00
|
|
|
Tox allows names up to 128 bytes long. To prevent long names from taking all
|
|
|
|
your screen space, you can set the following options in WeeChat:
|
2014-10-07 12:59:46 +02:00
|
|
|
- `weechat.bar.nicklist.size_max`
|
|
|
|
- `weechat.look.prefix_align_max`
|
|
|
|
- `buffers.look.name_size_max` (if using buffers.pl)
|
|
|
|
|
2014-10-11 13:16:18 +02:00
|
|
|
#### Tox won't connect through my proxy
|
2015-01-06 15:26:19 +01:00
|
|
|
Make sure the proxy type, address and port is correct, and that UDP is
|
|
|
|
disabled (`/set tox.profile.*.udp`).
|
2014-10-11 13:16:18 +02:00
|
|
|
|
2017-02-11 04:08:26 +01:00
|
|
|
## License
|
2018-04-12 23:42:34 +02:00
|
|
|
Copyright (c) 2018 Håvard Pettersson <mail@haavard.me>
|
2014-09-02 20:54:42 +02:00
|
|
|
|
2014-09-18 18:55:52 +02:00
|
|
|
This file is part of Tox-WeeChat.
|
|
|
|
|
|
|
|
Tox-WeeChat is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Tox-WeeChat is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Tox-WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
2014-09-02 20:54:42 +02:00
|
|
|
|
2017-02-04 01:06:24 +01:00
|
|
|
[1]: http://tox.chat
|
2014-09-30 20:40:24 +02:00
|
|
|
[2]: http://weechat.org
|
2017-02-11 04:08:26 +01:00
|
|
|
[3]: https://github.com/Tox/Tox-Client-Standard
|
|
|
|
[4]: https://travis-ci.org/haavard/tox-weechat
|
|
|
|
[5]: https://github.com/TokTok/c-toxcore
|
2014-09-02 21:14:05 +02:00
|
|
|
|