https://github.com/alok-devforge/realtime-time-location-tracking-and-alert-system
π Real-time wildlife tracking & visitor monitoring system with GPS, WebSocket technology, proximity alerts, and interactive maps for University of Engineering and Management National Park
https://github.com/alok-devforge/realtime-time-location-tracking-and-alert-system
express geolocation gps-tracking interactive-maps javascript leaflet location-tracking nodejs openstreetmap real-time socket-io tracking-system websocket wildlife-tracking
Last synced: 10 days ago
JSON representation
π Real-time wildlife tracking & visitor monitoring system with GPS, WebSocket technology, proximity alerts, and interactive maps for University of Engineering and Management National Park
- Host: GitHub
- URL: https://github.com/alok-devforge/realtime-time-location-tracking-and-alert-system
- Owner: alok-devforge
- License: mit
- Created: 2025-09-12T20:35:31.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2025-09-13T08:05:56.000Z (about 1 month ago)
- Last Synced: 2025-09-20T09:49:26.151Z (24 days ago)
- Topics: express, geolocation, gps-tracking, interactive-maps, javascript, leaflet, location-tracking, nodejs, openstreetmap, real-time, socket-io, tracking-system, websocket, wildlife-tracking
- Language: CSS
- Homepage: https://realtime-time-location-tracking-and.onrender.com/#
- Size: 131 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π Real-Time Location Tracking & Wildlife Alert System
![]()
![]()
![]()
![]()
π¦ A sophisticated real-time wildlife tracking and monitoring system for University of Engineering and Management National Park---
## π Live Demo
π Live Application
uem-kolkata-wildlife-tracker.onrender.comπ Location
University of Engineering and Management, Kolkata
22.5603Β° N, 88.4903Β° E
## π Overview
This cutting-edge project leverages **WebSocket technology** to provide real-time wildlife tracking and visitor monitoring for University of Engineering and Management National Park. The system features an interactive map interface with live animal simulation, proximity alerts, and comprehensive safety monitoring.
## β¨ Key Features
| π― **Real-Time Tracking** | π¦ **Wildlife Simulation** | π¨ **Safety Alerts** | πΊοΈ **Interactive Maps** |
|:---:|:---:|:---:|:---:|
| Live GPS tracking with WebSocket | 10 realistic animal species | Proximity-based warnings | OpenStreetMap & Leaflet.js |
| Multi-visitor support | Territory-based movement | 3-tier alert system | Park boundaries & zones |### π₯ Advanced Features
- **π Real-time visitor tracking** using GPS and WebSocket technology
- **π¦ Comprehensive wildlife simulation** with 10 different animal species
- **β οΈ Intelligent proximity alerts** with distance-based warning system
- **πΊοΈ Interactive map interface** with multiple view modes
- **ποΈ Multi-zone monitoring** including park boundaries and visitor centers
- **π Real-time safety notifications** with customizable alert levels
- **π Live dashboard** with visitor statistics and wildlife monitoring
- **π¨ Modern responsive UI** with smooth animations and transitions## π οΈ Technology Stack
![]()
![]()
![]()
| Technology | Purpose | Version |
|:---:|:---:|:---:|
| **Node.js** | Server Runtime | v18+ |
| **Express.js** | Web Framework | v4.18+ |
| **Socket.IO** | WebSocket Communication | v4.7+ |
| **Leaflet.js** | Interactive Maps | Latest |
| **OpenStreetMap** | Map Data Provider | - |
| **Geolocation API** | GPS Tracking | Browser Native |## π¦ Wildlife Simulation System
π― Click to view all 10 animal species
### π΄ High Threat Animals
| Animal | Scientific Name | Habitat | Danger Zone | Warning Zone |
|:---:|:---:|:---:|:---:|:---:|
| π **Raja the Tiger** | *Panthera tigris* | Dense forests | 50m | 100m |
| π **Ganesha the Elephant** | *Elephas maximus* | Open grasslands | 30m | 75m |
| π **Shera the Leopard** | *Panthera pardus* | Rocky outcrops | 40m | 80m |
| π **Sobek the Crocodile** | *Crocodylus palustris* | Water bodies | 45m | 85m |### π‘ Medium Threat Animals
| Animal | Scientific Name | Habitat | Danger Zone | Warning Zone |
|:---:|:---:|:---:|:---:|:---:|
| π» **Baloo the Sloth Bear** | *Melursus ursinus* | Forest undergrowth | 35m | 70m |
| π **Pumba the Wild Boar** | *Sus scrofa* | Dense undergrowth | 25m | 50m |### π’ Low/No Threat Animals
| Animal | Scientific Name | Habitat | Warning Zone |
|:---:|:---:|:---:|:---:|
| π¦ **Bambi the Spotted Deer** | *Axis axis* | Open meadows | 20m |
| π¦ **Mayur the Peacock** | *Pavo cristatus* | Forest clearings | 15m |
| π¦ **Zazu the Hornbill** | *Buceros rhinoceros* | Tall canopy | 10m |
| π **Hanuman the Monkey** | *Macaca mulatta* | Tree canopies | 25m |### οΏ½ Alert System
| Alert Level | Icon | Description | Action Required |
|:---:|:---:|:---:|:---:|
| **π¨ DANGER** | Red | Animal within danger radius | **Immediate evacuation** |
| **β οΈ WARNING** | Yellow | Animal within warning radius | **Maintain safe distance** |
| **π INFO** | Blue | General park information | **Stay informed** |
| **β SAFE** | Green | No immediate threats | **Continue safely** |## π Deployment Guide
### π¦ Quick Deploy to Render
[](https://render.com)
### π Prerequisites
- β **Node.js** v18 or higher
- β **Git** installed and configured
- β **GitHub/GitLab account** for repository hosting
- β **Render account** (free tier available)### π§ Step-by-Step Deployment
1οΈβ£ Repository Setup
```bash
# Clone your repository
git clone https://github.com/alok-devforge/realtime-time-location-tracking-and-alert-system.git
cd realtime-time-location-tracking-and-alert-system# Install dependencies
npm install# Test locally
npm start
```2οΈβ£ Render Configuration
1. π Go to [render.com](https://render.com) and sign up
2. π Connect your GitHub account
3. β Click **"New +"** β **"Web Service"**
4. π Select your repository
5. βοΈ Configure settings:
- **Name**: `uem-wildlife-tracker`
- **Environment**: `Node`
- **Build Command**: `npm install`
- **Start Command**: `node server.js`
- **Plan**: `Free` (or upgrade as needed)3οΈβ£ Environment Configuration
| Setting | Value | Description |
|:---:|:---:|:---:|
| **Port** | `process.env.PORT` | Auto-configured by Render |
| **Node Version** | `18+` | Specified in package.json |
| **Auto-Deploy** | `Enabled` | Deploy on git push |### π Deployment Features
- **π Automatic deployments** on git push
- **π WebSocket support** for real-time features
- **π Built-in monitoring** and logging
- **β‘ Global CDN** for fast loading
- **π Free SSL certificates** included
- **π Easy scaling** options available## π» Local Development
### π§ Installation
```bash
# 1. Clone the repository
git clone https://github.com/alok-devforge/realtime-time-location-tracking-and-alert-system.git# 2. Navigate to project directory
cd realtime-time-location-tracking-and-alert-system# 3. Install dependencies
npm install# 4. Start the development server
npm start
```### π Usage
1. **π Start the server**: Run `npm start`
2. **π Open browser**: Navigate to `http://localhost:3000`
3. **π Allow location**: Grant location permissions when prompted
4. **π€ Enter name**: Input your name to join the tracking system
5. **π¦ Monitor wildlife**: View real-time animal locations and receive alerts### π Project Structure
```
π¦ realtime-time-location-tracking-and-alert-system/
βββ π server.js # Main server file (Express + Socket.IO)
βββ π package.json # Dependencies and scripts
βββ π Procfile # Deployment configuration
βββ π index.html # Main HTML file
βββ π public/ # Client-side assets
β βββ π images/ # Image assets
β βββ π scripts/ # JavaScript files
β β βββ π script.js # Main application logic
β β βββ π methods.js # Utility functions
β β βββ π coords.js # Park boundaries & coordinates
β β βββ π control.js # UI controls & interactions
β β βββ π userMarkers.js # User marker management
β βββ π styles/ # CSS stylesheets
β βββ π style.css # Main styles
β βββ π modern-panels.css # Panel styles
β βββ π tooltip.css # Tooltip styles
βββ π README.md # Project documentation
```## π‘οΈ Safety Guidelines
> β οΈ **Important Disclaimer**: This is a demonstration system for educational purposes.
### π Real Wildlife Park Guidelines
- π₯ **Always follow park ranger instructions**
- π **Maintain recommended distances from all wildlife**
- π« **Never attempt to feed or approach animals**
- π **Report any wildlife sightings to park authorities**
- πΆ **Stay on designated trails and paths**
- π± **Keep emergency contacts readily available**## π€ Contributing
We welcome contributions! Here's how you can help:
| π **Bug Reports** | π‘ **Feature Requests** | π§ **Code Contributions** |
|:---:|:---:|:---:|
| [Open an Issue](../../issues) | [Request Feature](../../issues) | [Create Pull Request](../../pulls) |### π Contribution Guidelines
1. **π΄ Fork** the repository
2. **πΏ Create** a feature branch (`git checkout -b feature/AmazingFeature`)
3. **πΎ Commit** your changes (`git commit -m 'Add some AmazingFeature'`)
4. **π€ Push** to the branch (`git push origin feature/AmazingFeature`)
5. **π Open** a Pull Request## π License
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
[](https://opensource.org/licenses/MIT)
## π¨βπ» Author & Contact
**alok-devforge**
[](https://github.com/alok-devforge)
[](https://linkedin.com/in/alok-devforge)---
π If you found this project helpful, please give it a star! β
Made with β€οΈ for wildlife conservation and education