An attempt to map the areas with active conflict in Ukraine using open source twitter data.
An attempt to use open source data on Twitter to map areas with active conflict. Right now it is used for the Ukraine-Russia conflict, but in the future I hope it can be used for all sorts of dangerous situations.
Report Bug
·
Add Feature
·
Website Live!
·
Join Discord!
There are many twitter accounts posting live tweets about locations with conflicts. However, it is difficult to keep track of the locations especially with multiple different sources pointing out different location every few minutes. To make sure people can stay safe and take care of themselves, I have aggregated all the tweets into a single map that is easily accessible.
This project is a work in progress. I am working on adding more features and improving the map.
How it works:
To get a local copy up and running follow these simple example steps.
git clone https://github.com/kinshukdua/LiveActionMap.git
pip install -r requirements.txt
python3 -m spacy download en_core_web_sm
.env
file based on the .env.example
cp .env.example .env
.env
file created in the previous step.docker-compose.yaml
-file
wget https://raw.githubusercontent.com/kinshukdua/LiveActionMap/main/docker/docker-compose.yaml
.env
file based on the .env.example
wget https://raw.githubusercontent.com/kinshukdua/LiveActionMap/main/.env.example -O .env
docker-compose up -d
Simply edit hashtags, prepositions and keywords and run scrape.py.
python scrape.py
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE.txt
for more information.