Skip to content

StarDust130/kaizen_ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Kaizen AI

โšก KAIZEN.AI โšก

๐Ÿš€ 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


๐Ÿค” What is Kaizen.AI?

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.


๐ŸŽฌ How It Works

๐Ÿ“ You type a topic  โ†’  ๐Ÿค– AI generates a killer post  โ†’  โœ๏ธ You refine it  โ†’  ๐Ÿš€ Post goes viral

It's literally that simple:

  1. ๐ŸŽฏ Pick your audience โ€” Who are you writing for?
  2. ๐Ÿ’ฌ Type your topic โ€” AI autocomplete helps as you type!
  3. ๐ŸŽจ Choose your vibe โ€” Professional? Storyteller? Super Chill ๐Ÿค™?
  4. โšก Hit Generate โ€” Watch the magic happen with smooth word-by-word streaming
  5. โœ‚๏ธ Refine & Edit โ€” Shorten, add hashtags, emojis, CTA, or select specific text to rewrite
  6. ๐Ÿ“‹ Copy & Post โ€” One click to clipboard, paste on LinkedIn, watch the likes roll in ๐ŸŽ‰

โœจ Features

๐Ÿค– 11 AI Models at Your Fingertips

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

๐ŸŽจ Post Customization

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

โšก Smart Features

  • ๐Ÿ”ฎ AI Autocomplete โ€” Ghost text suggestions appear as you type your topic (press Tab to 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

โœ๏ธ 6 Quick Edit Actions

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

๐Ÿ“š Post History

  • ๐Ÿ’พ 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

๐Ÿ›ก๏ธ Smart Validation

  • ๐Ÿšซ 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

๐Ÿ“ฑ Fully Responsive

  • ๐Ÿ–ฅ๏ธ 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

๐Ÿ› ๏ธ Tech Stack

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

๐ŸŽจ Design Language

๐ŸŸฉ 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

๐Ÿ Quick Start

Prerequisites

  • ๐Ÿ“ฆ Node.js 18+ installed
  • ๐Ÿ”‘ A free Groq API key from console.groq.com

Installation

# 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 dev

Now open http://localhost:3000 and start generating bangers! ๐ŸŽ‰

๐Ÿ”‘ Environment Variables

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!

๐Ÿ“œ Available Scripts

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

๐Ÿ“‚ Project Structure

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! ๐Ÿ‘‹

๐Ÿง  Architecture Highlights

๐Ÿ”„ Streaming Animation Engine

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.

๐Ÿ”ฎ AI Autocomplete Pipeline

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. ๐ŸŽฏ

โœ‚๏ธ Selection Edit Flow

  1. ๐Ÿ–ฑ๏ธ Select any text in the generated post
  2. ๐Ÿ“ An edit bar slides up from the bottom
  3. โœ๏ธ Type your instruction (e.g., "make this more dramatic")
  4. ๐Ÿค– AI rewrites ONLY the selected portion
  5. ๐Ÿ”„ The original text is surgically replaced โ€” rest stays untouched!

๐Ÿ›ก๏ธ Validation Engine

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)

๐ŸŒŸ Why Kaizen.AI?

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 ๐Ÿ”ฅ

๐Ÿค Contributing

Contributions are welcome! Feel free to:

  1. ๐Ÿด Fork the repo
  2. ๐ŸŒฟ Create a feature branch (git checkout -b feature/amazing-thing)
  3. ๐Ÿ’ป Make your changes
  4. โœ… Run npm run build to verify everything works
  5. ๐Ÿ“ค Push and open a PR

๐Ÿ“„ License

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. ๐Ÿš€

About

โšก๐Ÿค– AI-Powered LinkedIn Post Generator That Slaps ๐Ÿš€๐Ÿ”ฅโœจ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages