osm2pgsql2geojson is a frontend for an osm2pgsql database (with hstore-all column) and serves custom selected parts as GeoJSON file. There are a couple of parameters to select the part of the world you need.