Hari Sekhon - Google-Maps-Restaurants

December 14, 2025 ยท View on GitHub

GitHub stars GitHub forks LineCount Cocomo License My LinkedIn GitHub Last Commit

NOT READY YET

TODO: update Codacy grade link below - it's a hash so cannot be predicted to replace via ./customize.sh

Codacy CodeFactor Quality Gate Status Maintainability Rating Reliability Rating Security Rating

Python Linux Mac

Mac Homebrew Alpine CentOS Debian Fedora Redhat Rocky Ubuntu

CI Builds Overview Azure DevOps Pipeline GitLab Pipeline BitBucket Pipeline

Repo on GitHub Repo on GitLab Repo on Azure DevOps Repo on BitBucket

Markdown Validation Kics Grype Semgrep Semgrep Cloud SonarCloud Trivy

Summary

Finds and opens browser tabs of restaurants within a 2km radius which have a 4.5+ star rating (both configurable).

I use this a lot as I travel the world since I'm always looking for good places to eat and recording the best ones, are you can see in my extensive worldwide Travel Tips.

Setup Instructions

  1. Set up a Google Cloud account

  2. Enable Google Maps Places API (not enabled by default)

  3. Enable Google Maps Geocoding API

  4. Create an API Key and ensure it has permissions to the above APIs. This may take 5 minutes for the changes to take effect

  5. Put your API Key in your shell and don't forget to add it to your .bashrc or similar:

export GOOGLE_MAPS_API_KEY=...

Wait 5 minutes and then test you can access the places API:

curl "https://maps.googleapis.com/maps/api/geocode/json?address=Panajachel&key=$GOOGLE_MAPS_API_KEY"

Usage

TODO work-in-progress...

./main.go ...

TODO:

Ensure to update Codacy Grade link manually after adding this repo to Codacy since the link is a hash and therefore cannot be predicted for replacement by ./customize.sh

More Core Repos

Knowledge

Knowledge-Base Diagrams-as-Code

DevOps Code

DevOps-Bash-tools DevOps-Python-tools DevOps-Perl-tools DevOps-Golang-tools

Containerization

Kubernetes-configs Dockerfiles

CI/CD

GitHub-Actions Jenkins

Databases - DBA - SQL

SQL-scripts

DevOps Reloaded

HAProxy-configs Terraform Packer Ansible Environments

Monitoring

Nagios-Plugins Nagios-Plugin-Kafka Prometheus

Templates

Templates Template-repo

Desktop

TamperMonkey Hammerspoon

Spotify

Spotify-tools Spotify-playlists

The rest of my original source repos are here.

Pre-built Docker images are available on my DockerHub.