mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 07:16:38 +00:00
mIRC art editor & tools (for EFnet #MiRCART)
3a207fc53c
pngbot.py:IrcBot.readline(): replace settimeout()/socket.timeout-based logic w/ select() for readability & optionally specified timeout. pngbot.py:IrcBot.sendline(): select() for writability & optionally specified timeout and send() full buffer until failure. pngbot.py:IrcMiRCARTBot.dispatch(): dispatch expired timers prior to calling readline(). pngbot.py:main(): default (maximum) connect timeout to 15 seconds. |
||
---|---|---|
.gitignore | ||
DejaVuSansMono.ttf | ||
mirc2png.py | ||
pngbot.py | ||
README.md |
mirc2png -- convert ASCII w/ mIRC control codes to monospaced PNG (for EFnet #MiRCART)
- Prerequisites: python3 && python3-pil (&& python3-{json,requests,urllib3} for pngbot.py) on Debian-family Linux distributions
- mirc2png.py usage: mirc2png.py
<MiRCART input file pathname>
<PNG image output file pathname>
[<Font file pathname; defaults to DejaVuSansMono.ttf>
] [<Font size; defaults to 11>
] - pngbot.py usage: pngbot.py
<IRC server hostname>
[<IRC server port; defaults to 6667>
] [<IRC bot nick name; defaults to pngbot>
] [<IRC bot user name; defaults to pngbot>
] [<IRC bot real name; defaults to pngbot>
] [<IRC bot channel name; defaults to #MiRCART>
]