suryabhakuni/AI-content-authentication-system

Combines AI detection and blockchain verification to ensure content originality and trust.

Python

47

16 commits

updated Jul 15, 2026

See the code

README

AI Authentic Guard

AI-powered content authentication system with blockchain verification.

Features

  • AI Detection for text and images
  • Blockchain verification on Ethereum (Sepolia testnet)
  • Immutable certificate generation
  • Content verification and validation
  • Modern, responsive UI with dark mode

Tech Stack

Frontend:

  • React + Vite
  • TailwindCSS + shadcn/ui
  • Framer Motion
  • ethers.js

Backend:

  • FastAPI (Python)
  • Transformers (Hugging Face)
  • AI detection models

Blockchain:

  • Solidity smart contracts
  • Hardhat development environment
  • Sepolia testnet deployment

Quick Start

Prerequisites

  • Node.js 18+
  • Python 3.8+
  • MetaMask wallet

Installation

  1. Install frontend dependencies:
npm install
  1. Install backend dependencies:
cd backend
pip install -r requirements.txt
  1. Install blockchain dependencies:
cd blockchain
npm install

Configuration

  1. Frontend: Create .env file:
VITE_AI_DETECTION_API_URL=http://localhost:8000
VITE_AI_DETECTION_ENABLED=true
  1. Backend: Create backend/.env file:
# Copy from backend/.env.example and customize if needed
TEXT_MODEL=Hello-SimpleAI/chatgpt-detector-roberta
IMAGE_MODEL=openai/clip-vit-base-patch32
  1. Blockchain: Create blockchain/.env file:
SEPOLIA_RPC_URL=your_alchemy_or_infura_url
PRIVATE_KEY=your_wallet_private_key

Running the Application

  1. Start backend:
cd backend
python main.py
  1. Start frontend:
npm run dev
  1. Deploy smart contract (if needed):
cd blockchain
npx hardhat run scripts/deploy.js --network sepolia

Usage

  1. Connect your MetaMask wallet
  2. Upload text or image content
  3. Run AI detection analysis
  4. Optionally store verification on blockchain
  5. Download authentication certificate
  6. Verify certificates using content hash

Smart Contract

Deployed on Sepolia testnet. Contract handles:

  • Storing verification records
  • Retrieving verification data
  • Immutable blockchain storage

Licence

MIT License. See LICENSE for details.

suryabhakuni/AI-content-authentication-system

Combines AI detection and blockchain verification to ensure content originality and trust.

Python

47

16 commits

updated Jul 15, 2026

See the code

README

AI Authentic Guard

AI-powered content authentication system with blockchain verification.

Features

  • AI Detection for text and images
  • Blockchain verification on Ethereum (Sepolia testnet)
  • Immutable certificate generation
  • Content verification and validation
  • Modern, responsive UI with dark mode

Tech Stack

Frontend:

  • React + Vite
  • TailwindCSS + shadcn/ui
  • Framer Motion
  • ethers.js

Backend:

  • FastAPI (Python)
  • Transformers (Hugging Face)
  • AI detection models

Blockchain:

  • Solidity smart contracts
  • Hardhat development environment
  • Sepolia testnet deployment

Quick Start

Prerequisites

  • Node.js 18+
  • Python 3.8+
  • MetaMask wallet

Installation

  1. Install frontend dependencies:
npm install
  1. Install backend dependencies:
cd backend
pip install -r requirements.txt
  1. Install blockchain dependencies:
cd blockchain
npm install

Configuration

  1. Frontend: Create .env file:
VITE_AI_DETECTION_API_URL=http://localhost:8000
VITE_AI_DETECTION_ENABLED=true
  1. Backend: Create backend/.env file:
# Copy from backend/.env.example and customize if needed
TEXT_MODEL=Hello-SimpleAI/chatgpt-detector-roberta
IMAGE_MODEL=openai/clip-vit-base-patch32
  1. Blockchain: Create blockchain/.env file:
SEPOLIA_RPC_URL=your_alchemy_or_infura_url
PRIVATE_KEY=your_wallet_private_key

Running the Application

  1. Start backend:
cd backend
python main.py
  1. Start frontend:
npm run dev
  1. Deploy smart contract (if needed):
cd blockchain
npx hardhat run scripts/deploy.js --network sepolia

Usage

  1. Connect your MetaMask wallet
  2. Upload text or image content
  3. Run AI detection analysis
  4. Optionally store verification on blockchain
  5. Download authentication certificate
  6. Verify certificates using content hash

Smart Contract

Deployed on Sepolia testnet. Contract handles:

  • Storing verification records
  • Retrieving verification data
  • Immutable blockchain storage

Licence

MIT License. See LICENSE for details.