Skip to content

AI-powered LinkedIn post analyzer that optimizes content for virality using deterministic metrics, hook analysis, and engagement prediction.

License

Notifications You must be signed in to change notification settings

tahsinmert/postlytic

LinkedIn Post Analyzer Logo

LinkedIn Post Analyzer

Unlock the Science of Virality.
The ultimate toolkit for crafting high-performing LinkedIn content using AI-driven insights.

FeaturesTech StackGetting StartedContributing

License Next.js TypeScript Firebase


🚀 About The Project

LinkedIn Post Analyzer is a premium, AI-powered workspace designed to help content creators, marketers, and professionals optimize their LinkedIn presence. By leveraging advanced natural language processing and virality frameworks, it transforms guesswork into data-backed strategy.

Built with a focus on User Experience (UX) and Glassmorphism aesthetics, the application provides a seamless, immersive environment for analyzing, testing, and perfecting your content.

✨ Key Features

🛠️ Core Tools

  • Viral Pattern Decoder: Analyzes your post against proven frameworks (PAS, AIDA, Hero's Journey) to ensure structural excellence.
  • Hook & Fold Optimizer: Simulates the LinkedIn "See More" fold, calculating a "curiosity score" for your first 3 lines.
  • Audience Persona Simulator: Uses AI to roleplay as different professionals (Recruiters, VCs, Founders) giving real-time feedback.
  • Engagement Predictor: proprietary "Virality Score" algorithm to forecast post performance before you publish.
  • Competitor Analysis: Benchmarks your content against industry leaders to identify gaps and opportunities.
  • A/B Testing Simulator: Generates intelligent variations of your post to test different angles and tones.

💎 User Experience

  • Premium Glassmorphism Design: A stunning, modern UI featuring ambient glows, blurred backgrounds, and smooth transitions.
  • Real-time Analytics: Interactive dashboards visualizing your growth, average scores, and best-performing topics.
  • Secure Workspace: Comprehensive user profiles, data export capabilities, and privacy-focused settings.

🏗️ Tech Stack

This project is built using the bleeding edge of modern web development:

Category Technologies
Framework Next.js 15 (App Router)
Language TypeScript
Styling Tailwind CSS, Panda CSS
Animations Framer Motion
UI Components Ark UI, Lucide React, Sonner
Backend / Auth Firebase (Auth, Firestore)
Charts Recharts
Data Handling React Hook Form, Zod

⚡ Getting Started

Follow these steps to set up the project locally.

Prerequisites

  • Node.js: v18 or higher
  • npm or pnpm

Installation

  1. Clone the repository

    git clone https://github.com/tahsinmert/postlytic.git
    cd postlytic
  2. Install dependencies

    npm install
    # or
    pnpm install
  3. Configure Environment Variables Create a .env.local file in the root directory and add your Firebase configuration:

    NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
    NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain
    NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
    NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_storage_bucket
    NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id
    NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
  4. Run the development server

    npm run dev
  5. Open the app Visit http://localhost:3000 to see the application in action.

📂 Project Structure

├── src/
│   ├── app/                 # Next.js App Router pages
│   │   ├── (main)/          # Authenticated routes (Dashboard, Tools)
│   │   └── (auth)/          # Authentication routes (Login, Register)
│   ├── components/          # Reusable UI components
│   │   ├── ui/              # Base UI elements (Buttons, Cards, Inputs)
│   │   └── tools/           # Tool-specific components
│   ├── hooks/               # Custom React hooks (useAuth, useToast)
│   └── lib/                 # Utilities and configurations (Firebase, Utils)
├── public/                  # Static assets
└── ...config files

🚀 Deployment

The project is optimized for deployment on Vercel.

  1. Push your code to a GitHub repository.
  2. Import the repository in Vercel.
  3. Add your Environment Variables in the Vercel dashboard.
  4. Click Deploy.

For detailed Vercel configuration, see vercel.json.

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Please look at the CONTRIBUTING.md for details.

📝 License

Distributed under the MIT License. See LICENSE for more information.

📮 Contact

Project Link: https://github.com/tahsinmert/postlytic

About

AI-powered LinkedIn post analyzer that optimizes content for virality using deterministic metrics, hook analysis, and engagement prediction.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published