HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
maptiler
tileserver-gl
JavaScript2020–2024
maptiler / tileserver-gl

tileserver-gl

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.

8Distinct people
9Mentions
0Explicit recommenders
2.9KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year9 dated mentions

Observed mentions: 2020-07-03 14:16:00 UTC to 2024-11-19 15:36:23 UTC.

012342020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC202
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC404
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

What Hacker News says

9 sources
Firstly, I just want to say thanks for the reply, but more so thanks for your work, its moving opensource mapping forward. In my work we are looking at switching from mbtiles hosted with tilserver-gl(https://github.com/maptiler/tileserver-gl) to pmtiles to remove a server process. But we were self hosting already and we are already using maplibre-gl 2. I can see why the implementation in the blog post would be better for high traffic deployments (ours isn't). It also points out to me I don't understand how a CDN would handle range request for hosting the pmtiles file directly, it probably doesn't? As far as the mapbox stuff,in my mind, pmtiles is a direct competitor (successor) to the mbtiles format, which was a revolution in comparison to everything that came before it. A successor I welcome because it makes it even easier for me as a d
Read the rest
eveloper to self host and not be dependent on a SaaS to run my maps. The modern opensource map stack wouldn't exist without mapbox and I'm personally grateful to them for that. Most people who use pmtiles will use mapbox's opensource style spec to style them, and descendants of their open source code to render them. But as a developer now its an obvious choice to not use their services after years of using them. However I'm not doing high traffic stuff and they never made much money off me anyway.
In Serverless maps at 1/700 the cost of Google Maps API
- Linode Shared CPU 4 GB RAM, 2 CPU Cores, 80GB SSD ($20 / month) - Cloudflare Workers ($5 / month) I downloaded a tileset file (.mbtiles extension) for the whole planet (latest I can find for free is here [1]). Tileset file is just a SQLite database with a table where each row contains the x/y/z coordinates of a tile and a binary blob containing the corresponding GeoJSON of features as a protobuf (commonly referred to as a vector tile). You can start tileserver-gl-light[2] (light only serves vector tiles) pointing to the .mbtiles file (Ideally I think you slice the .mbtiles file into individual tiles and put them in something like S3 but it will cost $$$ and time) and it performs remarkably well given that it's serving an 60GB+ .mbtiles file from SSD, not RAM. I have an nginx proxy in front of tileserver-gl-light as I use the Linode for
Read the rest
other projects. I added a rule in Cloudflare to cache any tile request url for 8 days to reduce the load on the origin server. On average about 30-50% of tile requests come from Cloudflare's cache. On the front end I switched from Mapbox GL JS to Maplibre JS [4]. I switched the Mapbox DEM data for Open Data on AWS [5]. If you need any clarifications, my contact info is in my profile. Hope this helps. [1] - https://archive.org/details/osm-vector-mbtiles [2] - https://www.npmjs.com/package/tileserver-gl-light [3] - https://github.com/maptiler/tileserver-gl/blob/master/README... [4] - https://maplibre.org/ [5] - https://registry.opendata.aws/terrain-tiles/
In Shade Map Pro
Thanks for the pointers -- Leaflet I know as the visualization layer that is basically not-mapbox-GL. The rest are new to me, and will crawl through them. One of the nice out-of-the-box systems I've come across is Pelias[0], what are your opinions on it? It bundles and provides the API so it's one of the things I've thought to self-host if I'm going to. It looks like it doesn't do tiles so I'd need to find something for that? From deep in my bookmarks I also have: - https://github.com/tidwall/tile38 (in-memory search+geofencing+other) - https://openlayers.org/ (visualization, alternative to leaflet?) - https://download.geofabrik.de/ (where to actually download the OSM data, to hand it to something like PostGIS) - https://github.com/maptiler/tileserver-gl (A tile server... which presumably needs OSM data & takes coordinates with bounding b
Read the rest
ox parameters?) > I do have a decade of experience building web mapping applications > I don't have a GIS background in particular; It's only on HN that you get statements like this, haha, what do you think 10 years of experience building mapping applications is? I building mapping applications is generally what people consider "GIS background" -- if you did GIS but never produced any maps... would the trees make a sound? [0]: https://pelias.io/
In A new way to make maps with OpenStreetMap

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.