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

Can you use Cable to permission-lessly join and publish to a topic #27

Open
Rinse12 opened this issue Jun 26, 2024 · 1 comment
Open

Comments

@Rinse12
Copy link

Rinse12 commented Jun 26, 2024

I'm curious if Cable can be used like a pubsub, where anyone can join a topic, subscribe and publish to it. We're working on a decentralized social media protocol where each community have their own pubsub topic, and comments/votes are published to it.

You can read more about it here: https://github.com/plebbit/whitepaper

The whitepaper may be a bit outdated, but feel free to ask me any questions

@Rinse12 Rinse12 changed the title Can you use Cable to permission-lessly join a and publish to a topic Can you use Cable to permission-lessly join and publish to a topic Jun 26, 2024
@hackergrrl
Copy link
Member

Hi @Rinse12.

Yes, it can. This could be done pretty readily from the cabal-core module, where the message event could be listened on.

I don't think that this implementation will scale well for long-lived pubsubs, since all previous messages will be synced and stored permanently (unless that's desirable!). The new work we're doing on Cable may be better aligned to your purposes, if it's ephemeral message passing.

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

2 participants