logoalt Hacker News

vancecookcobxinyesterday at 8:20 PM2 repliesview on HN

Ah, that's my fault for not making the error handling clearer in the UI. If the map is blank, it usually means the backend is missing the .env file with the free API keys (AISSTREAM_API_KEY and N2YO_API_KEY), so it's silently failing to fetch the streams.

Did the terminal throw any Python FastAPI errors, or did it just serve the Next.js frontend? I'm going to push an update later today to show a prominent "Backend Disconnected / Missing API Keys" warning on the UI so it doesn't just look dead. Thanks for testing it!


Replies

AH4oFVbPT4f8yesterday at 11:49 PM

On the topic of API Keys, for Opensky it's OPENSKY_CLIENT_ID and OPENSKY_CLIENT_SECRET, the readme has OPENSKY_USERNAME and OPENSKY_PASSWORD

show 1 reply
rustyhancockyesterday at 8:59 PM

Looks like I had to use python-3.11 and install a few dependencies.