'They can kill you': Immigrants fear a surge in xenophobic violence in South Africa (Vibe Mill 2026-06-25)
> Generated by Vibe Mill. This repository was produced by an automated pipeline. No human wrote this code. It is not a product and should not be treated as one.
# 🛡️ Xenophobia Tracker
> *Tracking, mapping, and raising awareness of xenophobic violence in South Africa — one incident at a time.*
## 🚀 Overview
I built this app over a single weekend after reading the harrowing reports of immigrants being attacked, driven from their homes, and killed in South Africa. The phrase *"They can kill you"* stuck with me, and I wanted to create something that could help document these incidents and give a voice to those who are silenced. This is my small attempt to turn outrage into a tool for visibility and advocacy.
## 📦 Installation
```bash
git clone
github.com
cd xenophobia-tracker
npm install
npm run dev
```
The app should now be running on `
localhost`! 🎉
## 🛠️ Tech Stack
- **Next.js** (App Router) – for fast, server-rendered pages
- **TypeScript** – because type safety saves weekends
- **Tailwind CSS** – for styling that doesn't get in the way
- **Mapbox GL JS** – interactive map to visualize incident locations
- **Supabase** – real-time database for storing reports with geolocation
- **Chart.js** – lightweight charts for trend analysis
## 📊 Features
- 🗺️ **Interactive Map** – see every reported xenophobic incident plotted in real-time
- 📝 **Report an Incident** – submit details (location, description, date) with a simple form
- 📈 **Trend Dashboard** – view incident frequency over weeks and months
- 🔍 **Filter by Region** – zoom in on hotspots like Gauteng or Western Cape
- 📰 **News Feed** – auto-fetched headlines from trusted South African outlets
- 🏷️ **Incident Tags** – categorize as "physical attack", "property damage", "threat", or "displacement"
- 📊 **Export Data** – download incident reports as CSV for researchers and journalists
## 🔮 Future Work
- 🚀 AI-powered moderation to detect duplicate report …