tox-weechat/README.md

100 lines
3.7 KiB
Markdown
Raw Permalink Normal View History

2015-08-26 18:11:57 +00:00
# Tox-WeeChat
2015-01-06 14:26:19 +00:00
Tox-WeeChat is a [Tox][1] protocol plugin for [WeeChat][2]. It is functional,
2017-02-04 00:06:24 +00:00
but lacks certain features that might be expected of a full-fledged Tox client.
2024-03-07 02:46:11 +00:00
Originally from the abandonned https://github.com/haavard/tox-weechat
2014-09-02 18:54:42 +00:00
2024-03-08 04:02:20 +00:00
Tox-WeeChat is compliant with all "Required" points in the
[Tox Client Standard][3]. There is no support for NGC groups.
2014-09-02 20:38:30 +00:00
2015-08-26 18:11:57 +00:00
## Features
2024-03-08 04:02:20 +00:00
2017-02-04 00:06:24 +00:00
- One-to-one chats
- Conference chats (text only)
2017-02-04 00:06:24 +00:00
- Proxy support
- Multiple profiles
- Encrypted save files
- File transfer
2014-11-19 11:37:19 +00:00
2024-03-09 03:46:27 +00:00
No NGC groups yet.
2015-08-26 18:11:57 +00:00
## Installation
2024-03-08 04:02:20 +00:00
Tox-WeeChat requires [WeeChat][2] (tested with version 4.1.2) and [TokTok
c-toxcore][4] (tested with version 0.2.18). CMake 2.8.12 or newer is also
required to build.
Installation is fairly simple; after getting the source code, compile
and install using CMake:
2014-09-02 18:54:42 +00:00
$ mkdir build && cd build
$ cmake -DPLUGIN_PATH=~/.cache/weechat/plugins ..
2014-09-11 02:06:20 +00:00
$ make install
2015-01-06 14:26:19 +00:00
This installs the plugin binary `tox.so` to the recommended location
`~/.cache/weechat/plugins`. The default location is `/usr/local/lib/weechat/plugins`.
2014-09-02 18:54:42 +00:00
If WeeChat or toxcore are installed in a non-standard location, you can try
specifying `CMAKE_PREFIX_PATH` to find them; see [.travis.yml](.travis.yml) for
an example.
2015-08-26 18:11:57 +00:00
## Usage
2015-01-06 14:26:19 +00:00
- If the plugin does not load automatically, load it with `/plugin load tox`.
You may have to specify the full path to the plugin binary if you installed
2024-03-10 00:50:27 +00:00
it to a non-standard location (/usr/local/share/weechat/plugins).
- Create a new profile with `/tox create <profile name>`. The tox profile is
stored in `~/.local/share/weechat/tox/<profile name>` by default.
2015-01-06 14:26:19 +00:00
- Load your profile and connect to the Tox network with
2024-03-10 00:50:27 +00:00
`/tox load <profile name>`. See all profiles with `/tox list`.
- Run `/help -listfull tox` to get a list of all available commands (see
/bootstrap, /conf, /friend, /invite, /me, /msg, /myid, /name, /names,
/nospam, /part, /send, /status, /statusmsg, /topic, as well as /tox)
- See `/fset tox.profile.*` for a list of options, including proxies.
- With weechat NOT running you can edit the settings in
`~/.cache/share/weechat/tox.conf`.
2014-09-02 18:54:42 +00:00
2014-10-08 09:51:50 +00:00
### Common issues
2024-03-09 03:46:27 +00:00
2014-10-08 09:51:50 +00:00
#### Long Tox names messing up WeeChat layout
2024-03-08 04:02:20 +00:00
2015-01-06 14:26:19 +00: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:
- `weechat.bar.nicklist.size_max`
- `weechat.look.prefix_align_max`
- `buffers.look.name_size_max` (if using buffers.pl)
2014-10-11 11:16:18 +00:00
#### Tox won't connect through my proxy
2024-03-08 04:02:20 +00:00
2015-01-06 14:26:19 +00:00
Make sure the proxy type, address and port is correct, and that UDP is
2024-03-08 04:02:20 +00:00
disabled (`/set tox.profile.*.udp`) and it is required to disable IPv6
(`/set tox.profile.*.ipv6`).
2014-10-11 11:16:18 +00:00
## License
2018-04-12 21:42:34 +00:00
Copyright (c) 2018 Håvard Pettersson <mail@haavard.me>
2014-09-02 18:54:42 +00:00
2014-09-18 16:55:52 +00: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 18:54:42 +00:00
2017-02-04 00:06:24 +00:00
[1]: http://tox.chat
2014-09-30 18:40:24 +00:00
[2]: http://weechat.org
[3]: https://github.com/Tox/Tox-Client-Standard
[4]: https://github.com/TokTok/c-toxcore
---
2014-09-02 19:14:05 +00:00
This is a hard fork of https://github.com/haavard/tox-weechat/
2024-03-10 00:11:22 +00:00
now at https://git.plastiras.org/emdee/tox-weechat You can also run weechat under
toxygen https://git.plastiras.org/emdee/toxygen using qweechat
https://git.plastiras.org/emdee/qweechat