I don’t use TMI I use my own code. So can’t speak to how good it is. But it does seem to be popular.
You could use write a JSON blob to disk, or if you are running it locally, have the bot provide the web page as well, then you don’t need a database at all, unless you want to be crash/restart safe