{"id":29253494,"url":"https://github.com/sachin7123/mindguard","last_synced_at":"2026-04-13T21:32:21.946Z","repository":{"id":301977243,"uuid":"1010811970","full_name":"Sachin7123/mindguard","owner":"Sachin7123","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-29T22:34:36.000Z","size":279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-29T23:26:51.588Z","etag":null,"topics":["bert-model","nlp","pushshift-api","streamlit","streamlitcloud","textblob"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Sachin7123.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,"zenodo":null}},"created_at":"2025-06-29T21:07:49.000Z","updated_at":"2025-06-29T22:36:37.000Z","dependencies_parsed_at":"2025-06-29T23:36:57.054Z","dependency_job_id":null,"html_url":"https://github.com/Sachin7123/mindguard","commit_stats":null,"previous_names":["sachin7123/mindguard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sachin7123/mindguard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin7123%2Fmindguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin7123%2Fmindguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin7123%2Fmindguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin7123%2Fmindguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sachin7123","download_url":"https://codeload.github.com/Sachin7123/mindguard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin7123%2Fmindguard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271733103,"owners_count":24811466,"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":["bert-model","nlp","pushshift-api","streamlit","streamlitcloud","textblob"],"created_at":"2025-07-04T02:02:54.214Z","updated_at":"2026-04-13T21:32:21.902Z","avatar_url":"https://github.com/Sachin7123.png","language":"Python","readme":"# 🧠 MindGuard – Mental Health Sentiment Analyzer (Reddit NLP Dashboard)\n\nMindGuard is an end-to-end, real-time NLP dashboard that monitors Reddit posts related to mental health. It uses both **TextBlob** and **BERT (Transformer)** models to detect signs of anxiety, depression, and emotional distress. Built with **Streamlit**, the dashboard offers sentiment comparison, filters, and rich visual analytics.\n\n![MindGuard Dashboard](./screenshot/sc-1.png)\n\n---\n\n## 🧠 Project Motivation\n\n\u003e With rising mental health concerns globally, many people share their feelings anonymously online. By analyzing these expressions through natural language processing, MindGuard aims to assist researchers, moderators, or public health professionals in identifying signs of distress at scale.\n\n---\n\n## 🔍 Features\n\n- ✅ Collects Reddit posts from mental health-focused subreddits\n- ✅ Cleans and fuses title + body text\n- ✅ Performs dual sentiment analysis using:\n  - **TextBlob** (lexicon-based)\n  - **BERT** (`cardiffnlp/twitter-roberta-base-sentiment`)\n- ✅ Filters posts by subreddit, model, or keywords\n- ✅ Visualizations: bar charts, pie charts, and summary cards\n- ✅ Highlights mismatches between TextBlob and BERT\n- ✅ Download the processed data as CSV\n\n---\n\n## 💻 Tech Stack\n\n| Layer         | Tools Used                           |\n| ------------- | ------------------------------------ |\n| Frontend      | Streamlit                            |\n| NLP Models    | TextBlob, Transformers (BERT)        |\n| Data Source   | Reddit (via Pushshift API)           |\n| Processing    | Python, Pandas, NumPy                |\n| Visualization | Streamlit, Matplotlib                |\n| Deployment    | Streamlit Cloud                      |\n| Storage       | CSV (MongoDB optional for extension) |\n\n---\n\n## 🧪 How to Run Locally\n\n```bash\ngit clone https://github.com/Sachin7123/mindguard.git\ncd mindguard-nlp\npython -m venv venv\n# For Windows:\nvenv\\Scripts\\activate\n# For macOS/Linux:\nsource venv/bin/activate\n\npip install -r requirements.txt\nstreamlit run app/dashboard.py\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachin7123%2Fmindguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachin7123%2Fmindguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachin7123%2Fmindguard/lists"}