/kabarvirus

KabarVirus.com: cepat (PageSpeed 100), ringan (10 KB)

Primary LanguageJavaScriptMIT LicenseMIT

KabarVirus

GitHub license GitHub code size in bytes Node.js CI Uptime Robot ratio (30 days)

Bahasa Indonesia | English


Bahasa Indonesia

Repositori ini menyimpan perkakas yang digunakan untuk membuat KabarVirus.com.

Tujuan KabarVirus adalah untuk menyajikan informasi terpenting soal sebaran COVID-19 di Indonesia dengan secepat-cepatnya:

  • Bobot halaman harus ringan: 10 KB atau kurang
  • Skor PageSpeed: 98 atau lebih
  • Load time (menurut Pingdom): 0,7 detik atau kurang
  • Tetap berfungsi walaupun JavaScript dimatikan

Yang diperlukan (versi minimum): Node.js versi 16, curl versi 7.58.

npm install
npm run build
npm start

lalu buka alamat localhost:8080.

CATATAN: Data paparan COVID-19 diekstrak dari dashboard resmi ArcGIS milik BNPB (Badan Nasional Penanggulangan Bencana). Untuk lebih rincinya, lihat juga github.com/ariya/dekontaminasi.


English

This repository contains the tools necessary to build KabarVirus.com.

The goal of KabarVirus is to show the important aspect of COVID-19 spread in Indonesian as efficient as possible:

  • Lightweight pages: 10 KB or less
  • PageSpeed score: 98 or more
  • Load time (according Pingdom): 0.7 sec or less
  • Graceful degradation when JavaScript is disabled

Minimum requirements: Node.js version 16, curl version 7.58.

npm install
npm run build
npm start

and then open localhost:8080.

NOTE: The information on COVID-19 spread is extracted from the official ArcGIS dashboard of BNPB (National Disaster Mitigation Agency). For more details, refer to github.com/ariya/dekontaminasi.