arandomguyhere/Baltimore-Intel

GitHub: arandomguyhere/Baltimore-Intel

面向巴尔的摩港关键基础设施的多源情报聚合平台,整合船舶追踪、铁路监控、新闻舆情和无线电转录于一体。

Stars: 1 | Forks: 1

Baltimore Intel

巴尔的摩港关键基础设施情报平台

Dashboard Data Collection License

## 实时仪表板 **https://arandomguyhere.github.io/Baltimore-Intel/** ## 功能特性 | 功能 | 状态 | 描述 | |---------|--------|-------------| | **Amtrak 列车追踪** | ✅ 实时 | 通过 Amtraker API 获取实时列车位置 | | **巴尔的摩新闻源** | ✅ 实时 | 来自 Google News RSS 的港口/航运/基础设施新闻 | | **铁路网络覆盖** | ✅ 实时 | OpenRailwayMap 瓦片图层 | | **基础设施状态** | ✅ 实时 | 码头和关键节点监控 | | **AIS 船舶追踪** | ✅ 实时 | 实时船舶位置(需在设置中输入 API 密钥) | | **扫描仪源** | ✅ 实时 | Broadcastify 链接,通过 ScannerTranscribe 进行转录 | | **大宗商品** | ⚠️ 模拟 | 占位数据(真实 API 需要密钥) | ## 快速入门 ### 1. 查看仪表板 访问 **https://arandomguyhere.github.io/Baltimore-Intel/** - 数据每 15 分钟更新一次。 ### 2. 启用 AIS 船舶追踪 1. 从 [aisstream.io](https://aisstream.io) 获取免费的 API 密钥 2. 点击仪表板标题中的 **Settings** 3. 粘贴您的 API 密钥并点击 **Save & Connect** 4. 在地图上切换 **Vessel Tracks** 以查看船只 ### 3. 使用扫描仪转录 1. 点击 **Listen** 打开 Broadcastify 源 2. 点击 **Transcribe** 打开 [ScannerTranscribe](https://arandomguyhere.github.io/ScannerTranscribe/) 3. 在 ScannerTranscribe 中开始捕获以转录音频 ## 系统架构 ``` ┌─────────────────────────────────────────────────────────────────┐ │ GitHub Actions (every 15 minutes) │ │ collect_data.py → APIs → JSON files → GitHub Pages deploy │ └─────────────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────────────┐ │ docs/data/*.json │ │ amtrak │ news │ commodities │ infrastructure │ vessels │ └─────────────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────────────┐ │ Dashboard (GitHub Pages) │ │ Leaflet Map │ News Panel │ Scanner Feeds │ Commodities │ │ │ │ + Live WebSocket connections: │ │ • AISstream (vessels) - API key in Settings │ └─────────────────────────────────────────────────────────────────┘ ``` ## 数据源 | 来源 | 类型 | API/URL | 需要认证 | |--------|------|---------|---------------| | **Amtraker** | 列车 | `api-v3.amtraker.com` | 否 | | **Google News RSS** | 新闻 | `news.google.com/rss` | 否 | | **OpenRailwayMap** | 铁路瓦片 | `tiles.openrailwaymap.org` | 否 | | **AISstream** | 船舶 | `stream.aisstream.io` | 是(免费) | | **Broadcastify** | 扫描仪 | `broadcastify.com` | 否 | | **ScannerTranscribe** | 转录 | 您的应用 | 否 | ## 扫描仪源 (Broadcastify) | 源 | ID | 覆盖范围 | |------|----|----------| | 巴尔的摩铁路 (CSX/NS/Amtrak) | 14954 | 铁路通信 | | 巴尔的摩市/县消防 | 22380 | 消防调度 | | 巴尔的摩市警察 | 32008 | 警察对话组 | | 巴尔的摩县消防/EMS | 16828 | 县消防/EMS | ## 港口基础设施 ### 码头 | 码头 | 类型 | 状态 | |----------|------|--------| | Seagirt Marine Terminal | 集装箱 | 运营中 | | Dundalk Marine Terminal | 滚装/散杂货 | 运营中 | | CNX Marine Terminal | 煤炭出口 | 运营中 | | Fairfield Auto Terminal | 汽车 | 运营中 | ### 铁路 | 位置 | 运营商 | 备注 | |----------|----------|-------| | Howard Street Tunnel | CSX | 运力瓶颈 | | Penn Station | Amtrak | NEC 枢纽 | | Bayview Yard | Norfolk Southern | 多式联运 | ### 关键节点 | 位置 | 状态 | 备注 | |----------|--------|-------| | Fort McHenry Channel | 运营中 | 主航道 | | Key Bridge Area | 关键 | 大桥坍塌 - 限制通航 | ## 项目结构 ``` Baltimore-Intel/ ├── docs/ # GitHub Pages dashboard │ ├── index.html # Main dashboard (Leaflet + panels) │ └── data/ # JSON data (auto-updated) │ ├── amtrak.json # Train positions │ ├── news.json # Baltimore news │ ├── commodities.json # Port commodities │ ├── infrastructure.json # Status monitoring │ ├── vessels.json # AIS vessel data │ └── manifest.json # Data manifest ├── baltimore_intel/ # Python data collectors │ └── collect_data.py # Main collector script ├── .github/workflows/ │ ├── collect-and-deploy.yml # Scheduled collection + deploy │ ├── auto-assign.yml # Issue assignment │ └── codeql-analysis.yml # Security scanning └── README.md ``` ## 本地开发 ### 运行数据收集器 ``` cd baltimore_intel pip install requests websocket-client python collect_data.py ``` ### 使用 AIS(需要 API 密钥) ``` export AISSTREAM_API_KEY=your_key_here python collect_data.py ``` ## GitHub Secrets(可选) 用于通过 GitHub Actions 自动收集 AIS 数据: | Secret | 描述 | |--------|-------------| | `AISSTREAM_API_KEY` | 用于船舶追踪的 AISstream.io API 密钥 | 添加位置:Repository Settings → Secrets → Actions → New secret ## 相关项目 | 项目 | 描述 | |---------|-------------| | [ScannerTranscribe](https://github.com/arandomguyhere/ScannerTranscribe) | 基于 Whisper AI 的浏览器端扫描仪转录 | | [Google-News-Scraper](https://github.com/arandomguyhere/Google-News-Scraper) | 带实体提取的新闻聚合 | | [AIS_Tracker](https://github.com/arandomguyhere/AIS_Tracker) | 船舶追踪仪表板 | ## 致谢 - **Amtraker** - [amtraker.com](https://amtraker.com/) - **OpenRailwayMap** - [openrailwaymap.org](https://www.openrailwaymap.org/) - **AISstream** - [aisstream.io](https://aisstream.io/) - **Broadcastify** - [broadcastify.com](https://www.broadcastify.com/) ## 许可证 AGPL-3.0 - 详见 [LICENSE](./LICENSE)
标签:AIS船舶追踪, AI人工智能, AMSI绕过, CMS安全, GitHub Actions, HTTP/HTTPS抓包, JavaScript, 交通情报, 基础设施监控, 威胁检测, 巴尔的摩港, 库, 应急响应, 态势感知, 态势感知大屏, 新闻订阅, 海事安全, 港口监控, 物流追踪, 自动笔记, 逆向工具, 铁路监控