HyperDrive is a data structure built on top of Hypercore protocol that is used in several local-first projects, namely Beaker browser, Mapeo, Cabal chat and many others. This looks like a perfect fit for Logseq storage backend.
Currently Logseq uses git internally and it can only be uploaded to GitHub. Git repository can be stored directly into HyperDrive, thus retaining the ability to synchronize to GitHub too if needed. Alternatively, it is possible to store files directly into HyperDrive and build an alternative backend on top of it.