SwiftNIO-IRC is a Internet Relay Chat protocol implementation for SwiftNIO and a simple IRC client.
This module contains a simple IRC client library. We also provide:
- swift-nio-irc - the raw Swift NIO IRC protocol implementation
- swift-nio-irc-webclient - a simple IRC webclient + WebSocket gateway based on this module,
- swift-nio-irc-eliza - a cheap yet scalable therapist,
- swift-nio-irc-server - a framework to build IRC servers, and MiniIRCd, a small sample server.
To get started with this, pull swift-nio-irc-server - a module to rule them all and in the darkness bind them.
NIOIRC is a SwiftNIO port of the Noze.io miniirc example from 2016.
An example Package.swift
importing the necessary modules:
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "IRCTests",
dependencies: [
.package(url: "https://github.com/NozeIO/swift-nio-irc-client.git",
from: "0.7.0")
],
targets: [
.target(name: "MyIRCClient",
dependencies: [ "IRC" ])
]
)
Brought to you by ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.