Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/kacpi2442/plasma-applet-covid-19

0
Become a Fan
7.4

Available as/for:
Description:
Plasma applet showing the current COVID-19 Cases by chosen country.
Last changelog:

1.1

Added option to format number count according to locale
Added request error handling and timeout
Added support for pomber.github.io/covid19
Changed default refresh rate to 20 minutes


Ratings & Comments

25 Comments

ellylldhan

6 would be nice to show delta from previous day. Also, not sure about overall accuracy.

qazcetelic

6 It only shows 0 for me, it would be nice if that was accurate but I doubt it.

xratix

9 9 excellent

FoxIII

7 7 good

anasr7

8 its sad but true

diegobrinungo

9 Nice app.

diegobrinungo

In case you guys want to see the name of the country on the left of the "counter", just edit the file 'main.qml' in '.local/share/plasma/plasmoids/org.kde.plasma.covidrate/contents/ui'. In the section 'PlasmaComponents.Label', let the last line ('text') like this: text: plasmoid.configuration.country + ': ' + root.covidCases

arttuh5n1

10 A very handy widget for keeping track of the number of cases

arttuh5n1

The source corona.lmao.ninja stopped working, but it can be fixed by changing "url: 'https://corona.lmao.ninja/countries'," to "url: 'https://corona.lmao.ninja/v2/countries'," in the file "covid.js"

anoneemouse

Cool. I created a PR, let's hope the author picks it up soon.

anoneemouse

10 10 the best

zzombiee2361

10 10 the best. Would be cool to include the number of death and recovered as well

kostas1507

9 9 excellent

kostas1507

edit: obviously I added the option "ALL" too

kostas1507

since it doesn't let me edit or delete the comment here are the correct lines: else{ var total = 0; for (var i = 0; i < data.length; i++){ total=total+data[i].cases; } return total; } I would like to see this implemented in the official applet!

kostas1507

Hi, this is a great idea but not quite the way I was expecting it to be! I thought that it would give me global cases, instead this only shows cases by country. I fixed this by adding these lines to the js file for 'corona.lmao.ninja': if (country!="ALL"){ for (var i = 0; i < data.length; i++){ if (data[i].country == country){ return data[i].cases; } } }

kacpi2442

Added

kostas1507

nice

vaxxipooh

Hello Widget works great but the icon dont show up . . I suggest you replace the icon "virus.jpg" with a "virus.png" . . OS Kubuntu 18.04 Thanks alot :-)

kacpi2442

Replaced with SVG icon.

kyrawertho

Doesn't work for me. It keeps loading (which may have something to do with message "This project has received too many requests, please try again later." that appears on corona.lmao.ninja) but it won't give up trying and it's using up my whole CPU so my computer is nearly unusable as long as this widget is on.

kacpi2442

It should be working by now, widget depends on external API which may be down sometimes.

kyrawertho

Thanks, it looks good now.

kacpi2442

Added request timeout in 1.1

arian81

10 10 the best

Pling
0 Affiliates
Details
license MIT License
version 1.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 3

Other Plasma 5 Applets:

WebView test
kinta
last update date: 10 years ago

Score 5.0

Google Task - web - obsoleted
suli
last update date: 8 years ago

Score 6.1

CodeShip Monitor
Naraku
last update date: 8 years ago

Score 5.0

Media Controller Compact
bkueng
last update date: 6 years ago

Score 7.7

Shaders example plasmoid
mart
last update date: 11 years ago

Score 6.5

Simple RSS reader
aloos
last update date: 10 years ago

Score 7.0