Oriel — AI & technology worth noticing, every day.

Protomaps: Self-hosting map tiles has gotten cheap and easy

Web page · https://bruceroettgers.eu/blog/protomaps

First seen by Oriel on .

AI summary

This guide explains how PMTiles and Bunny.net make self-hosting cost-effective, portable map tiles for non-commercial projects using Range requests and MapLibre GL.

  • PMTiles stores tiles in one file accessible through Range requests, simplifying deployment and supporting CDN caching without traditional tile-path infrastructure.
  • The CLI can extract geographic bounding boxes or selected zoom levels, producing substantially smaller files than the complete world map.
  • Bunny.net storage and CDN pricing can host the 139GB world map for about $5 monthly with fivefold replication, according to the author’s estimate.
  • A Europe map session transmitting about 5MB costs approximately $0.00005, potentially making map loads 100 times cheaper than Mapbox, although bandwidth varies by usage.
  • Embedding requires the pmtiles npm package, a registered protocol, and a style configured in MapLibre GL.ï

#protomaps #pmtiles #maplibre gl #cdn

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 460, latest observation ; +447 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 84, latest observation ; +83 over observed period since

Aliases

SourceExternal IDURL
Hacker News50509837https://bruceroettgers.eu/blog/protomaps/ Read discussion