gitwtfhub

wtf is restaurant_ev_charging?

jeabraham/restaurant_ev_charging — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 3/5Setup · moderate

TL;DR

A FastAPI web service that finds restaurants you can walk to from EV fast-charging stations, with an optional AI assistant for planning stops in plain language.

Mindmap

Mindmap is still cooking. Refresh in a few.

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Plan an EV road trip stop by finding chargers with nearby restaurants within walking distance.

REASON 2

Ask a conversational AI agent in plain language to find dining options near chargers in a town.

REASON 3

Build a ChatGPT-style tool integration using the published OpenAPI schema.

REASON 4

Deploy the service to Railway to expose a public API for charger and restaurant lookups.

What's in the stack?

PythonFastAPIGemini API

How it stacks up

jeabraham/restaurant_ev_charging0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires free API keys from OpenChargeMap and Geoapify at minimum, plus a Gemini key if you want the conversational agent.

No license file is mentioned in the README, so reuse rights are unclear.

Wtf does this do

restaurant_ev_charging is a small web service built for electric vehicle road trip planning. It answers a specific question: given a location, which fast chargers are nearby, and which restaurants can you walk to from each of those chargers while your car charges? The service is built with FastAPI, a Python web framework, and it combines two outside data sources. It uses OpenChargeMap to find DC fast-charging stations that support common connector types like CCS and Tesla's NACS, and it uses Geoapify to find restaurants within a walking distance you choose from each charger. On top of the plain API, the project includes an optional interactive assistant that lets you ask for a stop in plain language, such as finding somewhere to eat near chargers in a particular town within a certain walk. This assistant is powered by Google's Gemini model using function calling, meaning the AI model itself decides when to call the charger and restaurant search functions behind the scenes. There is also an optional layer that enriches restaurant results with ratings, price level, and whether a place is currently open, pulled from either Yelp Fusion, which is a paid commercial service, or Google Places, which offers a free monthly usage credit. Running it requires Python 3.10 or newer and free API keys from OpenChargeMap and Geoapify at minimum, the Gemini key is only needed if you want the conversational assistant, and the review enrichment keys are entirely optional. Setup is done by copying an example environment file, filling in the keys, then running a Makefile command to install dependencies into a virtual environment and another to start the server. The API is rate-limited to 20 requests per minute per IP address and publishes an OpenAPI schema, which the README notes is suitable for wiring into a ChatGPT-style tool integration. The project also documents how to deploy it to Railway with a few environment variables set in that platform's dashboard.

Yoink these prompts

Prompt 1
Help me set up restaurant_ev_charging locally with the required OpenChargeMap and Geoapify API keys.
Prompt 2
Show me how to call the find-dining-chargers API endpoint with curl for a given latitude and longitude.
Prompt 3
Walk me through running the Gemini-powered CLI agent to plan an EV road trip stop.
Prompt 4
Explain how to deploy this restaurant_ev_charging service to Railway with the right environment variables.
Prompt 5
How do I enable restaurant review enrichment using Google Places instead of Yelp Fusion?

Frequently asked questions

wtf is restaurant_ev_charging?

A FastAPI web service that finds restaurants you can walk to from EV fast-charging stations, with an optional AI assistant for planning stops in plain language.

What language is restaurant_ev_charging written in?

Mainly Python. The stack also includes Python, FastAPI, Gemini API.

What license does restaurant_ev_charging use?

No license file is mentioned in the README, so reuse rights are unclear.

How hard is restaurant_ev_charging to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is restaurant_ev_charging for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.