Skip to content
/ irc-dcc Public

A DCC message decoding and helper library for IRC clients

License

Notifications You must be signed in to change notification settings

JanGe/irc-dcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

irc-dcc - A DCC message parsing and helper library for IRC clients

Build Status irc-dcc on Hackage irc-dcc on Stackage Nightly

DCC (Direct Client-to-Client) is an IRC sub-protocol for establishing and maintaining direct connections to exchange messages and files.

See http://www.irchelp.org/irchelp/rfc/ctcpspec.html for more details.

Supported Variants:

  • (Standard) DCC
  • Reverse DCC

Usage

  1. Add irc-dcc to the build-depends section of your .cabal file.
  2. Import Network.IRC.DCC.
    • Parse a CTCP message using runParser and any of the parse* methods exported by this module. If the CTCP message was the desired DCC command, the function will return a Right value.
    • Encode a DCC command by using encodeCtcp function of its CtcpCommand instance.

See this package's documentation on Hackage.

Development

  1. Install Stack.
  2. Run stack build.

About

A DCC message decoding and helper library for IRC clients

Resources

License

Stars

Watchers

Forks

Packages

No packages published