Skip to content

AMANkumar0004/RiskLens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”Ž RiskLens

AI-Powered Environmental Risk Analysis Dashboard

React TypeScript Vite Tailwind AI License

RiskLens is an AI-powered environmental intelligence platform that analyzes environmental signals and provides risk insights, geospatial visualization, and AI-generated recommendations.

The system integrates AI reasoning, map visualization, automated summaries, and reporting tools to help users understand environmental threats and take informed actions.

🌐 Live Demo

https://risk-lens-gules.vercel.app/


πŸš€ Features

🌍 Interactive Risk Map

Visualize environmental regions and monitor risk signals directly on a 2D interactive map.

πŸ€– AI Risk Analysis

Uses Google Gemini AI to analyze environmental signals and generate insights.

πŸ’¬ AI Chat Assistant

Ask questions and interact with an AI assistant for deeper environmental insights.

πŸ“Š Automated Risk Summaries

AI generates structured summaries explaining risk patterns and mitigation steps.

🚨 Alert Monitoring

High-risk environmental signals trigger alerts on the dashboard.

πŸ“„ Report Export

Generate PDF reports containing analysis summaries.

🌐 Multi-Language Support

Translation support to make the platform accessible globally.


πŸŽ₯ Demo

Dashboard Demo

(Add a GIF here later)

docs/dashboard-demo.gif

Example once you add it:

![Dashboard Demo](docs/dashboard-demo.gif)

πŸ“Έ Screenshots

Risk Dashboard

docs/dashboard.png

Map Visualization

docs/map.png

AI Chat Assistant

docs/chatbot.png

Risk Analysis Summary

docs/analysis.png

(Create a docs folder in your repo and place images there.)


🧠 System Architecture

User
  β”‚
  β–Ό
React + Vite Frontend
  β”‚
  β–Ό
AI Service Layer
(Google Gemini API)
  β”‚
  β–Ό
Risk Analysis Engine
  β”‚
  β–Ό
Visualization Layer
(Map + Dashboard + Charts)
  β”‚
  β–Ό
Report Generator
(html2canvas + jsPDF)

πŸ›  Tech Stack

Frontend

  • React
  • TypeScript
  • Vite
  • TailwindCSS

AI Integration

  • Google Gemini API

Visualization

  • Interactive Map Component
  • Dashboard UI

Utilities

  • html2canvas
  • jsPDF
  • React Markdown

Deployment

  • Vercel

πŸ“‚ Project Structure

RiskLens
β”‚
β”œβ”€β”€ components
β”‚   β”œβ”€β”€ AlertOverlay.tsx
β”‚   β”œβ”€β”€ AnalysisSummary.tsx
β”‚   β”œβ”€β”€ ChatBot.tsx
β”‚   β”œβ”€β”€ Map2D.tsx
β”‚   β”œβ”€β”€ Sidebar.tsx
β”‚   └── Header.tsx
β”‚
β”œβ”€β”€ services
β”‚   └── geminiService.ts
β”‚
β”œβ”€β”€ public
β”‚   β”œβ”€β”€ images
β”‚   └── assets
β”‚
β”œβ”€β”€ App.tsx
β”œβ”€β”€ index.tsx
β”œβ”€β”€ types.ts
└── vite.config.ts

βš™οΈ Installation

Clone the repository

git clone https://github.com/AMANkumar0004/RiskLens.git

Navigate to project folder

cd RiskLens

Install dependencies

npm install

Start development server

npm run dev

Open:

http://localhost:5173

πŸ”‘ Environment Variables

Create a .env file in the root directory.

VITE_GEMINI_API_KEY=your_api_key_here

πŸ“ˆ Future Improvements

  • Satellite data integration
  • Flood prediction models
  • Historical risk trend analysis
  • Advanced geospatial analytics
  • Role-based authentication
  • Real-time environmental data feeds

🎯 Use Cases

  • Environmental risk monitoring
  • Disaster preparedness
  • Smart city analytics
  • Urban planning
  • Academic research

⭐ Support

If you like this project:

⭐ Star the repository 🍴 Fork the project πŸ›  Contribute improvements


MIT License

Copyright (c) 2026 Aman Kumar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction...

About

.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors