A real-time LNG (Liquefied Natural Gas) tanker vessel tracking application built with Next.js and Mapbox GL.
- 🗺️ Interactive Mapbox GL map with dark theme
- 🚢 Real-time vessel marker display
- 📍 Detailed vessel information popups (name, speed, heading, position)
- 🎯 Auto-fit view to show all vessels
- 📱 Responsive design
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS
- Mapping: Mapbox GL JS
- Package Manager: npm
- Node.js 18.x or higher
- A free Mapbox account (sign up here)
-
Clone the repository:
git clone https://github.com/blomm/vessel-track.git cd vessel-track -
Install dependencies:
cd app npm install -
Set up environment variables:
cp .env.example .env.local
Edit
.env.localand add your Mapbox token:NEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token_here -
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser
vessel-track/
├── app/ # Next.js application
│ ├── app/ # App router pages and layouts
│ ├── components/ # React components (Map, etc.)
│ └── data/ # Mock vessel data
└── specs/ # Project documentation and specifications
v0.1 - Basic implementation with mock data
Currently tracking 6 mock LNG tanker vessels across global locations. Future versions will integrate real AIS (Automatic Identification System) data for live vessel tracking.
Detailed documentation is available in the specs/ directory:
- Setup Guide - Detailed installation instructions
- Architecture - System design and component structure
- Features - Current and planned features
- Tech Stack - Technology decisions and rationale
- Integrate real-time AIS data
- Add vessel filtering and search
- Implement vessel tracking history/trails
- Add weather overlays
- Mobile app version
Contributions are welcome! Please feel free to submit a Pull Request.
MIT
Built with Claude Code