whyblocked reminds you why you blocked someone. It is developed with Mastodon in mind, but can be used for other contexts, of course.
It has a text interface and uses a SQLite-database.