GitHub – osm2vectortiles/osm2vectortiles: Generating global vector tiles from OSM Planet
OSM2VectorTiles makes is possible to create vector tiles from OpenStreetMap data. For a detailed documentation, please visit our project website. Create a custom base map in minutes with our free vector tiles from OpenStreetMap data. This is the easiest way how to switch to OSM thanks to MapBox open-source tools. Design your own map of world or country, serve raster or vector tiles from any virtual server or your own infrastructure, even offline behind a firewall. The project is under the MIT license while the data downloads use the Open Database License from OpenStreetMap. The purpose of this project is to make OSM data more accessible to anybody. Any feedback or improvement is greatly appreciated. So feel free to submit a pull request or file a bug. You can also post feedback as GitHub issue. You can help us to improve the documentation by editing the Markdown files and creating a pull request. The documentation is based on GitHub pages and is in the gh-pages branch. Source.