Forceu / Gokapi

Lightweight selfhosted Firefox Send alternative without public upload. AWS S3 supported.
GNU Affero General Public License v3.0
1.71k stars 69 forks source link

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

Open yonas opened 1 month ago

yonas commented 1 month ago

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": ... }.