2013-12-01 16:09:54 +01:00
|
|
|
#Tox-Sync
|
|
|
|
|
2022-10-24 00:11:12 +02:00
|
|
|
A bot that sync messages between IRC and Tox group chat.
|
|
|
|
|
|
|
|
## Hard forked
|
|
|
|
|
|
|
|
Hard forked to use https://git.macaw.me/emdee/toxygen_wrapper
|
|
|
|
Just clone that repo and put the resulting directory on your
|
|
|
|
```PYTHONPATH```.
|
|
|
|
|
2022-10-24 09:51:19 +02:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
Run: ```tox-irc-sync.py --help``` for command line arguments.
|
2022-10-24 00:11:12 +02:00
|
|
|
|
|
|
|
For the ```#tox``` group on ```libera.chat```:
|
|
|
|
```
|
|
|
|
python3 tox-irc-sync.py \
|
|
|
|
--nodes_json $HOME/.config/tox/DHTnodes.json \
|
|
|
|
--irc_chan "#tor" --irc_host irc.libera.net --irc_port 6667 \
|
|
|
|
```
|
|
|
|
|
|
|
|
Libera will not work over Tor, but ```irc.oftc.net#tor``` will:
|
|
|
|
```
|
|
|
|
python3 tox-irc-sync.py \
|
|
|
|
--nodes_json $HOME/.config/tox/DHTnodes.json \
|
|
|
|
--irc_chan "#tor" --irc_host irc.oftc.net --irc_port 6667 \
|
|
|
|
--proxy_type 2 --proxy_host 127.0.0.1 --proxy_port 9050
|
|
|
|
```
|
2022-10-24 09:51:19 +02:00
|
|
|
|
|
|
|
* OFTC has an Onion address:
|
|
|
|
```ircs://oftcnet6xg6roj6d7id4y4cu6dchysacqj2ldgea73qzdagufflqxrid.onion:6697```
|
|
|
|
* Libera has an Onion address:
|
|
|
|
```libera75jm6of4wxpxt4aynol3xjmbtxgfyjpu34ss4d7r7q2v5zrpyd.onion```
|
|
|
|
|
|
|
|
but ```tox_irc_sync``` does not do SSL yet.
|
|
|
|
|
|
|
|
|