{"id":15450873,"url":"https://github.com/0zand1z/dictao","last_synced_at":"2025-04-19T23:33:41.616Z","repository":{"id":144327081,"uuid":"270520807","full_name":"0zAND1z/dictao","owner":"0zAND1z","description":"Decentralized Intelligent Contact Tracing of Animals and Objects","archived":false,"fork":false,"pushed_at":"2022-12-13T11:15:40.000Z","size":811,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T23:33:37.230Z","etag":null,"topics":["ai","animals","blockchain","contact-tracing","covid-19","dbscan-clustering","ethereum","infection","iot","ipfs","moibit","python","smart-contracts","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0zAND1z.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-08T03:56:51.000Z","updated_at":"2024-10-17T18:13:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d806703-6cd8-498a-bcd0-109163a9f54e","html_url":"https://github.com/0zAND1z/dictao","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0zAND1z%2Fdictao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0zAND1z%2Fdictao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0zAND1z%2Fdictao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0zAND1z%2Fdictao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0zAND1z","download_url":"https://codeload.github.com/0zAND1z/dictao/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249830836,"owners_count":21331356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","animals","blockchain","contact-tracing","covid-19","dbscan-clustering","ethereum","infection","iot","ipfs","moibit","python","smart-contracts","tutorial"],"created_at":"2024-10-01T21:20:31.216Z","updated_at":"2025-04-19T23:33:41.609Z","avatar_url":"https://github.com/0zAND1z.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dictao\n\n## Introduction\n\nDecentralized Intelligent Contact Tracing of Animals and Objects (DICTAO) is a simple idea to track the COVID-19 pandemic infections.\n\nDICTAO uses IoT, AI and Blockchain technologies to tackle the spread of infection by animals and objects.\n\n## Access the entire book\n\nThis repository is a tutorial with instructions to build a simple contact tracing application using the DIApp design pattern. The tutorial is part of the Packt book: _\"Hands-On Artificial Intelligence for Blockchain: Converging Blockchain and AI to build smart applications for new economies\"_.\n\nYou can pre-order the book on [Packt website](https://www.packtpub.com/data/hands-on-artificial-intelligence-for-blockchain), [Amazon global website](https://bit.ly/handson-ai-blockchain-amazon-global-github) or [Amazon India website](https://bit.ly/handson-ai-blockchain-amazon-india-github).\n\nClone this repository in your local machine and follow appropriate instructions.\n\n## Instructions\n\n### Dependencies\n\n#### Software\n\nInstall the following softwares on your system:\n\n| Sl. No. | Dependency                             | Download link                              |\n|---------|----------------------------------------|--------------------------------------------|\n| 1       | Just   (v0.5.11 and above)             | https://github.com/casey/just#installation |\n| 2       | Python   (v 3 .6.9  and above )        | https://www.python.org/downloads/          |\n| 3       | Node. js   ( 12 .18.2 LTS  and above ) | https://nodejs.org/en/download/            |\n| 4       | Brave browser  (v 1.5.123 and above )  | https://brave.com/download/                |\n| 5       | Jupyter  Notebook                      | https://jupyter.org/install                |\n\n\n#### Services\n\nApart from the above software, you will also need to signup for the following services:\n\n1. [Google Maps API](https://developers.google.com/maps/premium/apikey/geolocation-apikey)\n\n2. [MóiBit](https://account.moibit.io/#/signup)\n\n3. [Infura](https://infura.io/register)\n\n4. Ethereum wallet with a wallet address and private key\n\n5. Address of the location proof smart contract (You can use `0x79217e504A28ABCd30D2E90E2C99334FA2e9Fb19` on Kovan)\n\n#### Justfile\n\nOnce you have the credentials for all the above 5 services, update your local justfile:\n```yaml\nexport GMAPS_API_KEY := \"?\"\nexport MOIBIT_API_KEY := \"?\"\nexport MOIBIT_API_SECRET := \"?\"\nexport WEB3_INFURA_PROJECT_ID := \"?\"\nexport PROOF_SMART_CONTRACT_ADDRESS := \"?\"\nexport WALLET_PRIVATE_KEY := \"?\"\nexport WALLET_ADDRESS := \"?\"\n\nrun-client:\n    python iot-client-code/python/main.py\n\nrun-web:\n    cd frontend-tracking-dashboard \u0026\u0026 node index.js\n\nrun-server:\n    python backend-contact-tracing/server.py\n\ninstall-dependencies:\n    pip install --user -r requirements.txt\n    cd frontend-tracking-dashboard \u0026\u0026 npm install\n```\n\n#### Installing python and npm libaries\n\nIf you have updated your Jusfile successfully, you need to run the following command to automatically install all the python and Javasript dependencies:\n\n```sh\njust install-dependencies\n```\n\nMake sure that you are running this command in the same directory where `justfile` exists.\n\n### Running the app\n\n#### Running the IoT sensor client application\n\n```sh\njust run-client\n```\n\n#### Running the Contact tracing backend API\n\n```sh\njust run-server\n```\n\n#### Running the Web dashboard server\n\n```sh\njust run-web\n```\n\n## Detailed instructions for beginners\n\nIf you are a beginner and need help with detailed instructions, you can refer to the detailed manual which includes screenshots for specific Operating Systems:\n\n1. [Ubuntu users](./instructions/linux.md)\n\n2. MacOS users (Coming soon)\n\n3. Windows users (Coming soon)\n\n## License\n\nMIT License\n\nCopyright (c) 2020 Ganesh Prasad Kumble and DICTAO authors\n\nThe original source code of the dictao project is available [here](https://github.com/0zAND1z/dictao).\n\nThe original Jupyter Notebook of contact tracing model is available [here](https://github.com/madatpython/PRANA/blob/packt/prana_contact_tracing_using_DBSCAN.ipynb).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0zand1z%2Fdictao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0zand1z%2Fdictao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0zand1z%2Fdictao/lists"}