tystuyfzand / websub-server

Go library for the WebSub protocol, allowing you to run your own scalable WebSub Hub
ISC License
17 stars 1 forks source link

Subscriber/client implemtnatino? #1

Open prologic opened 2 years ago

prologic commented 2 years ago

Hi @tystuyfzand 👋

Sorry to reach out to you like this, you seem to have no other contact methods 😅

I really like your implementation of WebSub here -- I believe it implements both a Hub and Publisher right?

I'm considering using your package/library, however I cannot find a good implementation of a Subscriber/client -- Do you know of any? Or perhaps would you help me build one? I really like your design principles here 😉

Kind regards

James

tystuyfzand commented 2 years ago

Sadly there's no implementation of the client right now, but that's a good idea!

prologic commented 2 years ago

Sadly there's no implementation of the client right now, but that's a good idea!

I'd be happy to work on one with you! I'm looking to integrate WebSub hopefully using your library here and the client library (TBD) in Yarn.social backend called yarnd

I'd love to work on this with you.

The use-case is very simple -- basically what WebSub was designed for:

tystuyfzand commented 2 years ago

No guarantees on quality or functionality, but check this out and let me know what you think: https://github.com/tystuyfzand/websub-client

If you see anything that could be changed or cleaned up, let me know! I'm not quite sure how to implement it well for other web frameworks, but this is a start.