38f191c997
Here you have it. |
||
---|---|---|
.gitignore | ||
data.h | ||
db.c | ||
db.h | ||
dictionary.sql | ||
events.c | ||
events.h | ||
family-guy.sql | ||
i18n.h | ||
io.c | ||
io.h | ||
levenshtein.c | ||
levenshtein.h | ||
LICENSE | ||
main.c | ||
makefile | ||
quote-db.sql | ||
README.md | ||
signal.c | ||
threads.h | ||
unused.h |
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