This is going to sound weird, but what about WordPress? There is a movement called “IndieWeb” that has those same goals. Some people use their blogs as a personal knowledge base and commonplace book (for instance https://boffosocko.com/ note the highlighting and citation capabilities) so they can have a quick reference for further research.
Others use it to track personal analytics for analysis (example https://aaronparecki.com/).
This solution is super flexible, and there are a lot of WordPr...