Skip to content

Quotinator/Loginator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loginator

Loginator was built to capture IRC messages for Quotinator.

Dependencies

  • NodeJS
  • MongoDB
  • NPM

Install

$ git clone https://github.com/Quotinator/Loginator.git
$ npm install
$ cp config.json.sample config.json
$ forever start main.js

Configuration

Loginator is packaged with a sample config: config.json.sample

Database

  • connectionString - We use a standard MongoDB connection string. For more information, visit MongoDB's website on the topic: Connection String URI Format
  • chat - This is the collection where chat logs are stored. Default value is chat.
  • channels - This is the collection where persistant channels are stored. Default value is channels.
  • retention - This is how long messages will be logged in the chat collection. Default value is 1800 seconds. Remove this field from the config will make Loginator retain messages forever.

IRC Client

  • 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 API
    • channels - 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.

Commands

  • /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.

Contributing

I'm open for suggestions. Submit an issue or make a pull request. I don't bite :)

much

About

Captures IRC chat for Quotinator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published