Author Topic: Eeems' Node.js IRC Bot  (Read 4700 times)

0 Members and 1 Guest are viewing this topic.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Eeems' Node.js IRC Bot
« on: October 25, 2012, 02:58:28 pm »
I created a mutli-server bot a while back in node.js and I've decided that I'm going to clean up it's code a bit and then release it so that you guys can write scripts for it :)
As you can see from the logs I haven't gotten rid of all the bugs, but for the most part it's a pretty stable bot. Security on it is pretty good as well.
I'm planning on combining some of my code on this and my node.js chat server to create a version of omnomirc written in node.js that uses less resources and is written in javascript, making it much easier to play around with for you guys.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Eeems' Node.js IRC Bot
« Reply #1 on: October 25, 2012, 04:15:07 pm »
Nice, looking forward for it:)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Eeems' Node.js IRC Bot
« Reply #2 on: October 25, 2012, 04:20:44 pm »
If you want to poke at it and try to break it, it's connected to omninet as EeeZor :)
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Eeems' Node.js IRC Bot
« Reply #3 on: October 29, 2012, 03:58:13 pm »
I've uploaded the current API and the current README. Feel free to give suggestions on how I could make the API easier to understand. I've also uploaded an example of what a plugin/script looks like.
http://withg.org/eeems/files/Developers.txt
http://withg.org/eeems/files/Readme.txt
http://withg.org/eeems/files/test.js
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Eeems' Node.js IRC Bot
« Reply #4 on: November 04, 2012, 05:41:42 pm »
https://dl.dropbox.com/u/763272/EeemsNodeBot.zip
Current release. The chat server integration has not begun yet. I'll get on that asap.
By default when the bot is run a simple http server is run on port 9003 letting you view channel logs. Private logs like queries and server level stuff is stored under data/logs/

EDIT: Yay triple post :P
« Last Edit: November 04, 2012, 05:42:33 pm by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Eeems' Node.js IRC Bot
« Reply #5 on: November 04, 2012, 10:46:54 pm »
Interesting. I assume that's what you had some of us testing a while back?

Quote from: from first log in the list >_<
[16:41:41]   * Scootaloo has joined the channel
[16:41:50]   <Scootaloo>   <b>thegame</b>

<_<
« Last Edit: November 04, 2012, 10:47:19 pm by DJ_O »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Eeems' Node.js IRC Bot
« Reply #6 on: November 04, 2012, 10:51:48 pm »
Interesting. I assume that's what you had some of us testing a while back?
Possibly. I've been playing around with it in #omnimaga-spam today.
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Eeems' Node.js IRC Bot
« Reply #7 on: December 12, 2012, 03:34:41 pm »
https://code.google.com/p/eeezorbot-bridge/
I've begun work on the chat-server integration. Already got the server running, just without any functionality. A slightly out of date (for stability reasons) version of the bot is currently logging the channel 24/7. You can view the logs at http://ourl.ca/logs
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Eeems' Node.js IRC Bot
« Reply #8 on: December 20, 2012, 04:29:23 pm »
I just release version 1.2
https://eeezorbot-bridge.googlecode.com/svn/tags/1.2/
Currently the old logs are no longer available due to a change in log format (json instead of flat files) but I'll try to get them back online eventually. Even if it's just the flat files hosted in another place.
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Eeems' Node.js IRC Bot
« Reply #9 on: January 13, 2014, 12:46:58 am »
https://github.com/Eeems/EeeZorBot
New location.

EDIT: Use this topic instead now: http://ourl.ca/11140/373200
« Last Edit: January 13, 2014, 12:47:18 am by Eeems »
/e