Skip to content

abheeeshekdutta/crypto-nft-twitter-sentiment-analysis-app

Repository files navigation

Twitter sentiment analysis app for cryptocurrencies and NFTs

The objective of this application is to display an interactive dashboard which demonstrates the trend of sentiments around cryptocurrency and NFT tweets on Twitter.

🔗 Application link

https://crypto-nft-twitter-sentiment-analysis-app.streamlit.app

🛠️ Tools used

The following tools were used to build the application

  1. Python - programming language used for building majority of the application
  2. Streamlit - to develop the application user interface
  3. Hopsworks Feature Store - feature store for storing and retrieving tweet data
  4. RapidAPI - API for fetching new tweet data
  5. HuggingFace Hub - for utilizing the pre-trained sentiment analysis model
  6. Github Actions - for implementing script automation

⿸ Application architecture

Project Architecture

📸 Screenshots

Sample predictions

Trend Analysis - Previous week

Trend Analysis - Custom dates

Sentiment distribution and word cloud

?How it works

  1. Data is fetched from the twitter API hosted on RapidAPI - the tweet pull schedule is everyday and every four hours starting at midnight Irish Standard Time(IST)

  2. The raw tweet data from the above step is pushed to a Hopsworks Feature Store

  3. The data is then run through a sentiment analysis pipeline and the sentiment predictions and scores are produced, which are again stored in the Hopsworks Feature Store.

  4. The web application which is hosted on Streamlit Cloud, fetches the prediction data from the Hopsworks Feature Store, and it used to plot graphs and display results.

About

Streamlit-based twitter sentiment analysis dashboard built using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published