You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.7 KiB
Markdown

# WeeChat Qt remote GUI
[![Build Status](https://github.com/weechat/qweechat/workflows/CI/badge.svg)](https://github.com/weechat/qweechat/actions?query=workflow%3A%22CI%22)
QWeeChat is a Qt remote GUI for WeeChat written in Python.
Homepage: https://weechat.org/
## Features
- Multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & others).
- Free software, released under GPLv3.
![QWeeChat](https://weechat.org/media/images/screenshots/relay/medium/qweechat_shadow.png)
## Install
### Dependencies
QWeeChat requires:
- Python ≥ 3.7
- PyQt5 or PyQt5 and maybe PySide2 and PySide2 using qtpy
- dev-python/qtconsole; the requirements.txt file says >= 5.5.1 but earlier versions may work just fine
- [WeeChat](https://weechat.org) ≥ 0.3.7, on local or remote machine, with relay plugin enabled and listening on a port with protocol "weechat" Tested with 4.1.2
### Install via source distribution
Look at the Makefile and customize the variables; then
```
$ make install
```
## WeeChat setup
You have to add a relay port in WeeChat.
Follow the normal instructions for adding a ```relay``` to
[weechat](https://github.com/weechat/weechat)
```
/relay add weechat 9000
/relay start weechat
```
or
```
weechat -r '/relay add weechat 9000;/relay start weechat'
```
and run qweechat either under toxygen, or standalone
```
python3 -m qweechat
```
## Connect to WeeChat
In QWeeChat, click on connect and enter fields:
- `hostname`: the IP address or hostname of your machine with WeeChat running
- `port`: the relay port (defined in WeeChat)
- `password`: the relay password (defined in WeeChat)
- `totp`: the Time-Based One-Time Password (optional, to set if required by WeeChat)
Options can be changed in file `~/.config/qweechat/qweechat.conf`.
## Copyright
Copyright © 2011-2022 [Sébastien Helleu](https://github.com/flashcode)
This file is part of QWeeChat, a Qt remote GUI for WeeChat.
QWeeChat 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.
QWeeChat 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 QWeeChat. If not, see <https://www.gnu.org/licenses/>.
## Updates
Up-to-date code is on https://git.plastiras.org/emdee/qweechat
You can also run this qweechat under toxygen
https://git.macaw.me/emdee/toxygen
For tox in weechat, see https://git.macaw.me/emdee/tox-weechat