Lurker News
APIs are a little like the open road—always waiting, full of opportunity, but hardly utilized. So here’s America, composed of several APIs that paint a vivid, real-time picture of a good old-fashioned road trip. Get local classifieds and photos. Tune into local radio stations. Talk wit other drivers. And more.

Exploring the country by car was an invaluable experience for me during my time in the states. I’ve since moved to Barcelona, and find myself missing the territory. This is my attempt at recreating the magic.

Comments (183) 74 threads

Earlier comments
molotovh2 replies#
Is there any way to set current location and destination? I very much like the radio interface, though I only seem to be able to get two stations. I'd like to explore the radio stations available in different metro areas.
0x389#
There is no way to set current location and destination currently.

Starting point is always the geographical center of the US near Lebanon, Kansas. The route and general direction are not pre-determined and depend on the vehicle choice. There is no destination really, you can stop at any time.
Available radios change as you progress depending on your location in the game.

Waterluvian#
Amazing. This reminds me of Cross Country Canada, which I played to death at school.

https://youtu.be/jwwGY88ikFw (I played the colour Macintosh version though)

esskay#
Turned it on to hear someomne playing Never Gunnu Give You Up through the radio...
felipemnoa1 reply#
The game is quite intriguing. However, I'm way more interested in the technology for building this web app. Does anybody know of any tutorials to learn how to build a hello world of this type of app?
0x3891 reply#
Thanks for trying it out!

The frontend is built with Svelte. This was my first time using the framework and I found their website super helpful: https://svelte.dev/docs
Used Mapbox API and geolib (https://github.com/manuelbieh/geolib/) for building routes and for other geospatial tasks.
"Talkie" was built with simple-peer (https://github.com/feross/simple-peer) and WebRTC. Great tutorial can be found on MDN: https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRT...
On the backend I use Vercel's serverless functions which are mostly acting as trivial proxies for various open API's.
Feel free to email me if you need more info.

felipemnoa#
Thanks for all the info. Quite helpful!

Load more comments