irctk

libircclient binding for scripts
git clone https://a3nm.net/git/irctk/
Log | Files | Refs | README

commit dcf23cdc3c8a022b3fb35346c51ea46a89921e22
parent b96a2f033196498e0887f69101020435d10d9406
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri, 28 Sep 2018 23:38:02 +0200

https URL, fix broken example

Diffstat:
README | 24++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/README b/README @@ -12,7 +12,7 @@ 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 -this program (see file "COPYING"). If not, see <http://www.gnu.org/licenses/>. +this program (see file "COPYING"). If not, see <https://www.gnu.org/licenses/>. == 1. Description == @@ -50,9 +50,9 @@ On Debian stretch and later, you can do so by running: sudo apt-get install libssl1.0-dev Second, you should get the latest libircclient (currently libircclient-1.9) from -<http://sourceforge.net/projects/libircclient/>, compile it and install it (this -requires of course make, a C compiler, etc., which you can get on Debian systems -by installing e.g. the package build-essential). Then run: +<https://sourceforge.net/projects/libircclient/>, compile it and install it +(this requires of course make, a C compiler, etc., which you can get on Debian +systems by installing e.g. the package build-essential). Then run: ./configure -enable-openssl --enable-shared make @@ -130,12 +130,12 @@ get a private message to notify you about the subjects of incoming emails. irctk alert@example.com mynick Note the use of --line-buffered to make sure that the messages do not get -buffered. Here is how to follow the RSS feed of FML and post the stories to a -channel as they appear in the feed: +buffered. Here is how to follow the RSS feed of Commandlinefu and post the +commands to a channel as they appear in the feed: - $ rsstail -u 'http://feeds2.feedburner.com/fmylife' -NdzH -n 1 -i 300 | - grep --line-buffered '^ Today' | - irctk fmlbot@example.com '#fml' + $ rsstail -u 'https://feeds2.feedburner.com/Command-line-fu' -NdzH -n 1 -i 300 | + grep --line-buffered '^ \$ ' | + irctk clfbot@example.com '#commandlinefu' === 3.3. Using irctk's stdout === @@ -304,7 +304,7 @@ cat fifo | irctk -Fr fingerbot@example.com '#chat' | The following bot can be used to roll dice: say something like "dmbot: 3d42" and it will reply with the result. Note that this example is bash-specific. Thanks -to p4bl0 <http://pablo.rauzy.name/> for writing it. +to p4bl0 <https://pablo.rauzy.name/> for writing it. cat fifo | irctk -Fr dmbot@example.com '#chat' | while read line; do @@ -490,14 +490,14 @@ section 2). == 6. Related projects == - * ii <http://tools.suckless.org/ii/> + * ii <https://tools.suckless.org/ii/> ii is filesystem and FIFO-based but irctk is entirely FIFO-based. ii's control FIFO is irctk's stdin, but ii's output files are replaced by irctk's stdout. irctk does not write to disk or read from disk. irctk also includes features which make it easy to write bots in shell script one-liners. - * sic <http://tools.suckless.org/sic> + * sic <https://tools.suckless.org/sic> sic is pretty similar to irctk, except irctk abstracts more things from the underlying IRC protocol and has more features (e.g., SSL support and the various