Git Product home page Git Product logo

twitter-covid-bot's Introduction

Twitter Bot for Resources during the COVID emergencies

About

We have created a Twitter bot(@ResourcesBot and @ResourcesBot1) that searches for verified medical resources such as oxygen, remdesivir, ICU, hospital beds and it then searches for people who are asking for leads the above mentioned resources and replies them with the resources they asked for.

How it works

The bot searches for resources on Twitter using a search query like: <city_name> <resource_name> verified -needed -required -leads -requirement -need -please -filter:retweets.

And then the bot searches for people asking for resources using a search query like: <city_name> <resource_name> required OR leads OR need -filter:retweets

Currently monitored resources: Oxygen, Remdesiver, ICU beds, Hospital beds, Plasma Donors, Ventilators

Bot in action:

Website

Twitter bot has it's limitations. To tackle those we have created a website. Go visit it at https://resourcesbot.surge.sh

How to help

You can always contribute to the project. Learn how to contribute here: https://opensource.guide/how-to-contribute/

For those who do not know how to code, you can still contribute by spreading the word about the bot. And by asking people:

  • who are sharing medical, you can ask them to share in this format <city_name> <resource_available> verified
  • who are asking for leads, you can ask them to ask for leads in this format <city_name> <resource_needed> leads required

Contributors

Scrapping for resources and automated reply:

Website:

Machine Learning:

Find (other) resources:

Don't singularly rely on this tool, there are some amazing threads you can refer to. Here are few:

twitter-covid-bot's People

Contributors

abhinavmir avatar harshitm98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

craziks-creator

twitter-covid-bot's Issues

Why are we using rand function for str?

 data = { 
        str(random_int): {
            "location": tweet_information.location, 
            "keywords" : tweet_information.keywords,
            "tweet_link": tweet_information.tweet_link,
            "time": tweet_information.time

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.