Skip to content

ANUJT65/Eternal-Social

Repository files navigation

Table of Contents

Section
Introduction
Eternal Social: The Vision
Core Technologies
Key Features
System Architecture
Tech Stack
Deployment Guide
User Interface
References
Demonstration

🎥 Demonstration Video (Click on thumbnail/Pic) Please do read below before going through the video

♾️🌍 Eternal Social 💫♾️

Watch on YouTube

Introduction

Eternal Social is a next-generation social media platform where AI regulates user interactions, and blockchain ensures AI's accountability. Unlike traditional moderation methods that rely on human intervention, Eternal Social leverages decentralized AI moderation to maintain transparency, fairness, and accuracy and accountability of the system. Which in turn reduces the need for manual intervention and would help social media platforms regulate themselves by autonomous systems.

Eternal Social Logo

Goals

We prioritize free speech while promoting responsible online behavior. Users earn points for empathetic interactions and lose points for toxicity, racism, or spreading misinformation—but neutral conversations remain unaffected, and no private data is collected.

To counter disinformation, we use deep learning models trained on custom datasets for deepfake detection, and a balanced news verification system that cross-references left-wing, right-wing, and Gemini AI web agent searches before issuing a verdict. This ensures truthful, unbiased information reaches users.


🚀 User Flow and System Architecture (Please do zoom in if you would like)

anuj_ki

Drive Link to view image: https://drive.google.com/file/d/1yOxxysPSt3xuhcp4CZO6TUBaC6jaCeba/view?usp=sharing


📌 Core Features & Modules

🏆 1) Reputation Updation

  • Users are assigned reputation scores based on their online behavior.
  • Blockchain immutably stores reputation data to prevent tampering.
  • High-reputation users get privileges, while low-reputation users would face restrictions and possibly a ban if it goes below a certain level.

🚫📰 2) Fake News Prevention using LeftWing/RightWing Sources and AI agents

  • AI analyzes content credibility using cross-referenced sources.
  • Blockchain ensures verified news sources are immutable.
  • Misinformation is flagged, and users are alerted before sharing.

🎭 3) Deep Fake Detection

  • AI scans images/videos for manipulated media using Deep Learning models.

💬 4) Empathy Mode

  • Users can enable Empathy Mode to transform their messages into a more positive and constructive tone.
  • Whether it's criticism, professional discussions, or personal conversations, the goal is to foster respectful communication without restricting emotions.
  • Ensures that everyone is treated with dignity, promoting a healthier online environment.
  • Completely optional—users can choose when to activate it for empathetic interactions.

🤔 Why Should Social Media Integrate This❓❓

Future of social media:

The future of social media moderation will be entirely AI-driven, eliminating the need for human intervention in content monitoring. AI will autonomously handle:

  • Reputation scoring based on user behavior.
  • Fake news detection through AI-powered cross-referencing.
  • Deepfake identification using advanced deep learning models.

🌐 Why Blockchain? And Why This System? 🌐⛓️

AI must be held accountable, which is why blockchain integration is essential. By recording moderation actions on an immutable ledger, Eternal Social ensures:

  • Transparent AI decisions – Once AI moderates content, its action is permanently recorded, preventing hidden censorship or biased alterations.
  • Decentralized moderation – Instead of relying on a single company’s rules, blockchain allows a distributed, tamper-proof record of moderation, reducing corporate or political influence.
  • Preventing historical manipulationPeople often dig up old posts to manipulate narratives or incite violence. Blockchain can timestamp and verify context, ensuring old content isn't misused.
  • Curbing fake engagementsBots and paid accounts artificially amplify hate speech and misinformation. With blockchain, interactions can be verified, reducing manipulation.
  • Cost-efficient enforcement – By replacing expensive manual moderation with AI-backed blockchain verification, social media companies can cut costs while improving trust.
  • A safer online space – Users can verify whether flagged content was genuinely harmful or if it was unjustly censored, restoring confidence in online discourse.

Blockchain isn't just about decentralization—it’s about preserving truth, ensuring transparency, and protecting users from digital manipulation.

Eternal Social redefines content moderation by merging AI efficiency with blockchain security—creating a scalable, fair, and self-regulating social ecosystem.


🛠️ Tech Stack

  • AI/ML: PyTorch, Gemini Model
  • Blockchain: Ethereum, Solidity, Smart Contracts
  • Backend: Python (FastAPI), Web3.py
  • Frontend: HTML, CSS, JS

How to Deploy Eternal-Social

Part 1: Smart Contract Deployment

  1. Open a terminal and navigate to the project folder:
    cd Eternal-Social
  2. Install Truffle globally if not installed:
    npm install -g truffle
  3. Initialize Truffle:
    truffle init
  4. Compile the smart contracts:
    truffle compile
  5. Start a Truffle development blockchain:
    truffle develop
  6. Deploy the contracts:
    migrate
  7. After migration, you will get a contract address. Copy this address.
    Contract Address
  8. Open app3.py and replace deployed_contract_address with the new contract address.
    • Use Ctrl+F to find deployed_contract_address.
      Replace Contract Address

Intermediate:

  1. Get a gemini key https://ai.google.dev/gemini-api/docs/api-key
  2. Ctrl + F and find GOOGLE_API_KEY in app3.py

--

Part 2: Running the Backend

  1. Open another terminal and install dependencies:

    pip install -r requirements.txt
  2. Ensure all required libraries are updated to the latest versions.

  3. Start the FastAPI server:

    python -m uvicorn app3:app --reload
  4. Open your browser and go to:

    http://127.0.0.1:8000/
    
    • Open two tabs of this URL.
      Server Running
  5. Enter the wallet address obtained from truffle develop.
    Wallet Address

  6. Use two different wallet addresses for two clients/users and click Connect. Connect and Enjoy

  7. Enjoy the decentralized experience! 🚀

User Interface

1) Deep Fake

Deep Fake

2) Fake News

 Fake News

💙3) Empathy Mode

Toxicity

☣️4) Toxicity

Additional Feature

References(If you want to know more of how to use / deploy websockets and blockchain you could check the following articles out!

Demonstration:

  • YouTube Video: Demonstration
  • Testing
  • Etherium Wallet address1:0x424f87f4d1a8e8890d8b3CdECd20000ED21006E8
  • Etherium Wallet address2: 0xA114B7448c51C1B84668D5B08C29E1c6cC4dB3E2

About

At Eternal Social, empathy is our compass, steering us through the storm of deep fakes and fake news that destroy lives and shatter trust. We harness AI and blockchain to safeguard truth, creating a digital haven where genuine connection thrives.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors