Show HN: 电动汽车续航里程计算器 – 续航里程圈与充电桩地图(700 种车型)
1 分•作者: sthorat•6 个月前
我开发了 EV Mapping,旨在解答电动汽车车主们最常问的问题:“我能开到目的地并安全返回,中途不用充电吗?”
你只需选择你的车型,设置起点,输入当前电量百分比,然后点击“计算续航”。你将看到两个圆圈——外圈代表单程续航里程,内圈代表往返续航里程——以及所有在续航范围内的充电站,以图钉的形式显示。点击任何一个图钉,即可在 Google 地图中打开导航。
技术栈:原生 JavaScript + Leaflet,无需构建步骤,托管在 Vercel 上。充电站数据整合了 OpenChargeMap 和 OpenStreetMap Overpass,并进行了去重处理。超过 700 种电动汽车预设,覆盖 20 多个市场(美国、欧盟、印度、中国、澳大利亚等),通过 GitHub Actions 上的 Python 管道每 12 小时同步一次。
目录管道会摄取 fueleconomy.gov、afdc.energy.gov、cardekho.com 和 greenvehicleguide.gov.au 的数据,以及特定地区的种子文件。它具有防回归保护措施和 canary→stable 推广工作流程,以防止不良同步悄无声息地发布。
[https://ev-mapping.vercel.app](https://ev-mapping.vercel.app)
源码:[https://github.com/novelmartis/ev-mapping](https://github.com/novelmartis/ev-mapping)
欢迎提供反馈——特别是在非美国市场的续航里程准确性和充电站图钉覆盖范围方面。
查看原文
I built EV Mapping to answer the question EV owners actually ask: "Can I get there and back without charging?"<p>You pick your car, drop a start pin, set your current charge %, and hit Compute Reach. You get two circles — outer for one-way range, inner for round-trip — plus all charging stations within reach as pins. Click any pin to open navigation in Google Maps.<p>Stack: vanilla JS + Leaflet, no build step, hosted on Vercel. Charger data merges OpenChargeMap and OpenStreetMap Overpass with deduplication. 700+ EV presets across 20+ markets (US, EU, India, China, AU, etc.) synced every 12h via a Python pipeline on GitHub Actions.<p>The catalog pipeline ingests fueleconomy.gov, afdc.energy.gov, cardekho.com, and greenvehicleguide.gov.au, plus region-native seed files. It has anti-regression guardrails and a canary→stable promotion workflow so bad syncs don't silently ship.<p><a href="https://ev-mapping.vercel.app" rel="nofollow">https://ev-mapping.vercel.app</a>
Source: <a href="https://github.com/novelmartis/ev-mapping" rel="nofollow">https://github.com/novelmartis/ev-mapping</a><p>Feedback welcome — especially on range accuracy and charger pin coverage in non-US markets.