Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging with NextGraph #1012

Open
joepio opened this issue Nov 13, 2024 · 0 comments
Open

Merging with NextGraph #1012

joepio opened this issue Nov 13, 2024 · 0 comments

Comments

@joepio
Copy link
Member

joepio commented Nov 13, 2024

I had a couple of great conversations with @niko-ng who's working on NextGraph. We've been exploring some ways in which we could work together towards something greater by collaborating. Niko proposed using NextGraph in AtomicServer.

This would be very impactful, but also worth exploring.

This document will be updated / changed as I have more conversations with Niko

Why it would be cool

  • Local-first. That's a dream that I've had for a while. It's one of these characteristics that AtomicData doesn't have that would be very powerful, but is very hard to implement. NextGraph already has a lot of answers in this domain.
  • Encrypted. NextGraph encrypts everything.
  • Real arrays. With insert / splice methods etc. Nice.

NextGraph would replace...

  • Atomic Commits as an abstraction layer (NextGraph supports multiple CRDTs). This also includes versioning, history, websockets, subscribing...
  • Sled as KV store (with RocksDB)
  • Our existing Query index mechanisms (OxiGraph would do the heavy lifting)
  • Atomic Agents. NextGraph also has a crypto based user / agent model. Wants to use Opaque, retrieves a wallet (containing your keys) safely from a server. You can open that wallet in a bunch of different ways.
  • Webhooks / Subscribing. NextGraph also does synchronization.
  • Versioning / history
  • Invites.

AtomicServer would still...

  • Convert NextGraph resources to HTTP urls
  • Similar to how ActivityPods are related to NextGraph right now
  • Do schema validation (Atomic Schema)
  • Do authorization
  • Do pagination

Questions

  • How does Atomic Schema relate to what NextGraph is doing?
  • Content Addressing?
  • P2P?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant