The HTML was created for this, use w3view for your SPA and kill monsters in your mind.
persistent, embedded, key-value storage, nosql database