qweechat/__main__.py

This commit is contained in:
emdee 2024-02-17 20:08:31 +00:00
parent 1a71f78521
commit 9390c9bb91
2 changed files with 143 additions and 6 deletions

View file

@ -20,22 +20,33 @@ Homepage: https://weechat.org/
QWeeChat requires:
- Python ≥ 3.7
- PyQt5
- PyQt5 or PyQt5 and maybe PySide2 and PySide2 using qtpy
- [WeeChat](https://weechat.org) ≥ 0.3.7, on local or remote machine, with relay plugin enabled and listening on a port with protocol "weechat"
### Install via source distribution
Look at the Makefile and customize the variables; then
```
$ pip install .
$ make install
```
## WeeChat setup
You have to add a relay port in WeeChat, for example on port 1234:
You have to add a relay port in WeeChat.
Follow the normal instructions for adding a ```relay``` to
[weechat](https://github.com/weechat/weechat)
```
/set relay.network.password "mypass"
/relay add weechat 1234
/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
@ -68,4 +79,6 @@ 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