Skip to content
Zvonko edited this page Dec 16, 2024 · 7 revisions

Setup Instructions for Next-Sight-x.com-AI-analyzer

1. Clone the Repository

Clone the repository to your local system:

git clone https://github.com/ZvonkoNS/Next-Sight-x.com-AI-analyzer.git
cd Next-Sight-x.com-AI-analyzer

2. Install Python Dependencies

Install all required libraries:

pip install -r requirements.txt

3. Add Required Assets

  • Logo: Add a logo.jpg file to the assets/ folder.
  • Keywords File: Create a keywords.json file in the root directory with the following format:
{
    "cyberbullying": ["idiot", "stupid", "worthless"],
    "hate_speech": ["racist", "bigot", "hate"],
    "grooming": ["DM me", "let's meet", "secret"],
    "drugs": ["cocaine", "meth", "weed", "deal"],
    "terrorism": ["bomb", "ISIS", "attack", "jihad"],
    "aggressive_behavior": ["kill", "hurt", "destroy"]
}

4. Generate an X.com Bearer Token

You'll need a Bearer Token to fetch tweets from X.com:

  1. Visit the Twitter Developer Portal.
  2. Create a developer account and app if you don't already have one.
  3. Generate a Bearer Token from the app settings.
  4. Copy the token securely.