BSD Ports

misc/goplaces 0.3.0 MidnightBSD

Modern Google Places CLI in Go

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
misc

Description

goplaces is a modern Go client and CLI for the Google Places API (New). It is fast for humans and tidy for scripts.

Features:

  • Text search with filters: keyword, type, open now, min rating, price levels
  • Autocomplete suggestions for places and queries (session tokens supported)
  • Nearby search around a location restriction
  • Place photos in details and photo media URLs
  • Route search along a driving path (Routes API)
  • Directions between two points with distance, duration, and steps (Routes API)
  • Location bias (lat/lng/radius) and pagination tokens
  • Place details: hours, phone, website, rating, price, types
  • Optional reviews in details
  • Resolve free-form location strings to candidate places
  • Locale hints (language + region) across search/resolve/details
  • CLI with color human output and --json (respects NO_COLOR)

In the other systems

SystemPortVersion
MidnightBSDmisc/goplaces0.3.0
FreeBSDmisc/goplaces0.4.0_8
HardenedBSDmisc/goplaces0.4.0_6
GhostBSDmisc/goplaces0.4.0_6

Install

Binary package:

mport install goplaces

From mports:

cd /usr/mports/misc/goplaces && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	goplaces>0:misc/goplaces

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
go:1.25+,modules
Service scripts
none

Files

distinfo 2
FileSizeSHA256
go/misc_goplaces/goplaces-v0.3.0/v0.3.0.mod910f163d2663bd2463fe14ef1ae7a1c259bbf1f74ef874632dfd99e227199e3fcc
go/misc_goplaces/goplaces-v0.3.0/v0.3.0.zip64779110c00e377eabfbf482b317c59d987912f25cab86b1886ba43878166958d862b