Inspiration

Off the grid theme really inspired us to decide on the idea of a local map sharing website that could be used in emergencies where internet signal was not available. We used local sharing to make it different from other previously built projects.

What it does

Allows users to add markers on a map to indicate important locations such as food points or danger zones during a large emergency (e.g. natural disaster or terrorist attack). The website is designed so as long as the user has previously downloaded the map of their area, it can run without any internet connection. Users add points to their local map, and can share their markers using a peer-to-peer connection established using a phone hotspot and QR codes. This means that users can share their knowledge and help others survive the emergency. The webpage can be downloaded

How we built it

We used React to build an interactive website with HTML and CSS to display the frontend. The backend was built with Node js with Express - this is used for downloading the maps initially. MapLibre is used to generate the map display that the markers are added to, html5-qrcode is used to create and scan QR codes, IndexedDB is used to store the user's markers locally.

Challenges we ran into

For all of us, it is our first Hackathon so we are not very experienced with quickly building full stack applications. We also have little experience working as a programming team so we struggled with git and version control at the start. Our main challenge was figuring out how to transfer the data required for each marker between devices without any other network connections. Our initial idea was to use QR codes which encoded the marker data directly, but this was not possible because the QR codes could not store enough information. After some research we realised we needed to use WebRTC

Accomplishments that we're proud of

We are very proud that our peer-to-peer connection does work. We are also proud that we actually managed to build something decent with very little experience in anything like this.

What we learned

Developing and hosting websites, JS (and using React), HTML and CSS were new to some of us. We all learnt so much about github and git - none of us have ever used it before so this was really valuable

What's next for CrisisLink

If we had more time, we would implement a feature that would allow governments and official organisations to publish official markers that would be available to those which had signal. This could then be shared to others that might still be offline. We would also liked to have been able to send the map data along with the markers so that users that might not have the right location stored could copy it from a user that did.

Share this project:

Updates

Submission history