-
Notifications
You must be signed in to change notification settings - Fork 114
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
Documentation of Websocket API #116
Comments
Yes, it's totally possible. The commands are the same as ZeroFrame API. Here is an example, standalone client: |
Very cool, thanks! I'll make a note about it in the docs somewhere. This means we can make libraries for third-party programs to store data on ZeroNet, and then have that data be readable in a nice UI in the browser! |
Yes, it is! |
Note: Document that IP's are accepted in v>XXX. |
Note: Document how Multiuser uses cookies in the WebSocket handshake. Example of a python2 script that can talk to the Multiuser plugin:
|
@anoadragon453 I created ZeroFrame WebSocket API for JavaScript. I'm currently also creating clients for other languages. See HelloZeroNet/ZeroNet#1289 (comment) for details. |
Not entirely sure if this is a large or small amount of work, but if I'm not mistaken, it should be possible to control ZeroNet's python daemon by speaking Websocket to it from places outside of the browser? Such as a C++ websockets library?
If so, some documentations of commands accepted by the Websockets server would be appreciated. I imagine they're very similar to those in the ZeroFrame API, but some guidance on the formatting for the actual Websocket request would most definitely be appreciated!
The text was updated successfully, but these errors were encountered: