Gasgo

Answer "where should I go right now for the best gas deal in Colombia?" — an engine over live, per-station Colombian fuel-price open data (SICOM GNCV via datos.gov.co Socrata, plus historical gasoline/diesel). Ranks nearby stations by a price + distance cost model and returns a best-deal recommendation with an explicit freshness verdict (🟢 live GNCV vs 🟡 historical gasoline/diesel) and honest coordinate resolution (open GNCV coords are municipal centroids, so distances are shown approximate and intra-municipality ranking is by price). Dependency-free bun core. USE WHEN the user asks where to buy the cheapest gas/fuel/GNCV near a Colombian location, wants to compare station prices, or wants to build/extend fuel-price ingestion. NOT FOR non-Colombian markets or real-time gasoline/diesel (open data is GNCV-only live; gasoline/diesel is frozen ≈2022 — the SICOM birest endpoint is empty and Google Places needs a licensed key).

broomva e7b1aeb 24 files · 56.4 KB Updated

File contents

gasgo — best gas deal near me (Colombia)

Engine that answers "where should I go right now for the best gas deal?" using live per-station Colombian fuel-price open data.

Invoke

bun run src/cli.ts where --city bogota --product gncv --radius 20 --top 5
bun run src/cli.ts where --lat 4.65 --lng -74.08 --product gncv
bun run src/cli.ts where --city medellin --product corriente --municipality medellin --json

Programmatic:

import { bestDeal } from "./src/engine.ts";
const res = await bestDeal({ at: { lat: 4.65, lng: -74.08 }, product: "GNCV" });
  • Products: gncv (live) · corriente · extra · diesel · biodiesel (historical)
  • Cities: bogota · medellin · cali · barranquilla · cucuta · bucaramanga · pereira
  • Set SODA_APP_TOKEN to lift the anonymous Socrata rate limit.

See README.md for the data-source table, ranking model, gotchas, and roadmap.

Tests

bun test   # geo, date-gotcha, ranking, product-classification, geo-resolution honesty (32/32)

broomva/skills/tree/main/skills/utilities/gasgo commit e7b1aeb431

Frequently asked questions

npx skillmds@latest add broomva/gasgo