LinkedIn Persona Analyzer

Project type

AI Content Analyzer

Date

2025

Location

Remote

AI-native SaaS that scrapes your LinkedIn profile, scores every recent post across a 7-dimension content rubric, and returns a battle-ready playbook in seconds. Auth is locked down with Supabase, the analysis pipeline runs through OpenAI/OpenRouter with structured JSON guarantees, and the UI gives you comparison views plus rewrite suggestions without ever leaving the browser.

What I Built

  • Next.js 15 App Router experience where users authenticate with Supabase, drop in a LinkedIn URL, and trigger a fresh analysis run from the homepage or report page. The system also supports rerunning analyses for existing profiles so you can measure improvement over time.
  • Posts are fetched from Supabase (fed by the Apify scraper) and streamed through a typed OpenAI/Groq/OpenRouter agent. It enforces a strict JSON schema for seven quality scores, hook archetypes, value types, tone, and topic extraction so recommendations stay structured.
  • Aggregations roll into a profile-level summary: content quality averages, content/media mix, authority proof counts, emotion markers, CTA usage with engagement comparisons, and a next week playbook of focus areas, experiments, and post ideas.
  • Reports live at /report/[profileId] and surface metrics, superpowers/opportunities, and individual post deep dives. A comparison mode shows two profiles side by side, while history pages let you revisit past runs without reprocessing.
  • AI rewrite endpoint that generates improved hooks, tightened bodies, and alternative CTAs for any post, plus a re-analyze button inside the report to keep the data fresh.

Why it's interesting

  • End-to-end agentic workflow: data ingestion → structured LLM scoring → aggregation → actionable playbooks, all persisted and navigable via UI.
  • Production-minded hardening: authenticated endpoints, rerunnable analyses, schema validation on AI outputs, plus tracing via Langfuse.
  • UX polish: dashboards, profile comparison, history management, and one-click AI rewrites that keep users inside the product.

Tech Stack

Next.js 15TypeScriptSupabaseOpenAIOpenRouterGroqApifyLangfuseTailwind CSS
Previous Project
Next Project