Skip to content

Repository files navigation

🛡️ Post Guard

Think twice. Post smarter.

Next.js React Tailwind OpenRouter Version License

A demo web application that helps users analyze social media posts for reputation risk and generate safer, more professional alternatives — enabling better judgment before publishing.


LIVE : https://post-guard-iota.vercel.app/


📱 Features

✨ Core Capabilities

  • Reputation Risk Score (1–100)
    Categorized into Low / Medium / High

  • Clear Risk Explanation
    Plain-language reasoning behind each score

  • Suggested Safer Rewrite
    More neutral and professional alternative

  • Platform Awareness

    • LinkedIn
    • Twitter / X
    • Instagram
    • WhatsApp
  • Clean UI

    • Dark / Light mode
    • Recent history tracking
    • Clear history option

🧠 How It Works

  1. Paste your post
  2. Select the platform
  3. AI analyzes tone, phrasing, and context
  4. Receive:
    • Risk score
    • Explanation
    • Suggested rewrite

All final decisions remain with the user.


🖥️ Screenshots

Main Screen

Post Guard main screen

Post Analysis

Post Guard post analysis view

Prompt Area

Post Guard prompt input area


🛠️ Tech Stack

Layer Technology
Framework Next.js (App Router)
Frontend React + TypeScript
Styling Tailwind CSS
Icons Lucide
Analytics Vercel Analytics
AI OpenRouter (LLM, JSON responses)

🏗️ Architecture

Clean modular structure:

app/                # Routes and pages
components/         # UI components
lib/                # AI logic & utilities
hooks/              # Custom hooks
public/             # Assets & screenshots
  • AI-driven analysis engine
  • JSON-structured responses
  • Client-side interaction with API

🚀 Getting Started

Prerequisites

  • Node.js
  • OpenRouter API key

Setup

npm install
npm run dev

Environment Variables

NEXT_PUBLIC_OPENROUTER_KEY=your_openrouter_api_key_here

Open: http://localhost:3000


🔐 Privacy

  • Posts are analyzed only when submitted
  • Nothing is posted automatically
  • No decisions are enforced
  • User retains full control

⚠️ Disclaimer

Post Guard is an AI-powered assistance tool — not a decision-making system.

All outputs are model-generated opinions, not facts or guarantees.
They are intended to support critical thinking, not replace judgment.

You are responsible for:

  • What you publish
  • Where you publish
  • Any resulting consequences

🗺️ Roadmap

  • Better contextual understanding
  • More platform-specific tuning
  • Export/share suggestions
  • Mobile optimization

Developed with the assistance of AI tools to accelerate development, debugging, and system design.


👨‍💻 Author

Rahul Walawalkar
📧 walawalkarrahul729@gmail.com
🔗 https://github.com/raahu1l


Built with ❤️ · Star ⭐ if you find it useful

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages