walkthru-earth/styleglot — explained in plain English
Analysis updated 2026-08-01 · repo last pushed 2026-04-03
Convert an Esri map style file to MapLibre format to migrate to an open-source platform.
Switch a Mapbox style to Esri format when moving a project to Esri basemaps.
Batch-translate a library of MapLibre styles to Mapbox format for a new platform integration.
Audit visual feature loss when migrating styles by reviewing the library's warning list.
| walkthru-earth/styleglot | 0xkinno/neuralvault | 0xmayurrr/ai-contractauditor | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | TypeScript | TypeScript | TypeScript |
| Last pushed | 2026-04-03 | — | — |
| Maintenance | Maintained | — | — |
| Setup difficulty | easy | hard | easy |
| Complexity | 2/5 | 4/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
No special infrastructure needed, it's a TypeScript library you install and call from your code.
Styleglot is a translator for digital map styles. The three major mapping platforms, Esri, Mapbox, and MapLibre, all use slightly different formatting rules for their visual styles (the files that tell a map what colors to use, where to place labels, and how thick to draw roads). If you build a map using one platform and want to switch to another, you normally have to rewrite your style files by hand. This library automates that process, instantly converting styles between any of the three formats. The tool works in three steps. First, it reads your original style file and translates it into a neutral, universal format. Second, it runs a series of checks and adjustments to make sure the visual rules make sense for the platform you are switching to. Finally, it outputs a brand new style file perfectly formatted for your target platform. It can automatically detect which format your original file uses, or you can specify it yourself. It also includes an asynchronous version that can fetch live map tile data from the internet if your style relies on external sources. A mapping team building a custom visualization on top of Esri's free basemaps might decide to migrate their entire project to an open-source alternative like MapLibre to save on licensing costs. Instead of manually recreating their custom road colors, text labels, and terrain shading in a new system, they can pass their Esri style file through this library and get a ready-to-use MapLibre file back in seconds. One important tradeoff is that not every visual feature exists in all three platforms. For example, Mapbox has special atmospheric effects like "fog" that Esri and MapLibre do not support. The library handles this gracefully by dropping the unsupported features, but it carefully tracks every omission and provides a list of warnings so you know exactly what did not transfer over. It also handles platform-specific quirks, like swapping out proprietary font names for open-source equivalents, and ensuring that private API keys are securely managed during the conversion.
A tool that converts digital map style files between Esri, Mapbox, and MapLibre formats automatically, so you can switch mapping platforms without redoing your styles by hand.
Mainly TypeScript. The stack also includes TypeScript.
Maintained — commit in last 6 months (last push 2026-04-03).
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.