COVID-19 Cases Plasmoid

Plasma 5 Applets corona covid covid-19 plasmoid virus

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/kacpi2442/plasma-applet-covid-19

0
8 .0
Description:

Plasma applet showing the current COVID-19 Cases by chosen country.
Last changelog:

1.1 5 months ago

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

10

ellylldhan

23 days ago

10 10 the best

Report

9

xratix

3 months ago

9 9 excellent

Report

7

FoxIII

3 months ago

7 7 good

Report

8

anasr7

4 months ago

8 its sad but true

Report

9

diegobrinungo

4 months ago

9 Nice app.

Report

9

diegobrinungo

4 months ago

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

Report

10

arttuh5n1

5 months ago

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

Report

10

arttuh5n1

5 months ago

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"

Report

10

anoneemouse

5 months ago

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

Report

10

anoneemouse

5 months ago

10 10 the best

Report

10

zzombiee2361

5 months ago

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

Report

9

kostas1507

6 months ago

9 9 excellent

Report

9

kostas1507

6 months ago

edit: obviously I added the option "ALL" too

Report

9

kostas1507

6 months ago

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!

Report

9

kostas1507

6 months ago

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;
}
}
}

Report

C

kacpi2442

6 months ago

Added

Report

9

kostas1507

6 months ago

nice

Report

vaxxipooh

6 months ago

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 :-)

Report

C

kacpi2442

6 months ago

Replaced with SVG icon.

Report

kyrawertho

6 months ago

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.

Report

C

kacpi2442

5 months ago

Added request timeout in 1.1

Report

C

kacpi2442

6 months ago

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

Report

kyrawertho

6 months ago

Thanks, it looks good now.

Report

10

arian81

6 months ago

10 10 the best

Report

1.1 5 months ago

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

1.0.2 6 months ago

Displays now global cases by default
New svg icon

1.0.1 6 months ago

Added support for coronavirusapi.me

12345678910
1135
product-maker ellylldhan Aug 25 2020 10 the best
10 the best
product-maker xratix May 26 2020 9 excellent
9 excellent
product-maker FoxIII May 24 2020 7 good
7 good
product-maker anasr7 Apr 24 2020 8 great
its sad but true
product-maker diegobrinungo Apr 21 2020 9 excellent
Nice app.
product-maker arttuh5n1 Apr 17 2020 10 the best
A very handy widget for keeping track of the number of cases
product-maker anoneemouse Mar 22 2020 10 the best
10 the best
product-maker zzombiee2361 Mar 19 2020 10 the best
10 the best. Would be cool to include the number of death and recovered as well
product-maker kostas1507 Mar 15 2020 9 excellent
9 excellent
product-maker arian81 Mar 09 2020 10 the best
10 the best
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
MIT License
version
1.1
updated Mar 24 2020
added Mar 09 2020
downloads 24h
71
mediaviews 24h 0
pageviews 24h 15