I remember the night when a nationwide lockdown was declared. We were all sitting around bored, thinking, "Something has to be done with the excessive amount of data flowing around in GitHub." People were creating numerous APIs, web sites and mobile apps to provide information about the disease.
π€ Problem
People had so many questions, but the answers are usually very scattered (different websites and apps). Finding out the right information is hard and it takes a lot of time. To judge the reliability of that information is important as well.
π‘ Solution
We concluded that we needed something which was:
- π€ Trustworthy
- β‘ Quickly accessible
- π£οΈ Interactive
β¨οΈ Implementation
We finally decided to make something that combined the three factors stated above. A Chatbot was the answer.
We started looking for the data sources which provide maximum accuracy and reliability. We found CSSEGISandData/COVID-19 a data repository operated by Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE). It as the most accurate data on the internet. Also, it's the primary source of all other APIs available out there. We also found some supercool APIs, so we integrated all of them into one.
π Features
Fast forward 4-5 days, we've created a Telegram chatbot, named @CoDoc19Bot, with the following features:
1) π€ QA
You can ask your questions right away. With the support of NLP (Natural Language Processing), it will answer all your questions.
2) π₯Ό Corona Test
To check the likelihood of having COVID-19.
3) π€ Quiz
Are you taking the correct protective measures against COVID-19? Find out.
4) π Statistics
To get global COVID-19 statistics with charts.
π£ Publishing
On April 5th, we released the first version through ProductHunt. People started to use it. After 6 hours, we had around ~600 active users with ~3000 requests processed.
π£ What went wrong?
1) After the release, one of the external APIs changed their API structure without any notice π. Luckily, we came to know the error and fixed it in a couple of minutes.
2) We couldn't test it with all the countries. So, in the CSSEGISandData
dataset, South Korea was labeled as Korea, South and we've been using simple string explode function to parse the CSV π, as a result π€·, it broke. We timely fixed it with a good CSV parsing algorithm. π
π What we learned?
- Do not deploy anything without thorough testing π
- If you're using any external API, try to monitor it using a program.
βοΈ Links
- Install the bot using @CoDoc19Bot handler
- Learn more about it from our website
- Learn how it works and contribute!
CoDoc19 π€
CoDoc19 is a telegram bot which helps to let you know more about COVID-19.
Install βοΈ
The telegram handler is @CoDoc19Bot. So just go to telegram app and start interacting with it π¨βπ»
Features / Commands
To start interacting with the bot π°
/start
After entering this command you will get the available commands
Corona Test π‘
To check the likelihood of having COVID 19 π
/test
With this test you can quickly check the likelihood of having Covid-19. This test is regularly updated and based on the recommendations of certified health organizations. It is purely intended to provide guidance and is not an official diagnosis.
QA π¨ββοΈ
Provide trustworthy answers to questions about COVID-19 via NLP
People have many questions about COVID-19, answers are scattered on different websites finding the right answers takes a lot of time and trustworthiness of answers is hard to judge. Soβ¦
P.S.
If you're passionate about open-source development and looking to contribute to exciting open-source projects, Team XenoX might just be your calling. We're always working on something cool. So I'd love for you to join us! Check out our work at XenoX Multiverse! π₯
Write for XenoX!
Team XenoX is also looking to add more authors to our publication. If you like writing and have some creative ideas you'd like to share, we'd love to have you! π― Your blog posts will gain a lot more eyeballs. π You'll get a chance to win some cool swag. And hey, you also get expert consultation and free proofing/editing from our best. ππ
If you want to apply, just go here and enter your details:
https://forms.clickup.com/f/1rz92-3351/VMFE0Q81LI7E0A92Z0
Join our Telegram Channel!
We share the best resources, articles, and other cool stuff for devs from across the internet on our Telegram channel! Join the party! ππΌ Link
Top comments (2)
man i love how your article is so colorful and all i will copycat it if you allow me too i mean the emoji and the description is so good
Hahaa... I think i copied it from someone else xD ... so