Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rtradeltd/ipcoronafs
ipcoronafs (ipcfs) is a set of tools for taking coronavirus case information and storing it on IPFs
https://github.com/rtradeltd/ipcoronafs
coronavirus coronavirus-info ipfs libp2p temporalx
Last synced: about 1 month ago
JSON representation
ipcoronafs (ipcfs) is a set of tools for taking coronavirus case information and storing it on IPFs
- Host: GitHub
- URL: https://github.com/rtradeltd/ipcoronafs
- Owner: RTradeLtd
- License: agpl-3.0
- Created: 2020-03-23T21:35:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T23:26:46.000Z (almost 5 years ago)
- Last Synced: 2024-10-28T00:02:43.102Z (about 2 months ago)
- Topics: coronavirus, coronavirus-info, ipfs, libp2p, temporalx
- Language: Go
- Homepage: https://gateway.temporal.cloud/ipns/corona.temporal.cloud
- Size: 27 MB
- Stars: 15
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ipcoronafs
`ipcoronafs` is a tool to scrape information from [coronavirus api tracker](https://github.com/ExpDev07/coronavirus-tracker-api) using [go-corona](https://github.com/itsksaurabh/go-corona) and storing it on IPFS through TemporalX. It expects a locally running TemporalX server, but can be be configured to use a remote one..
# Overview
For an overview of this see [medium](https://medium.com/temporal-cloud/real-time-covid-19-sars-cov-2-outbreak-stats-over-libp2p-ipfs-75972c9afa7)
# Workflow
* Every 60 minutes we use the go-corona client to fetch the "latest location data" and "all location data" sources.
* These are then added to IPFS and the hash is broadcast over libp2p pubsub topics
* Every minute we then rebroadcast the lastest known hash, which gets updated every 60 minutes
* Every 12 hours or so update the DNSLink record# Real Time Information
We are broadcasting updates to this in somewhat real-time. You can connect to two different pubsub topics.
To retrieve updates for all known location outbreak information do:
```
1) ipfs swarm connect /ip4/206.116.153.42/tcp/4005/p2p/12D3KooWLrKQEE5NfA3vmEXfRFWKzNjq7DuwVS9CsZ8ooPe7sZFM2) ipfs swarm connect /ip4/206.116.153.42/tcp/4004/ipfs/QmePr8gxUswSsD7anQCm8P1F599CrmK2Wze1DjoN8LaLAx
3) ipfs pubsub sub coronavirus-all-location-data-topic and then within about a minute you should start seeing the data coming through.
4) ipfs pin add and you'll then be pinning the data locally
```To retrieve updates for latest ooutbreak informatio updates do
```
1) ipfs swarm connect /ip4/206.116.153.42/tcp/4005/p2p/12D3KooWLrKQEE5NfA3vmEXfRFWKzNjq7DuwVS9CsZ8ooPe7sZFM2) ipfs swarm connect /ip4/206.116.153.42/tcp/4004/ipfs/QmePr8gxUswSsD7anQCm8P1F599CrmK2Wze1DjoN8LaLAx
3) ipfs pubsub sub coronavirus-latest-location-data-topic and then within about a minute you should start seeing the data coming through.
4) ipfs pin add and you'll then be pinning the data locally
```