The main hurdle was IG’s aggressive image/video hotlinking protection. I ended up moving the media resolution to Next.js 14 Server Components. This allows me to strip tracking headers before the data reaches the client.
I've also been experimenting with Edge Runtime to minimize TTFB, as standard serverless functions had too much cold-start latency for a media-heavy feed. The result is a much snappier feel than the official web app.
If anyone's curious about how I'm handling the stream piping or edge caching, I'm happy to chat!