๐ The AI-Powered LinkedIn Post Generator That Actually Slaps ๐
Write viral LinkedIn posts in seconds, not hours. Powered by 11 AI models. Built different. ๐ฅ
โญ Star this repo โข ๐ Quick Start โข โจ Features โข ๐ ๏ธ Tech Stack
Kaizen (ๆนๅ) means "continuous improvement" in Japanese. ๐ฏ๐ต
Kaizen.AI takes that philosophy and applies it to your LinkedIn game. It's a gorgeous, neo-brutalist AI writing tool that helps you craft viral LinkedIn posts with the power of 11 different AI models โ from Meta's Llama 4 to OpenAI's GPT-OSS 120B. ๐ง โจ
๐ก Stop staring at a blank screen. Start generating bangers.
๐ You type a topic โ ๐ค AI generates a killer post โ โ๏ธ You refine it โ ๐ Post goes viral
It's literally that simple:
- ๐ฏ Pick your audience โ Who are you writing for?
- ๐ฌ Type your topic โ AI autocomplete helps as you type!
- ๐จ Choose your vibe โ Professional? Storyteller? Super Chill ๐ค?
- โก Hit Generate โ Watch the magic happen with smooth word-by-word streaming
- โ๏ธ Refine & Edit โ Shorten, add hashtags, emojis, CTA, or select specific text to rewrite
- ๐ Copy & Post โ One click to clipboard, paste on LinkedIn, watch the likes roll in ๐
| Category | Models | Description |
|---|---|---|
| โญ Popular | Llama 3.3 70B, Llama 3.1 8B, Kimi K2 | Best balance of quality & speed |
| ๐ฆ Meta Llama | Llama 4 Maverick 17B, Llama 4 Scout 17B | Cutting-edge Llama 4 family |
| ๐ง Open Models | GPT-OSS 120B, GPT-OSS 20B, Qwen3 32B | OpenAI open-source + Alibaba |
| ๐ฎ Experimental | Kimi K2 0905, ALLaM 2 7B | Latest experimental models |
| Feature | Options |
|---|---|
| ๐ Post Length | ๐ฅ Short (3-5 lines) ยท ๐ Medium (8-12 lines) ยท ๐ Long (15-20 lines) |
| ๐ฃ Hook Styles | Bold Statement ยท Question ยท Stat/Number ยท Mini Story ยท Contrarian ยท Auto โจ |
| ๐ญ Tones | ๐ผ Professional ยท ๐ Storyteller ยท ๐ฅ Contrarian ยท ๐ฏ Direct ยท ๐ค Super Chill |
- ๐ฎ AI Autocomplete โ Ghost text suggestions appear as you type your topic (press
Tabto accept!) - โ๏ธ Selection Editing โ Select any text in the output โ type custom instructions โ AI rewrites just that part
- ๐ฌ Word-by-Word Streaming โ Smooth 15ms/token animation with a sleek blinking cursor
- โญ๏ธ Skip Animation โ Sticky skip button at the top if you're impatient (we get it ๐)
- ๐ Engagement Score โ Real-time scoring (0-100) with color-coded ratings
- ๐ Word Count & Read Time โ Know exactly how long your post is
- ๐ One-Click Copy โ Copy the entire post to clipboard instantly
| Action | What it does |
|---|---|
| โ๏ธ Shorten | Trim the fat, keep the impact |
| โจ Refine | Polish and improve the writing |
| ๐ Retry | Generate a completely new version |
| #๏ธโฃ Hashtags | Add relevant trending hashtags |
| ๐ Add Emoji | Sprinkle in some personality |
| ๐ฃ Add CTA | Add a call-to-action that drives engagement |
- ๐พ Auto-saved โ Every generated post is saved locally (up to 10)
- ๐๏ธ Individual delete โ Remove posts you don't need
- ๐ Copy from history โ One-click copy any past post
- ๐ Search history โ Find that banger you wrote last week
- ๐ท๏ธ Badges โ See tone & audience at a glance
- โฐ Timestamps โ Know exactly when each post was created
- ๐ซ Gibberish detection โ Catches random keyboard mashing
- ๐ฏ Topic relevance โ Keeps posts LinkedIn-appropriate
- ๐ Profanity filter โ Keeps it professional
- ๐ Length enforcement โ Min 10, max 500 characters for topics
- ๐ก Helpful suggestions โ Tells you exactly how to fix invalid input
- ๐ฅ๏ธ Desktop โ Beautiful two-column layout (form + preview)
- ๐ฑ Mobile โ Smart tab system (Create โ Preview) with touch-optimized controls
- ๐ Touch Selection โ Select text on mobile to edit, just like desktop
| Layer | Technology | Why? |
|---|---|---|
| โ๏ธ Framework | Next.js 16.1.6 (App Router + Turbopack) | Blazing fast builds, React Server Components |
| ๐จ UI | React 19 + Tailwind CSS 4 | Latest React with utility-first CSS |
| ๐ฌ Animations | Framer Motion 12 | Buttery smooth 60fps animations everywhere |
| ๐ค AI | Groq SDK (LPU Inference) | Lightning-fast AI inference โ sub-second responses |
| ๐ค Icons | Lucide React | Beautiful, consistent icon set |
| ๐ Toasts | React Hot Toast | Gorgeous notification toasts |
| ๐ Language | TypeScript 5 | Full type safety, zero anys |
| ๐จ Design System | Neo-Brutalist | Bold borders, hard shadows, vibrant colors |
๐ฉ Primary: #BEF264 (Lime Green)
๐ก Secondary: #FDE047 (Yellow)
๐ Accent: #FB923C (Orange)
โฌ Text: #111827 (Near Black)
โฌ Background: #FFFDF7 (Warm White)
Borders: 3px solid black
Shadows: 5px 5px 0px #000 (hard shadow)
Radius: rounded-xl (12px)
Font: System sans-serif, font-black for headings
- ๐ฆ Node.js 18+ installed
- ๐ A free Groq API key from console.groq.com
# 1๏ธโฃ Clone the repo
git clone https://github.com/StarDust130/kaizen_ai.git
# 2๏ธโฃ Navigate into the project
cd kaizen_ai
# 3๏ธโฃ Install dependencies
npm install
# 4๏ธโฃ Create your environment file
# Create a .env.local and add your Groq API key:
echo "GROQ_API_KEY=gsk_your_api_key_here" > .env.local
# 5๏ธโฃ Start the dev server ๐
npm run devNow open http://localhost:3000 and start generating bangers! ๐
Create a .env.local file in the root:
GROQ_API_KEY=gsk_your_api_key_here๐ Get your free API key at console.groq.com โ it's instant and totally free!
| Command | Description |
|---|---|
npm run dev |
๐ Start dev server (Turbopack โ super fast!) |
npm run build |
๐ฆ Create production build |
npm run start |
๐ Start production server |
npm run lint |
๐ Run ESLint checks |
kaizen_ai/
โโโ ๐ app/
โ โโโ ๐ page.tsx # Main page โ wires everything together
โ โโโ ๐จ layout.tsx # Root layout with metadata
โ โโโ ๐
globals.css # Global styles + custom scrollbar
โ โ
โ โโโ ๐งฉ components/
โ โ โโโ Header.tsx # ๐งญ Nav bar with logo, portfolio & GitHub links
โ โ โโโ PostForm.tsx # ๐ Form: audience, topic (+ autocomplete), tone, options
โ โ โโโ PostPreview.tsx # ๐๏ธ Output: streaming text, edit toolbar, selection edit
โ โ โโโ PostHistory.tsx # ๐ History panel with search, delete, copy, badges
โ โ โโโ MobileTabs.tsx # ๐ฑ Create โ Preview tabs for mobile
โ โ โโโ ValidationModal.tsx # ๐จ Beautiful error modal for invalid input
โ โ โโโ CharCounter.tsx # ๐ข Character count ring indicator
โ โ โโโ FloatingDecorations.tsx # โจ Animated background shapes
โ โ โโโ icons.tsx # ๐จ Custom SVG icons (GitHub, etc.)
โ โ
โ โโโ ๐ช hooks/
โ โ โโโ usePostGenerator.ts # ๐ง All state: generation, streaming, history, editing
โ โ
โ โโโ ๐ lib/
โ โ โโโ constants.ts # โ๏ธ Tones, models, templates, lengths, hooks
โ โ โโโ types.ts # ๐ TypeScript interfaces & types
โ โ โโโ validation.ts # ๐ก๏ธ Multi-layer input validation engine
โ โ
โ โโโ ๐ api/
โ โโโ generate/route.ts # ๐ค POST โ AI post generation
โ โโโ edit/route.ts # โ๏ธ POST โ AI post editing & selection rewrites
โ โโโ suggest/route.ts # ๐ฎ POST โ AI autocomplete suggestions
โ
โโโ ๐ฆ package.json
โโโ โ๏ธ next.config.ts
โโโ ๐จ postcss.config.mjs
โโโ ๐ tsconfig.json
โโโ ๐ README.md # You are here! ๐
Posts don't just appear โ they stream word-by-word at 15ms/token with a smooth blinking cursor. The streaming uses setInterval with token splitting that preserves whitespace. Skip it anytime with the sticky โญ๏ธ button at the top.
As you type your topic (600ms debounce), the app fires off a request to Llama 3.1 8B (ultra-fast model) which returns 2-4 word completions. Ghost text appears inline โ press Tab on desktop or tap the green button on mobile to accept. Suggestions only appear when the input is focused. ๐ฏ
- ๐ฑ๏ธ Select any text in the generated post
- ๐ An edit bar slides up from the bottom
- โ๏ธ Type your instruction (e.g., "make this more dramatic")
- ๐ค AI rewrites ONLY the selected portion
- ๐ The original text is surgically replaced โ rest stays untouched!
Multi-layer input validation that catches:
- ๐ค Consonant clusters (checked per-word, not across boundaries)
- ๐ Character repetition patterns
- ๐ฒ Known gibberish sequences
- ๐ Off-topic content (with smart LinkedIn-exempt keywords)
- ๐คฌ Profanity (normalized for bypass attempts like
$h!t)
| Others ๐ด | Kaizen.AI โก |
|---|---|
| Plain textarea output | Word-by-word streaming with cursor animation ๐ฌ |
| One AI model | 11 models across 4 categories ๐ค |
| Generate and done | 6 edit actions + selection-level rewrites โ๏ธ |
| No autocomplete | AI ghost-text autocomplete as you type ๐ฎ |
| Desktop only | Fully responsive with touch selection ๐ฑ |
| No history | Auto-saved history with search & badges ๐ |
| Generic UI | Neo-brutalist design that actually looks fire ๐ฅ |
Contributions are welcome! Feel free to:
- ๐ด Fork the repo
- ๐ฟ Create a feature branch (
git checkout -b feature/amazing-thing) - ๐ป Make your changes
- โ
Run
npm run buildto verify everything works - ๐ค Push and open a PR
This project is open source and available under the MIT License.
Built with ๐ and way too much โ by StarDust130
๐ GitHub โข ๐ Portfolio
โก If Kaizen.AI helped you write a banger post, drop a โญ on the repo! โก
ๆนๅ โ Continuous Improvement, one post at a time. ๐