Go to file
2021-03-11 17:23:43 -05:00
.gitignore Insert, update, run script, run single query. 2021-03-11 12:48:15 -05:00
data.h IRC functionality in place: .start .stop spam and .quit 2021-03-11 17:23:43 -05:00
db.c IRC functionality in place: .start .stop spam and .quit 2021-03-11 17:23:43 -05:00
db.h Insert, update, run script, run single query. 2021-03-11 12:48:15 -05:00
events.c IRC functionality in place: .start .stop spam and .quit 2021-03-11 17:23:43 -05:00
events.h Insert, update, run script, run single query. 2021-03-11 12:48:15 -05:00
io.c IRC functionality in place: .start .stop spam and .quit 2021-03-11 17:23:43 -05:00
io.h Insert, update, run script, run single query. 2021-03-11 12:48:15 -05:00
levenshtein.c Moving things around. 2021-03-09 01:39:19 -05:00
levenshtein.h Moving things around. 2021-03-09 01:39:19 -05:00
LICENSE Initial code commit. 2021-03-08 16:59:27 -05:00
main.c IRC functionality in place: .start .stop spam and .quit 2021-03-11 17:23:43 -05:00
makefile IRC functionality in place: .start .stop spam and .quit 2021-03-11 17:23:43 -05:00
README.md Insert, update, run script, run single query. 2021-03-11 12:48:15 -05:00
script2.sql Insert, update, run script, run single query. 2021-03-11 12:48:15 -05:00
script.sql Initial code commit. 2021-03-08 16:59:27 -05:00
signal.c IRC functionality in place: .start .stop spam and .quit 2021-03-11 17:23:43 -05:00
threads.h IRC functionality in place: .start .stop spam and .quit 2021-03-11 17:23:43 -05:00

The (un)Official Lain's Diction Book

Quote / Definition / Pastebin bot

it takes text from irc and stores it in a database

13:56 <@kashire> We need to make our own dictionary.
13:56 <@kashire> The (un)Official Lain's Diction Book.

TODO

  • Perhaps a database backend and a client frontend that's separate.
  • SQL schema
  • SQL interface
  • Option arguments w/ getopt
  • Exit codes

Extras

You can unzip the SQLite amalgamation right into here to use it, otherwise, provide INLINE_SQLITE=0:

make INLINE_SQLITE=1