Skip to content

ircbot that can flip and talk and stuff

Notifications You must be signed in to change notification settings

mkataja/flipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flipper ircbot

Requirements

Installing with pip

pip install -r requirements.txt

Database

A PostgreSQL database is required for most features to fully work. Use the included docker compose config for a low effort development database setup:

docker-compose up -d --force-recreate --renew-anon-volumes postgres

Configuring

Create a new config_local.py by copying the example config:

cp config_local.py.example config_local.py

Open config_local.py and change the defaults to suit your preferences.

At the very least set the following options:

  • NICK: Set to something unique
  • SERVER: Use your preferred server or try some of the supplied alternatives
  • DATABASE_URI: Point to an existing postgresql database or use None to run without a database (but note that a database is required by most features)

Required by some features, will run fine without setting these:

  • GOOGLE_API_KEY: required by specific commands
  • API_HOST and WEBUI_ADDRESS: related to web UI integration

Running

Run the main entrypoint from the src directory:

cd src
./flipper.py

Optional dependencies

  • Data files for importer scripts and talkcommand.

Importing data files using scripts

$ cd scripts
$ PYTHONPATH=../src python markov_import_flat_file.py
$ PYTHONPATH=../src python markov_import_xml.py

About

ircbot that can flip and talk and stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages