https://github.com/sug0/irc-cpp
Simple C++ IRC bot implementation (with optional ssl connections)
https://github.com/sug0/irc-cpp
bot cpp irc lib library network openssl secure simple socket-programming sockets ssl tls
Last synced: 3 months ago
JSON representation
Simple C++ IRC bot implementation (with optional ssl connections)
- Host: GitHub
- URL: https://github.com/sug0/irc-cpp
- Owner: sug0
- Created: 2017-06-11T02:10:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-11T13:13:07.000Z (almost 8 years ago)
- Last Synced: 2025-03-17T00:33:55.723Z (3 months ago)
- Topics: bot, cpp, irc, lib, library, network, openssl, secure, simple, socket-programming, sockets, ssl, tls
- Language: C++
- Homepage:
- Size: 30.3 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# irc-cpp
Simple C++ IRC bot implementation
# dependencies
For now, this project depends on [openssl](https://www.openssl.org/) and optionally
[pugixml](https://github.com/zeux/pugixml) as well as [sqlite3](https://www.sqlite.org/),
if you want to build `test.cpp`.# compile
# without ssl
$ make
# with ssl
$ make USE_SSL=t# to include your own config in 'config.h'
$ make IRC_CONFIG=t# run/kill
# run with pipe (will send the bot's output to 'bot.out')
$ make run_pipe# run with system log (sends output to '/var/log/syslog',
# or anywhere else you might have configured in rsyslog)
$ make run_syslog
# kill (or type '.quit' on the irc channel, granted you need
# to have your host configured in 'config.h' , to prevent this
# command from being abused by the average user)
$ make kill# usage
The test bot that comes with the source, `test.cpp`, has the
following commands:.quit -- kill the bot :-(
.noticeme -- the bot will notice you
.esmaga -- the bot will curse at you in portuguese :-)
.np -- the bot will tell you what you're listening to, using last.fm# protips
`tcp.cpp` is a standalone tcp client you can use for pretty much
anything you want; it even comes with nifty ssl support!# license
This shit is public domain, do whatever the fuck you want with it.
Also, don't expect quality software from a novice. :O)