GithubHelp home page GithubHelp logo

mnz1988 / twitter-analysor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sabber-slt/twitter-analysor

0.0 0.0 0.0 95 KB

A Twitter bot that reads the tweets of a given username and analyzes the user's personality using AI.

Home Page: https://sabber.dev

Python 67.82% TypeScript 32.18%

twitter-analysor's Introduction

Twitter Chatgpt Analysor

This analyzer bot is written in Python and JavaScript separately. It utilizes Selenium for Python and Puppeteer for JavaScript. The functionality of this robot is as follows: it retrieves the Twitter username from the user and navigates to their page. Here, you have the option to determine the scrolling depth of the page. The greater the scrolling depth, the longer the analysis process will take. It can even read all of the user's tweets. After extracting the data, it filters the text and analyzes it using the parameters we have set for ChatGPT in order to determine the user's personality.

Features

  • Fetch and process user data from Nitter.
  • Clean and format the fetched text.
  • Integrate with OpenAI's GPT-3.5-turbo model for advanced text processing.

Installation

In order to use it, you must first acquire an API key from the OpenAI website. OpenAI API

git clone https://github.com/sabber-slt/twitter-analysor
cd twitter-analysor
yarn

Enviroment variables

PORT=[Your preferred port]
OPENAI_API_KEY=[Your OpenAI API key]
OPENAI_URL=[OpenAI API URL]
NITTER_FILTER=[Your Nitter filter settings]

twitter-analysor's People

Contributors

sabber-slt avatar softrebel avatar dansalahi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.