Lurker News
I built this because I was interested in the data. Didn't fully get it to what I wanted, but thought I'd share it nonetheless. Maybe someone has better data sources they could share!

Turns out live ship tracking APIs are expensive so I manually just copied the json from https://www.marinetraffic.com/en/ais/home/centerx:57.4/cente... I'll probably have an ai agent do the same thing on some cron interval, if this gets any fanfare.
To actually know if the port is open without live ship tracking I found https://portwatch.imf.org/pages/cb5856222a5b4105adc6ee7e880a... which was perfect, except it has 4 day lag!
I also thought of adding news feed parsing or prediction market data to get a more definitive answer on if it's open right when you load it, but I spent a few hours and am gonna move on for now.

Comments (209) 45 threads

Earlier comments
dr_robert2 replies#
What did you use for the map ? Mapbox ??
Doohickey-d#
Looks like it's using leaflet + map tiles from https://carto.com/

I think Mapbox also provides a similar looking basemap style.

pietervdvn2 replies#
As an OpenStreetMap-contributor: you have to add attribution as per our license agreement: https://www.openstreetmap.org/copyright

CartoDB packages this data into tiles you can use, but that doesn't lift this requirement.

SparkyMcUnicorn#
I was implementing OSM the other day (with attribution of course) and noticed Carto seemed to be one of the only players with good dark tiles.

Seems like we can't use them for free, even with attribution, unless I get a grant?

rc_kas#
I shorm uzo pen yet also!
seattle_spring1 reply#
Cool! Heads up, you're probably running afoul of some TOS by hiding the map data attributions.
anonfunction#
Ahh, thanks I'll remedy that now, wasn't intentional I'll blame Claude.
ainiriand#
Open to whom? AFAIK some nationalities can cross freely.
anonfunction1 reply#
Another funny thing about this was this morning I checked if the domain isthestraitofhormuzopenyet.com was available and it was, and by the time I made the site locally, put it on vercel I went to buy the domain to point DNS to it someone had bought it! I renamed it to the current site url / repo which i think might be a little nicer to type, but crazy that we had same idea on apparently the same day. I was also just telling a friend about simultaneous invention aka multiple discover[1] a few days ago, so another case of the Baader-Meinhof phenomenon[2]!

1. https://en.wikipedia.org/wiki/Multiple_discovery
2. https://en.wikipedia.org/wiki/Frequency_illusion

soco#
I was also surprised to see that arewegreatyet.com is in use already...

Load more comments