Skip to content

Latest commit

ย 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿšข VeloCortex AI

Global Maritime & Intermodal Container Track-and-Trace Intelligence Platform

React 19 TypeScript Tailwind CSS Vite 6 Google Gemini License: AGPL v3

๐ŸŒ ๐Ÿ‡บ๐Ÿ‡ธ English | ๐Ÿ‡จ๐Ÿ‡ณ ็ฎ€ไฝ“ไธญๆ–‡ (Chinese)

Next-Generation Maritime & Intermodal Supply Chain Command Center
Real-time vessel and container tracking, predictive ETA analytics, demurrage risk mitigation, IoT telemetry (with optional specialized cold-chain monitoring), and AI-driven route optimization.

Key Features โ€ข Architecture โ€ข Tech Stack โ€ข Quick Start โ€ข Export Engine โ€ข i18n Localization


๐ŸŒŸ Overview

VeloCortex AI Command Center UI Preview

In modern global maritime logistics and intermodal supply chains, end-to-end real-time visibility is essential. Unforeseen terminal congestion, port bottleneck delays, container demurrage risks, or environmental deviations (such as temperature fluctuations in perishable cargo) can disrupt operations and cause substantial financial losses.

VeloCortex AI bridges the visibility gap across global shipping lanes and major oceanic corridors. By integrating real-time Iridium satellite telemetry, interactive maritime mapping, and Google Gemini AI predictive analytics, VeloCortex delivers comprehensive track-and-trace capabilities for cargo vessels, standard containers, and specialized reefersโ€”transforming raw data streams into actionable supply chain intelligence.

+-----------------------------------------------------------------------------------+
|                            VELOCORTEX AI COMMAND CENTER                           |
|                                                                                   |
|   [ ๐Ÿ›ฐ๏ธ Iridium IoT Telemetry ] ---> [ ๐Ÿšข Global Fleet Map ] ---> [ ๐Ÿง  Gemini AI ] |
|            |                                |                           |         |
|            v                                v                           v         |
|  * Active Container & Fleet Tracking  * Port Bottleneck & Dwell Analytics         |
|  * Real-Time IoT Sensor Telemetry     * Demurrage & Detention Risk Mitigation     |
|  * Specialized Reefer Cold-Chain Mod  * Gemini AI Predictive Route Optimization   |
+-----------------------------------------------------------------------------------+

๐Ÿš€ Key Features

๐ŸŒ 1. Live Maritime & Intermodal Command Dashboard

  • Interactive Fleet Visualizer: Monitor container ships in real time across global shipping corridors (Maersk, MSC, CMA CGM, Hapag-Lloyd, Evergreen, ONE, ZIM).
  • Multi-Carrier Search & Filtering: Instant filtering by Carrier Line, Operational Status (IN_TRANSIT, TEMP_EXCURSION, PORT_CONGESTION, CUSTOMS_HOLD, BERTHED), or special identifier (PO#, Invoice#, BOL#, Container Number).
  • Live Container Management (CRUD): Add custom containers to the live tracking dashboard, edit telemetry parameters on the fly, remove retired containers, or reset back to initial demo simulation states with a single click.

โ„๏ธ 2. Biopharma Cold-Chain IoT Telemetry

  • Precision Reefer Monitoring: Track internal temperatures down to 0.1ยฐC against strict SLA target thresholds.
  • Environmental & Integrity Sensors: Continuous monitoring of relative humidity (% RH), internal battery voltages, physical shock events (G-force spikes), and automated optical gantry door seal verifications.
  • Instant Excursion Alerts: Visual pulse notifications and priority triage when thermal drift threatens perishable cargo.

๐Ÿง  3. Gemini AI Predictive Risk Analytics

  • Automated Demurrage & Detention Calculation: Predicts financial exposure in USD before vessels dock at congested berths.
  • AI Route Optimization: Evaluates weather patterns, terminal gate queues, and customs clearance delays to recommend speed adjustments or alternative discharge terminals.
  • Zero-Trust Backend Routing: All LLM inference requests are securely proxied through a Node.js/Express server layer (/api/*), ensuring zero API key exposure in client browsers.

๐Ÿ“‹ 4. Bulk Manifest Lookup & Multi-Format Export Engine

  • Omni-Identifier Batch Processing: Paste hundreds of comma, space, or newline-separated identifiers simultaneously (supports mixing POs, Invoices, BOLs, and Container Numbers).
  • Dual-Mode Data Export:
    • ๐Ÿ“Š Excel (.xlsx) - Spreadsheet Ready: Formatted workbooks with custom column styling, visual SLA headers, and operational summaries generated via SheetJS (xlsx).
    • ๐Ÿ“„ Universal CSV (.csv) - EDI/ERP Compatible: Clean, UTF-8 comma-separated datasets ready for instant ingestion into SAP, Oracle, or custom logistics EDI pipelines.
  • Unified Export Dropdown: Clean, accessible split-button dropdown menu with instant preview tooltips.

๐ŸŒ 5. Native Bilingual Localization (i18n)

  • English & Simplified Chinese (ไธญๆ–‡): Full interface translation supporting global trade operations between Asian manufacturing hubs and Western destination ports.
  • Dynamic Currency & SLA Formatting: Localized terminology for customs holds, terminal berths, and shipping documents.

๐Ÿ—๏ธ System Architecture

VeloCortex AI is built as a high-performance full-stack modern web application optimized for containerized cloud deployment (Google Cloud Run / Docker).

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        Client Layer (Vite 6)                      โ”‚
โ”‚   React 19 โ€ข TypeScript โ€ข Tailwind CSS โ€ข Lucide Icons โ€ข Recharts  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                  โ”‚  HTTP / REST JSON
                                  โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                      Server Layer (Express v4)                    โ”‚
โ”‚      Port 3000 Ingress โ€ข Vite Middleware โ€ข API Security Proxy     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                  โ”‚  Server-Side SDK (@google/genai)
                                  โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                         Google Gemini AI                          โ”‚
โ”‚     Predictive Demurrage Models โ€ข Supply Chain Anomaly Engine     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ› ๏ธ Technology Stack

Category Technology Purpose
Frontend Framework React 19 + TypeScript Type-safe reactive UI components & hooks
Styling & Layout Tailwind CSS 4.1 Mobile-first utility styling & responsive animations
Motion & Transitions Motion (motion/react) Fluid card expansions and route transitions
Data Visualization Recharts 3.10 + Lucide Icons Telemetry charts, temperature logs, & symbology
Spreadsheet Export SheetJS (xlsx) Client-side generation of .xlsx and .csv reports
Backend API Server Node.js + Express 4 Production server & secure Gemini API proxying
AI / LLM Engine @google/genai 2.4 Official Google Gen AI SDK for telemetry inference
Build & Bundling Vite 6 + esbuild Fast HMR dev server & single-file CJS server bundling

๐Ÿ Quick Start

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm or bun package manager
  • A valid Google Gemini API Key (for predictive AI features)

1. Clone the Repository

git clone https://github.com/your-org/velocortex-ai.git
cd velocortex-ai

2. Install Dependencies

npm install

3. Configure Environment Variables

Copy the example environment file and insert your server-side API keys:

cp .env.example .env

Open .env and configure:

# Server-side Gemini API Key (Never exposed to the client browser)
GEMINI_API_KEY=your_actual_gemini_api_key_here

4. Start Development Server

Launch both the Express API backend and the Vite development server on port 3000:

npm run dev

Open your browser and navigate to http://localhost:3000.


๐Ÿ“ฆ Production Build & Deployment

VeloCortex AI uses a unified build pipeline that compiles both the frontend React application and the backend TypeScript Express server into standalone, container-ready artifacts:

# Clean and generate production bundle
npm run build

# Start the production server
npm run start

The build command outputs static UI assets to dist/ and compiles server.ts into a self-contained CommonJS bundle at dist/server.cjs, ensuring zero ES Module relative path resolution issues in production cloud environments.


๐ŸŒ Bilingual Localization

Switch languages dynamically in the application without reloading or losing state, or switch between our documentation languages:

  • ๐Ÿ“– Documentation: Read this guide in ๐Ÿ‡จ๐Ÿ‡ณ ็ฎ€ไฝ“ไธญๆ–‡ (Simplified Chinese) or ๐Ÿ‡บ๐Ÿ‡ธ English.
  • ๐Ÿ‡บ๐Ÿ‡ธ English App Interface: Standard international logistics maritime terminology.
  • ๐Ÿ‡จ๐Ÿ‡ณ ไธญๆ–‡ App Interface (Simplified Chinese): Optimized for transpacific freight forwarders, terminal operators, and port authorities (ๆธฏๅฃๆ‹ฅๅ ต, ๅ†ท้“พ็›‘ๆŽง, ๆปž็ฎฑ่ดน้ฃŽ้™ฉ้ข„ๆต‹).

๐Ÿค Contributing

We welcome contributions from logistics specialists, IoT engineers, and full-stack developers!

  1. Fork the Project
  2. Create your 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

Distributed under the GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE for more information.

Built with โค๏ธ for Global Maritime & Intermodal Supply Chain Excellence.