webtorrent / webtorrent-desktop

❤️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.65k stars 1k forks source link

show upload and download speed in the dock menu #1319

Open jimmywarting opened 6 years ago

jimmywarting commented 6 years ago

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu) Version 0.19.0 (0.98.20)

What operating system and version? Mac


I wish to see the transfer speed more then overall progress like transmission and this vuze plugin:

Downloading several of gigabytes makes the progress bar move very slow so seeing a healthy download speed is more useful in my opinion.

If the progress bar is replaced with a speed meter then i have a suggestion for making the progress visual in another manner:

skarmavbild 2018-02-03 kl 19 24 49 kopia

When ~70% is download the 70% of the bottom becomes colored while the 30 remaining % is black and white. so the full icon is colored when everything is complete. And all black and white when in the start.

(dosen't even have to be black and white, a masking layer could work just as well since it's a good logo, could just draw a red rectangle and place to logo on top - kinda)

and here is some sort of combination of both of them

combined

not the most beautiful speed meter but you get my point :) Just cut and pasted from vuze's icon

Shankymahajan commented 6 years ago

Work Appreciated @jimmywarting :)

jimmywarting commented 6 years ago

Thanks, not sure if it is possible to have such a dynamic logo but if it is it would be awesome. I have never seen one before.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

feross commented 6 years ago

This is a cool idea. Re-opening to consider exploring it.

jimmywarting commented 5 years ago

fyi here is the vuze plugin for mac's dock menu: https://darkdust.net/index.php/writings/vuzemacdockplugin

While searching for it i found out that BiglyBT torrent client tried to do the same. So I'm quoting what DarkDust had to say:

Hi folks, I've done a quick-and-dirty port of my Mac dock plugin for BiglyBT. But boy, that thing is old and you get deprecation warnings for APIs that have been deprecated back in 10.9… the text rendering should be done using CoreText instead.

Anyway, the ready-to-use JAR can be downloaded here: https://darkdust.net/files/BiglyBTMacDockPlugin.jar

The source is here: https://darkdust.net/files/BiglyBTMacDockPlugin.zip

To compile the plugin, you need to put a GitHub_BiglyBT.jar in the lib folder.

May give some hints to how to build one of our own. (Maybe Electron has some api for setting a new dock icon? Don't know much about Electron, java, or MacOS programming)

mathiasvr commented 5 years ago

I think the easiest way to do this is with app.dock.setIcon().

github-actions[bot] commented 1 year ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?