{"id":15953361,"url":"https://github.com/shmsr/mood-swinger-tweets","last_synced_at":"2026-04-19T15:02:31.073Z","repository":{"id":152780742,"uuid":"147554125","full_name":"shmsr/mood-swinger-tweets","owner":"shmsr","description":"Sentimental analysis of twitter and recommendation of youtube playlists to watch and listen to lift up your mood!","archived":false,"fork":false,"pushed_at":"2019-10-21T17:12:10.000Z","size":8325,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T02:15:30.472Z","etag":null,"topics":["flask","ibm-watson","python3","tweepy"],"latest_commit_sha":null,"homepage":"https://mood-swinger.herokuapp.com/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shmsr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-05T17:20:43.000Z","updated_at":"2020-08-31T04:57:03.000Z","dependencies_parsed_at":"2023-04-20T10:15:56.967Z","dependency_job_id":null,"html_url":"https://github.com/shmsr/mood-swinger-tweets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shmsr/mood-swinger-tweets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmsr%2Fmood-swinger-tweets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmsr%2Fmood-swinger-tweets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmsr%2Fmood-swinger-tweets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmsr%2Fmood-swinger-tweets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shmsr","download_url":"https://codeload.github.com/shmsr/mood-swinger-tweets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shmsr%2Fmood-swinger-tweets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271737552,"owners_count":24812154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","ibm-watson","python3","tweepy"],"created_at":"2024-10-07T13:12:04.338Z","updated_at":"2026-04-19T15:02:26.037Z","avatar_url":"https://github.com/shmsr.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IBM Hack Challenge:  _A Mega Hackathon_\n\n### Problem Statement III:  _Help me with my mood_\n\n#### Help me with my Mood with Social-media Health Analysis and Display Engine (SHADE).\n\n#### About the challenge\n\nWith the advances in technology about sentiment analysis and predictive analytics, it has opened many avenues for researchers and enterprises to understand human mental state better. The proposed challenge is to know the emotion/mood of a person, to help in eliminating any negative state of mind that might have adverse effect on his/her daily life.\n\n#### Technologies used\n\n-   Flask\n-   Python v3.6.6\n-   IBM Watson Tone Analyser API\n-   Tweepy: Twitter API, etc.\n\n### Application is deployed on Heroku\n\nOur application is deployed on Heroku. Visit @ https://mood-swinger.herokuapp.com/\n\n### Slides\n\nWe have pretty visualized slides which you evaluate for easy understanding of our app\n-   Visit @  https://docs.google.com/presentation/d/1yciFYJraSR2lbMLIkZU4witeEAcG-ogADpm3Tl8l-9w/edit?usp=sharing\n-   Else, search the repo for \"IBMHackChallenge.pdf\"\n\n### Documentation\n\nAs instructed documentation in similar format is compiled for your ready perusal. We hope you like it.\n-   Visit @  https://docs.google.com/document/d/1r0oiZRN78aMfSo070vxci2c2a35lFti7mkbrBPWHG3s/edit?usp=sharing\n-   Else, search the repo for \"Documentation.pdf\"\n\n### Running the app locally\n\nPre-requisites: [You need tokens for Twiiter and IBM Watson Tone Analyser API]\n\nExample, on bash/zsh add this lines to .bashrc located in :\n\n```\nnano ~/.bashrc\n```\n\nAdd these following lines and the values:\n\n```\nexport TWITTER_CONSUMER_KEY=\nexport TWITTER_CONSUMER_SECRET=\nexport TWITTER_ACCESS_TOKEN=\nexport TWITTER_ACCESS_TOKEN_SECRET=\nexport TONE_ANALYSER_USERNAME=\nexport TONE_ANALYSER_PASSWORD=\n```\n\nNow refresh:\n\n```\nsource ~/.bashrc\n```\n\n----------\n\n1.  Clone the repo\n2.  Go to root directory of the repo cloned\n3.  Setup a virtual environment by executing the command venv:\n\n```\npython3 -m venv /path/to/new/virtual/environment \nExample: python3 -m venv env\n```\n\n4.  Once a virtual environment has been created, it can be “activated” using a script in the virtual environment’s binary directory. The invocation of the script is platform-specific:\n\n| Platform | Shell | Command to activate virtual environment |\n|------- | ------- | ----------------------------- |\n| POSIX | bash/zsh | `$ source /bin/activate` |\n| POSIX |fish | `$ . /bin/activate.fish` |\n| POSIX |csh/tcsh | `$ source /bin/activate.csh` |\n| Windows |cmd.exe | `C:\u003e \\Scripts\\activate.bat` |\n| Windows | Powershell | `PS C:\u003e \\Scripts\\Activate.ps1` |\n\nIn my case,  **Platform: Ubuntu (POSIX Compliant)**  and  **Shell: zsh**  So,\n\n```\nsource env/bin/activate\n```\n\n5.  Install all the packages from requirements.txt\n\n```\npip install -r requirements.txt\n```\n\n6.  Run run.py\n\n```\npython run.py\n```\n\n7.  Application will start on  **localhost**  :  **port**\n\nCongratulations, you have successfully fired the application up.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshmsr%2Fmood-swinger-tweets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshmsr%2Fmood-swinger-tweets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshmsr%2Fmood-swinger-tweets/lists"}