Gokapi icon indicating copy to clipboard operation
Gokapi copied to clipboard

[ feature request ] Update download count live (without page refresh)

Open yonas opened this issue 1 year ago • 0 comments

It would great to have the download count automatically updated without manually refreshing the page.

Ideas

Add some Javascript that creates a websocket connection with the server.

When the server increments the download count, loop through all the open websocket connections and send a JSON message, like { "downloadCount": ... }.

yonas avatar Oct 06 '24 13:10 yonas