About
## Challenges we ran into
1. Memory Exhaustion on Render Free Tier When users uploaded large video files, our backend would crash silently. The root cause: we were calling await file.read() — which loaded the entire file into RAM before writing it to disk. On Render's free tier (512MB RAM), this instantly killed the server.
Fix: We rewrote the upload handler to stream files in 1MB chunks directly to disk using an async generator (save_uploaded_stream), eliminating memory spikes entirely.
2. 502 Errors on File Upload from Browser After deploying to Render, file uploads worked perfectly in local testing but threw 502 Bad Gateway errors in production. After hours of debugging, we discovered the issue: our frontend API config was routing browser requests to Render's internal private network hostname (hyperson-backend:10000), which only works for server-to-server calls — not browser clients.
Fix: We updated api.ts to detect when the client is on .onrender.com and dynamically resolve to the public HTTPS URL instead.
3. Real-Time Job Tracking Across Pipeline Stages Coordinating status updates across 5+ async AI pipeline stages (transcription → insight extraction → script generation → voiceover → copy) without losing state or sending duplicate events was tricky.
Fix: We implemented a Server-Sent Events (SSE) stream tied to each job ID, with each pipeline stage pushing structured JSON updates that the frontend polls and renders in real time.
4. Supabase RLS Blocking Legitimate API Calls After enabling Row Level Security (RLS) on our Supabase tables for data protection, our backend service queries started getting blocked — because the service role wasn't being passed correctly.
Fix: We configured the backend to always use the service role key for server-side operations, while the frontend anon key remained scoped to user-level RLS policies only.
## The problem it solves
HYPERson is an AI-powered marketing content generation platform that transforms raw media assets — videos, audio files, and URLs — into fully polished, multi-format campaign content at scale. Built with a Next.js frontend and a FastAPI backend, HYPERson uses a multi-agent AI pipeline to automatically transcribe media, extract key insights, generate scripts, produce voiceovers, and craft platform-specific copy for LinkedIn, Instagram, Twitter, and more — all in one seamless workflow. The platform features real-time job tracking via Server-Sent Events (SSE), a visual asset approval system, a format performance matrix, and a persistent settings page for brand tone and persona customization. HYPERson is deployed on Render using a Blueprint architecture, with Supabase powering secure, RLS-enforced data storage, making it a production-ready solution for marketing teams, creators, and agencies who need to go from raw content to a fully approved campaign in minutes — not days.
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.






