mayneyao / eidos

Offline alternative to Notion. Eidos is an extensible framework for managing your personal data throughout your lifetime in one place.
https://eidos.space
GNU Affero General Public License v3.0
2.3k stars 92 forks source link

Data Sync via Nostr. #129

Open IngwiePhoenix opened 4 months ago

IngwiePhoenix commented 4 months ago

Hello!

I just tried the local Docker deployment and although I couldn't find the dark mode toggle (rip my eyeballs xD) I did see you were looking for a sync solution.

Now, I have spent a good amount of time reading up and down on the Nostr specification and among the many things, application-defined storage is one of them.

Basically, you could create a keypair just to sign and encrypt the data, drop it on relays and fetch it from any client - which would include real time updates, as it is based on WebSocket.

This way, you don't even need to create your own solution - there is one, already there. I just wanted to leave that here, since this, to me, seems like a good fit.

Kind regards, Ingwie

PS.: I did find the Query command in documents, but have no idea what tables I can query. I created one, but trying to query it led to... nothing. o.o Might've just missed a thing or two.

mayneyao commented 4 months ago

Nostr looks great, thanks for sharing ❤️ the shortcut for switching the theme is ctrl/cmd + shift + L or press CMD + K then type theme.

Query is still a WIP, lacking documentation 😂. there are some example you can try: