miguelgrinberg / Flask-SocketIO

Socket.IO integration for Flask applications.
MIT License
5.36k stars 890 forks source link

Flask-SocketIO Admin UI #1964

Closed Seluj78 closed 1 year ago

Seluj78 commented 1 year ago

This one might be a big feature request, but I might be able to try and work on it if I am given a nudge :D

I've just come across the fact that the socketIO standard has an admin UI for clients using it on their backend with nodeJS: https://socket.io/docs/v4/admin-ui/

I was wondering how hard it would be, if even possible, to reproduce something similar or compatible for Flask SocketIO ?

Cheers !

miguelgrinberg commented 1 year ago

Yeah, this is something that I had the intention to investigate at some point. I don't think it would be a lot of work, the UI project would not need to be redone, you would just need to add whatever messages the JS UI project sends and receives, so then the same UI can work with a Python server.

miguelgrinberg commented 1 year ago

I was able to hook up to the Socket.IO Admin UI, so this is definitely possible. It will take me a few more days to polish this up enough to be committed, but work is in progress.

Seluj78 commented 1 year ago

Oh wow amazing! I was about to ask you if you could point me in the right direction so I could try and do this myself :)

You rock !

miguelgrinberg commented 1 year ago

Closing this issue, as I'm tracking this work on https://github.com/miguelgrinberg/python-socketio/pull/1164