展示HN:电动车续航计算器 – 续航圈和充电桩地图(700种车型)
我创建了电动车地图(EV Mapping)来回答电动车车主们真正关心的问题:“我能在不充电的情况下往返吗?”<p>您可以选择您的车型,设置起点,输入当前电量百分比,然后点击“计算可达范围”。系统会显示两个圆圈——外圈表示单程范围,内圈表示往返范围——以及所有在可达范围内的充电站,标记为图钉。点击任意图钉即可在谷歌地图中打开导航。<p>技术栈:原生 JavaScript + Leaflet,无构建步骤,托管在 Vercel 上。充电站数据结合了 OpenChargeMap 和 OpenStreetMap Overpass,并进行了去重处理。超过 700 种电动车预设,覆盖 20 多个市场(美国、欧盟、印度、中国、澳大利亚等),每 12 小时通过 GitHub Actions 的 Python 管道进行同步。<p>目录管道从 fueleconomy.gov、afdc.energy.gov、cardekho.com 和 greenvehicleguide.gov.au 等网站获取数据,并结合地区本地的种子文件。它设有反回归保护措施和金丝雀→稳定的推广工作流程,以确保不良同步不会悄然发布。<p><a href="https://ev-mapping.vercel.app" rel="nofollow">https://ev-mapping.vercel.app</a>
来源:<a href="https://github.com/novelmartis/ev-mapping" rel="nofollow">https://github.com/novelmartis/ev-mapping</a><p>欢迎反馈——特别是关于非美国市场的范围准确性和充电站图钉覆盖情况。
查看原文
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.