Skip to content
/ irc Public
forked from oubiwann/lfebot

IRC Integration for LiffyBot (a WIP port of Erlbot)

Notifications You must be signed in to change notification settings

liffybot/irc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiffyBot

An IRC Bot in Lisp Flavored Erlang

resources/images/LiffyBot-small-5.png

Introduction

LiffyBot is not really a serious endeavor, more of a nod to the stereotypical IRC-bot-as-first-project thing than anything else. To be honest, though, the original impetus was a real use case: #erlang-lisp on IRC needed a bot.

*shrugs*

A quick scan of the github Erlang bot-space indicated that perhaps erlbot was a good starting place. We'll try to make our way through that code, porting it to LFE and, maybe some day, running it in our Freenode channel ;-)

└[∵┌]└[ ∵ ]┘[┐∵]┘

But maybe not.

┗[© ♒ ©]┛ ︵ ┻━┻

Planned Features

  • Channel logging.
  • Meeting minutes/notes.
  • Conversational silliness (Alice).
  • Other crazy AI stuff. Because.

Dependencies

This project assumes that you have rebar installed somwhere in your $PATH.

This project depends upon the following, which are installed to the deps directory of this project when you run make deps:

  • LFE (Lisp Flavored Erlang; needed only to compile)
  • lfeunit (needed only to run the unit tests)

Installation

Just add it to your rebar.config deps:

{deps, [
    ...
    {lfebot, ".*", {git, "git@github.com:lfex/lfebot.git", "master"}}
  ]}.

And then do the usual:

$ rebar get-deps
$ rebar compile

Usage

Configuring

TBD

Running

If you'd like to run erl bot in dev mode (running in the foreground, logging everything to stdout), do the following (you'll need to compile first):

$ make compile
$ make dev

or

$ made run

If you'd like to daemonize the process:

$ make prod

or

$ make daemon

Stopping

If you're running in the foreground, ^Gq will bring you back to the OS shell.

If you're running in daemonized mode:

$ make stop

Bot Commands

TBD

Development

Contributing Patches

TBD

Creating Plugins

TBD

About

IRC Integration for LiffyBot (a WIP port of Erlbot)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 83.8%
  • Makefile 15.3%
  • Elixir 0.9%