I'm trying to find (or otherwise write) a personal wiki that stores data in localStorage / Web Storage.

existing software

dev - localStorage

[1] [2]

dev - IndexedDB

dev - Web SQL Database