Search for tweets and perform basic sentiment analysis.
This is a web-app made with django using tweepy and nltk to analyze tweets on searched topic.
To run locally, it is assumed that you have python installed on your system.
- Create a virtual environment.
virtualenv venv
- Activate venv.
venv\scripts\activate.bat
- Install the requirements.
pip install -r requirements.txt
- Get the
SECRET_KEY
,ACCESS_TOKEN
,ACCESS_TOKEN_SECRET
,CONSUMER_KEY
,CONSUMER_SECRET
from here here and set it manually in twitSent\settings.py and website\views.py. - Run the server.
python manage.py runserver
- Read this to learn deployment of django applications on heroku.
- Save the
SECRET_KEY
,ACCESS_TOKEN
,ACCESS_TOKEN_SECRET
,CONSUMER_KEY
,CONSUMER_SECRET
as environment variables. Follow this official documentation for help.
- Provide option to export data in desired format
- Sharing option for individual tweets
- Filtering of tweets based on nature of it
- Make it a Single Page Application
- Implement Angular with Django