I'm very impressed how easy it is to use #OpenStreetMap data locally:
1. Download a subset of OSM on https://download.geofabrik.de/ for your country.
2. Use Osmium to filter by tags and export into a TSV.
3. Import the TSV into #PostgreSQL using a single \copy command.
4. Create a btree_gist index for #PostGIS geospatial and ordinary queries.
In less than 5 min, you're ready to run queries like "nearest restaurants around me" locally & fast!
Kudos for making it so simple, which is not easy. =)