{"id":24859647,"url":"https://github.com/hshreyansh/live-tracking-app","last_synced_at":"2026-05-17T00:44:37.181Z","repository":{"id":274978593,"uuid":"924660012","full_name":"hshreyansh/Live-Tracking-App","owner":"hshreyansh","description":"Live Track your friends wherever they are!!!","archived":false,"fork":false,"pushed_at":"2025-01-30T14:19:03.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T16:22:16.302Z","etag":null,"topics":["ejs","geolocation-api","javascript","leaflet"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hshreyansh.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}},"created_at":"2025-01-30T12:23:33.000Z","updated_at":"2025-01-30T14:19:08.000Z","dependencies_parsed_at":"2025-01-30T14:39:12.477Z","dependency_job_id":null,"html_url":"https://github.com/hshreyansh/Live-Tracking-App","commit_stats":null,"previous_names":["hshreyansh/real-time-tracking-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hshreyansh/Live-Tracking-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hshreyansh%2FLive-Tracking-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hshreyansh%2FLive-Tracking-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hshreyansh%2FLive-Tracking-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hshreyansh%2FLive-Tracking-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hshreyansh","download_url":"https://codeload.github.com/hshreyansh/Live-Tracking-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hshreyansh%2FLive-Tracking-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273997098,"owners_count":25204473,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ejs","geolocation-api","javascript","leaflet"],"created_at":"2025-01-31T20:59:21.728Z","updated_at":"2026-05-17T00:44:37.108Z","avatar_url":"https://github.com/hshreyansh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Live-Tracking-App 📌\n\n![image](https://github.com/user-attachments/assets/79bc1dec-eaac-46ce-8915-b7b7b888aedc)\n\n## Overview\n\nThis project is a real-time device tracking application that utilizes geolocation and WebSockets to monitor device locations and display them on a map. Built with Node.js, Express, Socket.io, and Leaflet.js, it enables seamless real-time updates and dynamic map rendering.\n\n## Features\n\n1. Live Device Tracking: Continuously monitors and updates device locations in real-time.\n2. Interactive Map with Markers: Displays device locations on a dynamic map with easily identifiable markers.\n3. Automatic Marker Updates: Instantly updates markers as device locations change.\n4. Multi-Device Support: Tracks and displays multiple devices simultaneously.\n\n## Tech used\n\n-**Node.js**\n\n-**Express.js**\n\n-**Socket.io**\n\n-**Leaflet.js**\n\n-**EJS (Embedded JavaScript templating)**\n\n## Structure\n\n![image](https://github.com/user-attachments/assets/c4c791df-a90d-48d3-aa66-228e4ed02e2f)\n\n## Working of the Live Device Tracking Application 🗺️\n\n## Backend\n\n1. Server Initialization: The server is set up using Express.js, which initializes an HTTP server to handle client requests.\n2. Socket.io Integration: Socket.io is implemented for real-time communication. When a client connects, a unique socket ID is assigned.\n3. Geolocation Data Handling: The server listens for geolocation updates from connected clients. Upon receiving data, it broadcasts location updates to all clients in real time.\n4. Client Disconnection Management: If a client disconnects, the server removes the associated data and notifies other clients to delete the corresponding marker from the map.\n   \n## Frontend\n\n1. Geolocation Retrieval: The browser’s Geolocation API continuously tracks the device’s position.\n2. Socket.io Client: The client establishes a WebSocket connection with the server using Socket.io for real-time updates.\n3. Location Transmission: The client sends its current geolocation to the server at regular intervals.\n4. Map Rendering: An interactive map is generated using Leaflet.js, with markers representing device locations.\n5. Live Updates: As new location data is received, marker positions on the map update dynamically.\n6. Marker Management: The client-side logic efficiently handles creating, updating, and removing markers based on real-time server data.\n   \n## Conclusion\n\n\u003e\u003e By integrating Express.js, Socket.io, Geolocation API, and Leaflet.js, this Live Device Tracker delivers a seamless and efficient solution for monitoring multiple devices. It ensures instant location updates on an interactive map, making it ideal for real-time tracking applications.\n\u003e\u003e 📍📍🌍🌍🗺️🗺️\n\n## Support\n\n📧 email- shreyansh.maholi@gmail.com\n\n🔗linkedin- https://www.linkedin.com/in/shreyansh-shukla-7a7166249/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhshreyansh%2Flive-tracking-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhshreyansh%2Flive-tracking-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhshreyansh%2Flive-tracking-app/lists"}