Address Mapper

Over the labor day weekend, I decided to try cursor. I think of this as the next version of github copilot. In addition to autocompletion, the entire IDE becomes a LLM workspace where anything can be used as context and also prompted against. Cursor is a fork of vscode (my primary IDE), which is to the IDE space what chrome is to browsers. When installing cursor, there's a one click process to migrate over all your extensions which smoothes out the transition.

I wanted to build a map app where I could input a series of newline delimited addresses and plot them all in a map. The use case: I just moved to the bay area and want to find good caffee places that had fast internet. Asking perplexity yielded a bunch of potential locations - I wanted to visualize them in a map but didn't want to put them in to google maps one by one. Example of the input:

270 Seventh St, San Francisco, CA
432B Octavia St, San Francisco, CA
3655 Lawton St, San Francisco, CA
672 Stanyan St, San Francisco, CA
Haus Coffee, Mission, San Francisco, CA
...

This is by no means a painkiller problem but it was a pain point for me and more importantly, was a well scoped mini project I could use to test out cursor.

Instead of going over the entire setup and prompting chronology, I'm going to skip ahead to output and takeaways.

Demo

Takeaways:

Related

Created 2024-09-02T15:08:30.220000, updated 2024-09-02T20:54:04.752000 · History · Edit