Go to file
2021-03-31 08:47:18 -04:00
.gitignore Insert, update, run script, run single query. 2021-03-11 12:48:15 -05:00
data.h Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
db.c Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
db.h Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
dictionary.sql Strings... 2021-03-11 20:48:32 -05:00
events.c Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
events.h Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
family-guy.sql More events. 2021-03-12 12:41:17 -05:00
i18n.h Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
io.c Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
io.h Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
levenshtein.c Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
levenshtein.h Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
LICENSE Initial code commit. 2021-03-08 16:59:27 -05:00
main.c Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
makefile Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
quote-db.sql More events. 2021-03-12 12:41:17 -05:00
README.md Insert, update, run script, run single query. 2021-03-11 12:48:15 -05:00
signal.c Looks like I implemented .define but haven't committed yet. 2021-03-31 08:47:18 -04:00
threads.h More events. 2021-03-12 12:41:17 -05:00
unused.h Strings... 2021-03-11 20:48:32 -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