App::IRC::Log - Cro application for presentating IRC logs
use App::IRC::Log;
my $ail := App::IRC::Log.new:
:$log-class,
:$log-dir,
:$rendered-dir,
:$state-dir,
:$static-dir,
:$template-dir,
:$zip-dir,
colorize-nick => &colorize-nick,
htmlize => &htmlize,
day-plugins => day-plugins(),
channels => @channels,
;
my $service := Cro::HTTP::Server.new:
:application($ail.application),
:$host, :$port,
;
$service.start;
react whenever signal(SIGINT) {
$service.stop;
$ail.shutdown;
exit;
}
App::IRC::Log is a class for implementing an application to show IRC logs.
It is still heavily under development and may change its interface at any time.
It is currently being used to set up a website for showing the historical IRC logs of the development of the Raku Programming Language (see App::Raku::Log
).
Elizabeth Mattijsen liz@raku.rocks
Source can be located at: https://github.com/lizmat/App-IRC-Log . Comments and Pull Requests are welcome.
Copyright 2021 Elizabeth Mattijsen
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.