Loginator was built to capture IRC messages for Quotinator.
- NodeJS
- MongoDB
- NPM
$ git clone https://github.com/Quotinator/Loginator.git
$ npm install
$ cp config.json.sample config.json
$ forever start main.js
Loginator is packaged with a sample config: config.json.sample
connectionString
- We use a standard MongoDB connection string. For more information, visit MongoDB's website on the topic: Connection String URI Formatchat
- This is the collection where chat logs are stored. Default value ischat
.channels
- This is the collection where persistant channels are stored. Default value ischannels
.retention
- This is how long messages will be logged in thechat
collection. Default value is1800
seconds. Remove this field from the config will make Loginator retain messages forever.
server
- Your IRC servers hostname or IP.nick
- What you want to call Loginator.nickpass
- NickServ password.options
- There are more options than listed below. This list is just passed to Node IRC. For a full list visit: Node-IRC APIchannels
- Default channels that Loginator will always connect to. Persistant channels defined from within IRC are appended to this at startup.port
- IRC server port.stripColors
- Strips colors from messages.
/invite Loginator
- Loginator will accept IRC invitations and join the requested channel.persist #channel
- Joins the channel and make it persistent across reboots.persistent channels
- Lists all channels that are persistent.
I'm open for suggestions. Submit an issue or make a pull request. I don't bite :)
much