News for hackers. Stuff that matters.
Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by neomantra on Sunday November 15, 2026 @05:01PM (#50511304)
We're doing something like this behind Cloudflare R2, same concept of owning the map infra (for privacy and access-control) and reducing load on public infrastructure.

If you are into this stuff, you can view PMTiles from the CLI with "gloss", or try to drag-and-drop on its web interface [1]. It seems large tiles (>128M) and some raster formats are failing; plus it would be nice to load from URL there. Will fix that...

(AI warning). ntmaps [2] is a Golang library that lets you use different tile providers, deployable in terminal or browser. ntplaygrounds [3] uses that and nt3d and ntactor to make a city simulation. Data is pulled from OpenStreetMap in those.

[1] https://nimbleterminal.com/gloss/app.html [2] https://nimbleterminal.com/ntmaps [3] https://nimbleterminal.com/ntplaygrounds

Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by cldellow on Sunday November 15, 2026 @05:26PM (#50511502)
R2 is amazing for this.

Cloudflare, generally, is amazing for this, actually. It serves my personal hiking map for about $2/mo, using R2, D1 and Workers.

Building the map itself is free via GitHub Actions.

It's bonkers how the map world has changed over the last 20 years.

Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by is_true on Sunday November 15, 2026 @05:52PM (#50511750)
That's mostly for the storage not the bandwidth right?
Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by cldellow on Sunday November 15, 2026 @06:05PM (#50511847)
It's pretty much all storage.
Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by kellpossible2 on Sunday November 15, 2026 @05:53PM (#50511762)
how are you using D1 and Workers with this?
Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by cldellow on Sunday November 15, 2026 @06:12PM (#50511892)
Two small uses:

1. The app is a remix app, workers do server-side rendering, so that a vanilla `curl` shows the actual payload, not just a script tag that loads the app.

2. I'm a great big nerd, so I recently added the ability to post reviews/photos/GPX traces to your AT protocol PDS. The app has a Worker cron job that subscribes to Bluesky's Jetstream for events in its namespace, and indexes these into D1 in order to answer certain API calls like "get traces in this area" or "get reviews for this hike". So the app itself isn't the primary source of truth, a person's PDS (which they control) is. The app just maintains a cache/index that can be rebuilt.

Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by tracerbulletx on Sunday November 15, 2026 @07:07PM (#50512335)
R2 is kind of too good, it makes me nervous about how long such a good thing can last.
Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by fhk on Sunday November 15, 2026 @08:22PM (#50512890)
Nice ! Yeah I just built bowmaps.com with this approach of cloudflare for tiles and workers for on the fly vector tiling
Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by BubbleRings on Sunday November 15, 2026 @08:53PM (#50513084)
Looks good. What does the Bow in bowmaps.com mean?
Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by fhk on Sunday November 15, 2026 @09:44PM (#50513390)
Company has a product called Arrow so figure it works together.
Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by jamessb on Sunday November 15, 2026 @05:40PM (#50511637)
> If you are into this stuff, you can view PMTiles from the CLI with "gloss", or try to drag-and-drop on its web inter

The official PMTiles viewer [1, 2, 3] is also pretty good.

[1]: https://pmtiles.io/

[2]: https://github.com/protomaps/PMTiles/tree/main/app

[3]: https://protomaps.com/blog/new-pmtiles-io/

Re:Protomaps: Self-hosting map tiles has gotten cheap and easy by tjwebbnorfolk on Sunday November 15, 2026 @06:31PM (#50512027)
same, we use pmtiles on R2 for landstats.com parcel map. it's very easy to set up and cheap to serve

and we have a CF worker than turns them into rasters on the fly if that's how people want to get them