Dirk is an IRC client library for the D programming language.
It aims for a complete and correct implementation of the IRC client protocol (RFC 2812) and related protocols (CTCP and DCC) with a safe interface.
Dirk aims to be as efficient as possible (in terms of both CPU and memory) to cater to the requirements of any imaginable use of IRC.
For an IRC bot framework built on Dirk, see Diggler.
Dirk depends on libev for the event loop.
Please report bugs and requests to the issue tracker. Thanks!
irc
- the Dirk source package.visuald
- VisualD project files.test
- unittest executable (when built).lib
- Dirk library files (when built).extlib/ev.obj
- libev object file in OMF format for convenience on Windows.ssl
- utility package for lazily loading OpenSSL at runtime for SSL/TLS connections.
You can find automatically generated documentation on the gh-pages branch, or you can browse it online.
Once built, add the top directory (with the irc
sub-directory) and the libev
directory
as include directories when compiling the user program, and
link to lib/dirk
(release build) or lib/dirk-d
(debug build).
Example:
dmd main.d -IDirk -IDirk/libev -L-lev Dirk/lib/dirk.a
(Note: on Windows, the file extension for the static libraries may be .lib
in many cases)
The included VisualD project files (see the visuald
sub-directory)
can be used to build the library files on Windows.
Use the included makefile.
Dirk is licensed under the terms of the MIT license (see the LICENSE file for details).