IRC Integration for LiffyBot (a WIP port of Erlbot)
Erlang Makefile Elixir
Pull request Compare This branch is 8 commits ahead of oubiwann:master.
Latest commit e1433d0 Nov 25, 2016 @oubiwann oubiwann Updated logo to latest.
Permalink
Failed to load latest commit information.
etc
include
resources
src
test
.gitignore
.travis.yml
Makefile
README.rst
package.exs
rebar.config

README.rst

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