Giter VIP home page Giter VIP logo

ipcoronafs's Introduction

ipcoronafs

ipcoronafs is a tool to scrape information from coronavirus api tracker using 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

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/12D3KooWLrKQEE5NfA3vmEXfRFWKzNjq7DuwVS9CsZ8ooPe7sZFM

2) 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 <hash from pubsub message> 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/12D3KooWLrKQEE5NfA3vmEXfRFWKzNjq7DuwVS9CsZ8ooPe7sZFM

2) 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 <hash from pubsub message> and you'll then be pinning the data locally

ipcoronafs's People

Contributors

bonedaddy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ipcoronafs's Issues

gateway.temporal.cloud not reachable

Link in repo https://gateway.temporal.cloud/ipns/corona.temporal.cloud is not reachable

To Reproduce
Steps to reproduce the behavior:

  1. Click on https://gateway.temporal.cloud/ipns/corona.temporal.cloud link in repo description

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.