{"id":24758758,"url":"https://github.com/adv-11/disaster_resilience_platform","last_synced_at":"2025-03-23T10:16:35.733Z","repository":{"id":273092893,"uuid":"918674507","full_name":"adv-11/Disaster_Resilience_Platform","owner":"adv-11","description":"IBM Hackathon Project.  A Disaster Resilience Platform to Identify disasters across the globe and help the affected people. Users can Donate, Vew analytics of a disaster, send an SOS from our Android APP, view the latest News and Government Alerts, as well as Chat with a fast and resoponsive Personal Assistant.","archived":false,"fork":false,"pushed_at":"2025-01-22T21:52:56.000Z","size":949,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T16:40:54.158Z","etag":null,"topics":["ai","generative-ai","ibm","ibm-cloud","ibm-watson","ibmcloud"],"latest_commit_sha":null,"homepage":"https://disaster-platform-ibm.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adv-11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-18T15:05:51.000Z","updated_at":"2025-01-22T21:52:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"d10d3511-4e2d-4e9c-bef7-690d5e79c41b","html_url":"https://github.com/adv-11/Disaster_Resilience_Platform","commit_stats":null,"previous_names":["adv-11/disaster_resilience_platform"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adv-11%2FDisaster_Resilience_Platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adv-11%2FDisaster_Resilience_Platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adv-11%2FDisaster_Resilience_Platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adv-11%2FDisaster_Resilience_Platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adv-11","download_url":"https://codeload.github.com/adv-11/Disaster_Resilience_Platform/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245084607,"owners_count":20558251,"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","generative-ai","ibm","ibm-cloud","ibm-watson","ibmcloud"],"created_at":"2025-01-28T16:38:47.132Z","updated_at":"2025-03-23T10:16:35.722Z","avatar_url":"https://github.com/adv-11.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Disaster Resilience Platform\n\nProblem Statement :\nNatural disasters such as floods, hurricanes, etc cause significant damage to life, property, and infrastructure.​\n\nA major challenge during disasters is the lack of real-time communication, effective coordination, and actionable insights for rescue teams, governments, and affected individuals. ​\n\nDuring disasters, donations are often mismanaged or lack transparency, causing mistrust and inefficiency. ​\n\nAn AI-powered disaster management platform is needed to identify disasters and assess risk zones, coordinate rescue and relief efforts in real-time, and provide post-disaster recovery assistance.​\n\n## Documentation\n\n### Overview\n\nProject for the IBM Skills Build Hackathon\n\n\u003cbr\u003e\n\nThe Disaster Resilience Platform is a web application designed to provide real-time information and analysis on various disaster-related topics. It includes features such as a dashboard, affected areas visualization, donation tracking, visualizations, a chatbot, and SOS messages.\n\n### Installation\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/adv-11/Disaster_Resilience_Platform.git\n   cd Disaster_Resilience_Platform\n   ```\n\n2. **Create and activate a virtual environment:**\n\n   ```sh\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n\n3. **Install the required packages:**\n\n   ```sh\n   pip install -r requirements.txt\n   ```\n\n4. **Set up environment variables:**\n   Create a [.env](http://_vscodecontentref_/1) file in the root directory of the project and add the following variables:\n\n   ```env\n\n    WATSON_API_KEY = \"\"\n\n    NEWS_API_KEY= \"\"\n    CLOUDANT_API_KEY = \"\"\n    CLOUDANT_URL = \"\"\n    CLOUDANT_DB_NAME = \"\"\n    TAVILY_API_KEY = \"\"\n    NLU_API_KEY = \"\"\n    NLU_URL = \"\"\n\n    TWITTER_API_KEY = \"\"\n\n    TWITTER_API_SECRET =' '\n\n    TWITTER_BEARER_TOKEN = ''\n\n    TWITTER_ACCESS_TOKEN = ''\n\n    TWITTER_ACCESS_TOKEN_SECRET = ''\n\n    NASA_API_KEY = ''\n\n    # for watson granite models\n\n    apikey = ''\n\n    watson_url = ''\n\n    project_id = ''\n\n    HF_TOKEN = ''\n   ```\n\n### Running the Application\n\n5. **Run the Streamlit application:**\n   ```sh\n   streamlit run app.py\n   ```\n\n### Project Structure\n\n- **app.py**: The main entry point of the application. It sets up the navigation and page configuration.\n\n- **views/dashboard.py**: Contains the code for the dashboard page, which provides an overview of the disaster-related data.\n- **views/affected_areas.py**: Contains the code for visualizing affected areas using GeoJSON data.\n- **views/visualizations.py**: Contains various visualizations related to disaster data.\n- **views/donations.py**: Tracks and displays donation information.\n- **views/chatbot.py**: Implements a chatbot for user interaction.\n- **views/sos.py**: Displays SOS messages and related information.\n\n### Purpose of Each Python File\n\n- **dashboard.py**: Provides a summary and key metrics related to disasters.\n- **affected_areas.py**: Downloads and visualizes GeoJSON data to show affected areas.\n- **visualizations.py**: Generates charts and graphs to visualize disaster data.\n- **donations.py**: Manages and displays information about donations.\n- **chatbot.py**: Implements a chatbot to assist users with queries.\n- **sos.py**: Displays emergency SOS messages and alerts taken from mobile devices of users.\n\n### IBM Technologies Used\n\n- **IBM IAM**\n- **IBM Cloudant**\n- **IBM Secrets Manager**\n- **Natural Language Understanding**\n- **IBM Watsonx.ai Studio**\n- **IBM Watsonx.ai Runtime**\n- **IBM Watsonx.ai Assistant**\n- **IBM Internet Services**\n- **IBM Cloud Object Storage**\n- **IBM AutoML**\n- **IBM Event Notifications**\n\n### Additional Information\n\nFor more details, please refer to the individual Python files and their respective comments and documentation.\n\n---\n\nFeel free to contribute to this project by submitting issues or pull requests. For any questions, please contact the project contributors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadv-11%2Fdisaster_resilience_platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadv-11%2Fdisaster_resilience_platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadv-11%2Fdisaster_resilience_platform/lists"}