{"id":28289145,"url":"https://github.com/alexgoodison/danphobic","last_synced_at":"2025-07-26T23:40:29.759Z","repository":{"id":293989853,"uuid":"985196561","full_name":"alexgoodison/danphobic","owner":"alexgoodison","description":"AI-powered NGINX log analysis dashboard with anomaly detection (Winner of UCC ACM Hackathon '25) 🏆 ","archived":false,"fork":false,"pushed_at":"2025-06-03T20:48:53.000Z","size":101784,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-04T05:18:24.367Z","etag":null,"topics":["fastapi","gemini","nextjs","nginx","python"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/alexgoodison.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,"zenodo":null}},"created_at":"2025-05-17T09:02:08.000Z","updated_at":"2025-06-03T20:48:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb466f9a-1df3-4329-b289-a9c9941e968e","html_url":"https://github.com/alexgoodison/danphobic","commit_stats":null,"previous_names":["alexgoodison/danphobic"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexgoodison/danphobic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexgoodison%2Fdanphobic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexgoodison%2Fdanphobic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexgoodison%2Fdanphobic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexgoodison%2Fdanphobic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexgoodison","download_url":"https://codeload.github.com/alexgoodison/danphobic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexgoodison%2Fdanphobic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260579206,"owners_count":23031130,"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":["fastapi","gemini","nextjs","nginx","python"],"created_at":"2025-05-22T00:14:25.254Z","updated_at":"2025-07-07T18:34:13.138Z","avatar_url":"https://github.com/alexgoodison.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Danphobic - NGINX Log Analysis Dashboard 🏆\n\n**Winner of the UCC ACM Hackathon sponsored by NGINX**\n\nCreated by Alex Goodison \u0026 Suneet Mahajan.\n\nDanphobic is a powerful web-based dashboard for analyzing NGINX access logs. It provides insights into web server traffic patterns, detects anomalies, and helps identify potential security threats through advanced log analysis.\n\n## 🎥 Demo\n\n[![Danphobic Demo](https://img.youtube.com/vi/aNV8Q0hqLG8/maxresdefault.jpg)](https://www.youtube.com/watch?v=aNV8Q0hqLG8)\nClick thumbail above to [watch on Youtube](https://www.youtube.com/watch?v=aNV8Q0hqLG8)\n\n## 🚀 Features\n\n- **Interactive Dashboard**: Clean, modern interface for visualising log data\n- **AI-Powered Analysis**: Leverages Google's Gemini LLM for intelligent log querying and analysis\n- **Anomaly Detection**: Identifies suspicious patterns including:\n  - High-frequency IP requests\n  - Suspicious user agents\n  - Sensitive endpoint access attempts\n  - Burst requests\n  - Error rate spikes\n  - Bot vs. human traffic analysis\n- **Geographic Visualisation**: Map view of request origins\n- **Advanced Analytics**:\n  - Request patterns over time\n  - Status code distribution\n  - HTTP method analysis\n  - Most accessed paths\n  - Error path analysis\n  - Traffic pattern insights\n\n## 🛠️ Tech Stack\n\n- **Frontend**: Next.js with modern UI components\n- **Backend**: FastAPI (Python)\n- **Search Engine**: Elasticsearch for efficient log storage and querying\n- **AI Integration**: Google Gemini LLM for intelligent log analysis\n- **Data Processing**: Custom Python parser for NGINX log analysis\n\n## 🎯 Problem Statement\n\nThe project addresses the challenge of making sense of NGINX access logs by:\n\n1. Reading and parsing NGINX access logs\n2. Identifying unusual patterns and potential security threats\n3. Presenting insights through an intuitive dashboard interface\n\n## 🏆 Achievement\n\nThis project won the UCC ACM Hackathon sponsored by NGINX, demonstrating excellence in:\n\n- Technical implementation\n- User experience design\n- Problem-solving approach\n- Innovation in log analysis\n\n## 🔍 Key Features in Detail\n\n### Anomaly Detection\n\n- Identifies blacklisted IPs\n- Detects unusual request patterns\n- Monitors sensitive endpoint access\n- Analyses user agent patterns\n- Tracks error rates and spikes\n\n### Data Visualisation\n\n- Interactive charts and graphs\n- Geographic request distribution\n- Real-time traffic monitoring\n- Error pattern analysis\n- Traffic pattern insights\n\n### AI Integration\n\n- Natural language querying of logs\n- Intelligent pattern recognition\n- Automated anomaly detection\n- Smart insights generation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexgoodison%2Fdanphobic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexgoodison%2Fdanphobic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexgoodison%2Fdanphobic/lists"}