This host some tools we use to extract data from OpenStreetMap to another format.
To index addresses on Addok. We take our opendata as geojson and tranform it to a JSON streaming file suitable to addok.
./bin/addresses2addok https://data.osmontrouge.fr/explore/dataset/base-adresse-locale-bal/download/?format=geojson | gzip | addresses.sjson.gzip
To index POI on Addok. We request overpass and transform it to a JSON streaming file suitable to addok.
./bin/poi2addok https://overpass-api.de/api/interpreter | gzip | poi.sjson.gzip