SwiftNIO IRC
is a Internet Relay Chat protocol implementation for
SwiftNIO,
a basis for building your own IRC servers and clients,
a sample IRC server, as well as some IRC bots written in the
Swift programming language.
SwiftNIO IRC Server is a framework to build IRC servers on top of
SwiftNIO IRC.
Want to build a customer-support chat system?
And your customers happen to be Unix people from the 80s and early 90s?
What a great match!
This Swift package contains the reusable IRCServer module,
and the MiniIRCd, a small and working IRC sample server.
MiniIRCd also configures, embeds and runs:
swift-nio-irc-webclient -
a simple IRC webclient + WebSocket gateway based on SwiftNIO IRC, and
Apart from the web frontend, MiniIRCd also embeds an actual IRC server, that is,
you can connect to the server using native clients like
Mutter,
Irssi
or
Textual.
Overview
The IRCServer module which is part of this package, only links against the
NIOIRC
protocol module of SwiftNIO IRC.
The included MiniIRCd tool on the other hand, also spins up the
IRC/WebSocket gateway,
includes the webapp and starts up the
ElizaBot.
SwiftNIO IRC Server
SwiftNIO IRC is a Internet Relay Chat protocol implementation for SwiftNIO, a basis for building your own IRC servers and clients, a sample IRC server, as well as some IRC bots written in the Swift programming language.
SwiftNIO IRC Server is a framework to build IRC servers on top of SwiftNIO IRC.
Want to build a customer-support chat system? And your customers happen to be Unix people from the 80s and early 90s? What a great match!
This Swift package contains the reusable
IRCServer
module, and theMiniIRCd
, a small and working IRC sample server.MiniIRCd also configures, embeds and runs:
What it looks like
On the surface it is a very simple chat webapp, with basic support for channels and direct messages:
Sometimes a live demo installation is running on http://irc.noze.io/.
Apart from the web frontend, MiniIRCd also embeds an actual IRC server, that is, you can connect to the server using native clients like Mutter, Irssi or Textual.
Overview
The
IRCServer
module which is part of this package, only links against theNIOIRC
protocol module of SwiftNIO IRC.The included
MiniIRCd
tool on the other hand, also spins up the IRC/WebSocket gateway, includes the webapp and starts up the ElizaBot.Running the Server
To get started, just checkout the repository and call
swift run
:You can then connect via IRC on
localhost:6667
or to the web frontend on http://localhost:1337/.Importing the module using Swift Package Manager
An example
Package.swift
importing the necessary modules:Who
Brought to you by ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.
NIOIRC is a SwiftNIO port of the Noze.io miniirc example from 2016.