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

[feat]: Event Sync for nostr-rs-relay in StartOS #17

Open
1 task done
k0gen opened this issue Jul 16, 2024 · 0 comments
Open
1 task done

[feat]: Event Sync for nostr-rs-relay in StartOS #17

k0gen opened this issue Jul 16, 2024 · 0 comments

Comments

@k0gen
Copy link
Member

k0gen commented Jul 16, 2024

Prerequisites

  • I have searched for existing issues that already suggest this feature.

Describe the Feature Request

Add a function in the actions section of the nostr-rs-relay service that allows users to sync their events from popular nostr relays to their personal StartOS relay.

Describe the Use Case

This feature is useful for users who want to maintain a personal backup of their nostr data. It solves the problem of data sovereignty and accessibility by allowing users to easily keep a copy of their nostr events on their own infrastructure without manual intervention.

Describe Preferred Solution

  • Add a new action in the nostr-rs-relay service interface.
  • Allow users to input their npub (public key).
  • Provide a list of popular nostr relays to choose from.
  • Implement a mechanism to fetch and copy events associated with the user's npub from selected relays to their personal StartOS relay.

Describe Alternatives

No response

Anything else?

Reference implementation: https://github.com/Hubmakerlabs/replicatr/tree/main/cmd/ingestr

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