MCPcopy Index your code
hub / github.com/Coronasafe/life

github.com/Coronasafe/life @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
203 symbols 603 edges 159 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Life | Coronasafe Network

A database and API for life-fe

API V2

Data URL
List of districts with Data https://life-api.coronasafe.network/data/active_district_data_v2.json
Ambulance availability https://life-api.coronasafe.network/data/ambulance_v2.json
Helpline Numbers https://life-api.coronasafe.network/data/helpline_v2.json
Hospitals and Beds https://life-api.coronasafe.network/data/hospital_v2.json
Medicine availability https://life-api.coronasafe.network/data/medicine_v2.json
Oxygen availability https://life-api.coronasafe.network/data/oxygen_v2.json
Food availability https://life-api.coronasafe.network/data/food_v2.json

API V2 CSV

Data URL
Ambulance availability https://life_data.coronasafe.network/ambulance.csv
Helpline Numbers https://life_data.coronasafe.network/helpline.csv
Hospitals and Beds https://life_data.coronasafe.network/hospital.csv
Medicine availability https://life_data.coronasafe.network/medicine.csv
Oxygen availability https://life_data.coronasafe.network/oxygen.csv
Food availability https://life_data.coronasafe.network/food.csv

API V1 (deprecated)

Data URL
List of districts with Data https://life-api.coronasafe.network/data/active_district_data.json
Ambulance availability https://life-api.coronasafe.network/data/ambulance.json
Ambulance availability (verified) https://life-api.coronasafe.network/data/ambulance_verified.json
Helpline Numbers https://life-api.coronasafe.network/data/helpline.json
Helpline Numbers (verified) https://life-api.coronasafe.network/data/helpline_verified.json
Hospitals and Beds https://life-api.coronasafe.network/data/hospital_clinic_centre.json
Hospitals and Beds (verified) https://life-api.coronasafe.network/data/hospital_clinic_centre_verified.json
Medicine availability https://life-api.coronasafe.network/data/medicine.json
Medicine availability (verified) https://life-api.coronasafe.network/data/medicine_verified.json
Oxygen availability https://life-api.coronasafe.network/data/oxygen.json
Oxygen availability (verified) https://life-api.coronasafe.network/data/oxygen_verified.json

For Non-Developers

You can make use of this Master Google Sheet: https://docs.google.com/spreadsheets/d/1Oyuf3LOjBr_ubJOJCTlBk6ODg3jXiSlLMW9g4-m5SHU/edit?usp=sharing

Want to help with coding?

Source

Contributions Docs

Detailed Contributing Guide

Getting Started

First, run the development server:

npm install
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Adding Translations

For Adding a New Language

For translations of Existing Language: Please Refer This

Supported by Swasth Alliance | Vercel

Core symbols most depended-on inside this repo

humanize
called by 97
lib/utils.js
parametreize
called by 39
lib/utils.js
dump_data
called by 14
scraper/src/scraper.py
statePaths
called by 9
lib/utils.js
useLocale
called by 9
hooks/use-locale.js
useLocaleContext
called by 9
hooks/use-locale-context.js
get_records
called by 9
scraper/src/scraper.py
isVerified
called by 8
lib/utils.js

Shape

Function 187
Method 9
Class 7

Languages

TypeScript89%
Python11%

Modules by API surface

lib/api.js20 symbols
lib/utils.js17 symbols
scraper/src/scraper.py13 symbols
components/DetailedHome.jsx9 symbols
lib/search.js7 symbols
scraper/src/resource_stats.py6 symbols
components/MapInfoWindow.jsx5 symbols
components/FeedbackCounter.jsx5 symbols
components/Feedback.jsx5 symbols
components/search/SearchField.jsx4 symbols
components/MapContainer.jsx4 symbols
scraper/src/v2_json_downloader.py3 symbols

For agents

$ claude mcp add life \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact