Skip to content
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

Feature: Update download count live (without page refresh) #206

Closed
yonas opened this issue Oct 6, 2024 · 1 comment
Closed

Feature: Update download count live (without page refresh) #206

yonas opened this issue Oct 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@yonas
Copy link

yonas commented Oct 6, 2024

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

@Forceu Forceu added the enhancement New feature or request label Nov 28, 2024
@Forceu Forceu changed the title [ feature request ] Update download count live (without page refresh) Feature: Update download count live (without page refresh) Dec 5, 2024
Forceu added a commit that referenced this issue Dec 11, 2024
@Forceu
Copy link
Owner

Forceu commented Dec 11, 2024

Added in d215994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants