If we have a mode that uses an in-memory database instead of nostrdb, we can deploy notedeck on the web.
LMDB replacement ideas
One thing we can look into is creating an in-memory backend for nostrdb. This would be lots of work though.
Another option is to dump nostrdb entirely and just do it the old way like the original version of damus ios.
Yet a third option is to modify LMDB to make it work on the web, by allocating a large chunk of memory and using that instead of MMAPing on disk. This would be weird but it wouldn't require us to change anything.
If we have a mode that uses an in-memory database instead of nostrdb, we can deploy notedeck on the web.
LMDB replacement ideas
One thing we can look into is creating an in-memory backend for nostrdb. This would be lots of work though.
Another option is to dump nostrdb entirely and just do it the old way like the original version of damus ios.
Yet a third option is to modify LMDB to make it work on the web, by allocating a large chunk of memory and using that instead of MMAPing on disk. This would be weird but it wouldn't require us to change anything.