Ask HN: How can I design a generic library that provides its own endpoints? | Hacker News Reader