I would not assume everyone has sqlite but this can be done optionally with a plugin. Will consider writing a demo for this.
Using XDG directories and system secrets sounds a lot better than what I did. I will learn how to use them and try to integrate them with my code!