Coder Social home page Coder Social logo

bunuq's Introduction

= DESCRIPTION:

BUNUQ is a bot that lives in #unhosted - it is based on tocho!

BUNUQ has a command !last n /regexp/ : send me the last n messages matching regexp !last n : just send me the last n messages

Right now BUNUQ has an nstore for all channel history - he wants to move to redis .

Right now BUNUQ has an 1000 item in memory 'index' used for !last - he would like to write that to redis too .

= REQUIREMENTS:

[email protected]:robotarmy/cookbooks.git/bunuq

original readme

Tōchō 盗聴 - a simple irc logging bot built on node-irc and nstore.

overview

just another sketch in node.js. I usually can't be on the node.js channel all the time, so this bot is run off a cheap shell on one background process.

there's already the official logs of course, but nstore lets me potentially do a search for my favorite guys...etc

and of course, it's just plain good fun on weekend late nights to put some node goodies together.

update

adding a simple web delivery to a page so ideally tocho can just pass off what it hears and can be viewed real-time from a webpage. eventually to integrate the search into the webpage as well. I'm turning this guy into a Doraemon. If anyone else got some wacky idea of what tocho should do, join in the fun.

requirements

  • node.js (duh!)
  • npm
  • use npm install node-irc
  • nStore if you want to save the conversations to Tim Caswell's nStore instead of a plain vanilla text file.
  • Socket.io if you want to configure the conversations to a webpage (and less.js for simple CSS beautification). Also to use express/fab or any good framework.

settings

see config.js

run bot

node bot.js

tocho-san is live

He's living in #node.js at Freenode!

bunuq's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ram9

bunuq's Issues

!last N [/REGEX/]*

fetch last 30 logs - optionally matching regexp
and privmsg them 3 at a time - second apart

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.