What does HackerNews think of tippecanoe?
Build vector tilesets from large collections of GeoJSON features.
for pretty much any geospatial source you can convert to .pmtiles via GDAL[3] and tippecanoe (.shp .gpkg ...) | ogr2ogr -> .geojson | tippecanoe -> .pmtiles
for OpenStreetMap data there's planetiler[4], and and openmaptiles[5] styles that work with Maplibre
with those combinations you've got a great start to something you can host for pennies on AWS S3+CloudFront or Cloudflare R2, with an open source data pipeline
[2] https://github.com/felt/tippecanoe
[4] https://github.com/onthegomap/planetiler
[5] https://openmaptiles.org/styles/
ps I find GDAL/ogr2ogr documentation pretty hard to parse, as an example to get you started
ogr2ogr -f GeoJSON counties.json -t_srs EPSG:4326 -nln counties -sql "SELECT STATEFP, COUNTYFP, NAME FROM tl_2022_us_county" /vsizip/tl_2022_us_county.zip
https://www.census.gov/geographies/mapping-files/time-series/geo/cartographic-boundary.html
A convenient new development is instead of using tippecanoe -> go-pmtiles to create PMTiles archives, you can now output .pmtiles directly:
tippecanoe -o bks2.pmtiles mainroad.geojson ...
This is available in Tippecanoe (https://github.com/felt/tippecanoe) v2.17 and later.
Thanks to Felt (https://felt.com) for supporting this open source work.