You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bubblegumdrop 856d8132b5 Strings... 3 年之前
.gitignore Insert, update, run script, run single query. 3 年之前
LICENSE Initial code commit. 3 年之前
README.md Insert, update, run script, run single query. 3 年之前
data.h IRC functionality in place: .start .stop spam and .quit 3 年之前
db.c Strings... 3 年之前
db.h Insert, update, run script, run single query. 3 年之前
dictionary.sql Strings... 3 年之前
events.c Strings... 3 年之前
events.h Insert, update, run script, run single query. 3 年之前
io.c IRC functionality in place: .start .stop spam and .quit 3 年之前
io.h Insert, update, run script, run single query. 3 年之前
levenshtein.c Moving things around. 3 年之前
levenshtein.h Moving things around. 3 年之前
main.c Strings... 3 年之前
makefile Strings... 3 年之前
script.sql Initial code commit. 3 年之前
script2.sql Insert, update, run script, run single query. 3 年之前
signal.c Strings... 3 年之前
strings.c Strings... 3 年之前
strings.h Strings... 3 年之前
threads.h Strings... 3 年之前
unused.h Strings... 3 年之前

README.md

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