Skip to content
All case studies
ProductSaaS / AI content automation

LinkGen

AI-written LinkedIn posts in your voice, scheduled and published for you

In short: LinkGen is an in-house DanixSoft product (SaaS / AI content automation): AI-written LinkedIn posts in your voice, scheduled and published for you. Daniyal Alam built it — product decisions, architecture and code. Live at linkgen.danixsoft.com.

A LinkedIn content app that learns a professional's voice during onboarding, writes posts with matching images, plans a weekly content calendar, and publishes to their own LinkedIn profile through LinkedIn's official APIs, either after review or automatically.

Industry
SaaS / AI content automation
Scope
Products we build and run in-house at DanixSoft
Core stack
Next.js 16 · React 19 · TypeScript · Supabase
Year
2026

The problem

Professionals know they should post on LinkedIn regularly, but writing in their own voice every week, finding an image and remembering to publish at a good time is the part that never gets done.

The solution

Onboarding captures profession, audience, goals, tone, format preferences and a voice sample, and every post is written from that profile. Posts go out through LinkedIn's official Posts and Images APIs from a database-driven scheduler: pg_cron calls a claim-based worker that locks due posts, retries with backoff, and never automatically retries a publish that may already have reached LinkedIn.

My role

I built it: the commit history of its repository is mine — product decisions, architecture and code.

DanixSoft team

An in-house DanixSoft product — built and operated by the studio, not for a client.

Technical challenges

The engineering problems this build had to get right.

  • FOR UPDATE SKIP LOCKED claims, so overlapping scheduler runs never publish a post twice
  • LinkedIn tokens sealed with AES-256-GCM in a table no browser-facing role can read
  • A database trigger so only the server can mark a post as published

Architecture

Frontend
Next.js 16 (App Router, Server Actions), React 19, TypeScript, Tailwind CSS v4
Backend
Groq (openai/gpt-oss-120b) for writing; LinkedIn official APIs
Database
Supabase Postgres with row-level security and Auth (shared DanixSoft sign-in)
Infrastructure
pg_cron and pg_net scheduler calling a claim-based worker, with an execution log

Implementation — what shipped

Voice onboarding: audience, goals, tone, length, language, a voice sample and posting frequency
AI post generation with editing, rewrites, a LinkedIn-style preview and drafts
Image suggestions from Pexels, Unsplash and Openverse, with replace or upload
One-time scheduling and a recurring weekly content calendar
Review-before-publish or automatic publishing to the member's own profile

Engineering notes

Lesson for similar SaaS builds: design for FOR UPDATE SKIP LOCKED claims, so overlapping scheduler runs never publish a post twice and linkedIn tokens sealed with AES-256-GCM in a table no browser-facing role can read up front — these are the parts that are expensive to retrofit once the feature list grows.

Technologies

  • Next.js 16
  • React 19
  • TypeScript
  • Supabase
  • PostgreSQL
  • Groq
  • LinkedIn API
  • Tailwind
  • Vitest

Need something like this? Tell me about it.

A 30-minute discovery call is enough to scope the approach and a realistic budget. Related at DanixSoft: AI & Machine Learning, Automation Systems.