edited README

This commit is contained in:
jan6 2019-05-26 19:03:51 +03:00
parent 1750a22f6e
commit 14133675d1
1 changed files with 12 additions and 12 deletions

View File

@ -1,15 +1,15 @@
webii
===
Simple web front end for [Irc it](http://tools.suckless.org/ii/) using the power of CGI scripts...
*!*!***! disabled the code for sending only certain range, and so it's extremely inefficient, constantly polling whole screenfuls every $DELAY ms (around every 510 ms or so, I think)***
delay makes it '"'laggy'"', but it uses up <500 kb in ~10 min, so it's a compromise
also it's lacking a command history, and is therefore not too comfortable
also I changed it to not require linking ii files directly to cgi-bin like original, instead you have to change the dir yourself, the root/SERVER "out" file should be redirected ii output (such as `ii -s chat.freenode.org -n cooldude >/tmp/ii/out`)
many other improvements would also be possible, and rather welcome...
the original http range-based script could be adjusted to use QUERY_STRING parameter instead, but it's a pain to deal with (for me), especially because I don't rely on exact lenghts in bytes but rather just send out X lines + my own (kinda statusbar-thingy, which isn't accounted for by `stat`ing the output, and stuff...)
This web script implements an easy way to chat over an existing [ii](http://tools.suckless.org/ii/) session.
Edit *chat.css* to customize the style of this chat front end.
> The C implementations of the CGI scripts should be used within a chrooted web server, so no shell utilities have to be inside of the chroot directory.
Simple web front end for [Irc it](http://tools.suckless.org/ii/) using the power of CGI scripts...
*!*!***! disabled the code for sending only certain range, and so it's extremely inefficient, constantly polling whole screenfuls every $DELAY ms (around every 510 ms or so, I think)***
delay makes it '"'laggy'"', but it uses up <500 kb in ~10 min, so it's a compromise
also it's lacking a command history, and is therefore not too comfortable
also I changed it to not require linking ii files directly to cgi-bin like original, instead you have to change the dir yourself, the root/SERVER "out" file should be redirected ii output (such as `ii -s chat.freenode.org -n cooldude >/tmp/ii/out`)
many other improvements would also be possible, and rather welcome...
the original http range-based script could be adjusted to use QUERY_STRING parameter instead, but it's a pain to deal with (for me), especially because I don't rely on exact lenghts in bytes but rather just send out X lines + my own (kinda statusbar-thingy, which isn't accounted for by `stat`ing the output, and stuff...)
> This web script implements an easy way to chat over an existing [ii](http://tools.suckless.org/ii/) session.
> Edit *chat.css* to customize the style of this chat front end.
> > The C implementations of the CGI scripts should be used within a chrooted web server, so no shell utilities have to be inside of the chroot directory.