by reustle

reustle / covid19japan
242 Stars 100 Forks Last release: Not found MIT License 1.2K Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

A community powered COVID-19 coronavirus tracker for Japan.

The project is a single page JavaScript application running in the browser, pulling data in via a JSON file, and hosted on GitHub Pages.

Data Sources

For all information regarding the data powering this site, please visit the covid19japan-data repo.

Our data is sourced from a variety of sources, primarily Japanese news outlets like NHK, prefectural governments, and the Ministry of Health, Labour and Welfare.


To embed an abridged version of the app, add the following to your HTML:

Contributing Code

If you would like to contribute features, refactor code, etc., please create or comment on an issue on this repo, and one of the core contributors listed below.

Running Dev Locally

Build Instructions

Requirements: NodeJS

Set up the environment:

npm install

Build the code continuously & serve it:

npm run start-webpack

You will now be able to access the site at http://localhost:4000/

More Commands

Build once:

npm run build

Build continuously:

npm run watch

Start Server:

npm run start


When testing your changes locally, be sure to verify both the

pages are working properly.


Localizing content

All strings in the

files should be localized like this:
  1. Add a key-value pair in
    for your string/text
  2. For HTML: add the
    attribute to the HTML element to be localized (replace "your-new-key" in the example)
  3. For JavaScript: call the
    function to retrieve the localized string (replace "your-new-key" in the example)
  4. Add any additional translations with the same key to other files in

Adding new languages

To add a new language

  1. Make a copy of an existing localization file (recommended:
    ), name it to match the new language (e.g.
  2. Replace the translations in the file you just created.
  3. Add the new language to the array of
  4. Add the appropriate
    locale to the imports of
    , and append that locale to the LOCALES export.

License & Code Re-use

The code for this project is released under the MIT License. You are free to re-use it but we ask that you please include a link back to the COVID-19 Japan website or this GitHub repository. We'd also be happy to include your site in the list of forked projects below – just create an issue to request it.

Forked Projects

Core Contributors

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.