{"id":19677004,"url":"https://github.com/areebahmeddd/godseye","last_synced_at":"2025-04-29T03:30:55.372Z","repository":{"id":243341071,"uuid":"809323296","full_name":"areebahmeddd/GodsEye","owner":"areebahmeddd","description":"Automated News Feedback System","archived":false,"fork":false,"pushed_at":"2024-11-08T12:40:27.000Z","size":22005,"stargazers_count":25,"open_issues_count":10,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T12:51:06.808Z","etag":null,"topics":["claude-ai","httpx","mongodb","plotly","render-cloud","streamlit"],"latest_commit_sha":null,"homepage":"https://gods-eye.onrender.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/areebahmeddd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-02T11:20:10.000Z","updated_at":"2025-02-16T12:09:46.000Z","dependencies_parsed_at":"2024-11-08T13:43:43.549Z","dependency_job_id":null,"html_url":"https://github.com/areebahmeddd/GodsEye","commit_stats":null,"previous_names":["areebahmeddd/godseye"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FGodsEye","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FGodsEye/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FGodsEye/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areebahmeddd%2FGodsEye/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/areebahmeddd","download_url":"https://codeload.github.com/areebahmeddd/GodsEye/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251426755,"owners_count":21587642,"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","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":["claude-ai","httpx","mongodb","plotly","render-cloud","streamlit"],"created_at":"2024-11-11T17:31:52.557Z","updated_at":"2025-04-29T03:30:50.336Z","avatar_url":"https://github.com/areebahmeddd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/logo-transparent.png\" alt=\"Project Logo\"\u003e\n\u003c/p\u003e\n\n## Project Description\n\nThe automated news feedback system uses web crawlers to create a dataset of news articles, scrape article URLs, and optical character recognition technology to extract content from e-papers. The system is built with the Streamlit framework to generate graphs using the Plotly library for visualization of scraped data.\n\nAdditionally, the system includes a chatbot (powered by Gemini API) that provides perspective on the latest news for users and a Chrome extension for real-time fake news detection.\n\n## System Architecture\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eData Acquisition\u003c/strong\u003e\n\u003c/p\u003e\n\n**Web Scraping**: Utilizes the `BeautifulSoup` library along with the `httpx` library to asynchronously scrape news articles from various news sources.\n\n**File Scraping**: Utilizes the `PyTesseract` library for image-to-text conversion and the `PyMuPDF` library for PDF-to-text conversion.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eData Analysis\u003c/strong\u003e\n\u003c/p\u003e\n\n**Gemini API**: Provides sentiment analysis, media analysis, and fake news detection services.\n\n**Database Storage**: Utilizes the `MongoDB` database to store responses from the Gemini API.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eData Presentation\u003c/strong\u003e\n\u003c/p\u003e\n\n**User Interface**: Utilizes the `Streamlit` framework to generate graphs using the `Plotly` library for visualization of scraped data.\n\n**Chrome Extension**: Provides real-time fake news detection on news articles (Manifest V3).\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/architecture.png\" alt=\"System Architecture\"\u003e\n\u003c/p\u003e\n\n## Getting Started\n\nFollow these steps to set up and run the GodsEye software on your local machine, or you can watch the [demo video](https://youtube.com/watch?v=sWd4kOQU9as).\n\n### Installation\n\n1. Clone the repository to your local machine:\n\n   ```shell\n   git clone https://github.com/areebahmeddd/GodsEye.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```shell\n   cd GodsEye\n   ```\n\n3. Create a virtual environment (optional but recommended):\n\n   ```shell\n   python -m venv .venv\n   ```\n\n4. Activate the virtual environment:\n\n   - **Windows**:\n     ```shell\n     .venv\\Scripts\\activate\n     ```\n   - **macOS and Linux**:\n     ```shell\n     source .venv/bin/activate\n     ```\n\n5. Install the project dependencies:\n\n   ```shell\n   pip install -r requirements.txt\n   ```\n\n6. Set up the configuration files:\n\n   - Create a `secrets.toml` file in the `.streamlit` directory with the following template:\n\n   ```ini\n   [admin]\n   email = \"your_email@example.com\"\n   app_pass = \"your_app_password\"\n\n   [gemini]\n   api_key = \"your_gemini_api_key\"\n   ```\n\n7. Set up the Chrome extension:\n   - Open Chrome and go to `chrome://extensions`.\n   - Enable \"Developer mode\" (top right corner).\n   - Click \"Load unpacked\" (top left corner).\n   - Select the `browser-extension` folder in the GodsEye repository.\n\n### Usage\n\n1. Launch the application by clicking the run button in the top right of VS Code, or execute:\n\n   ```shell\n   python python-app/app.py\n   ```\n\n2. Using the Browser Extension:\n\n   - Navigate to any of the following supported websites:\n\n     - https://www.ndtv.com\n\n     **NOTE**: The subdomain https://www.ndtvprofit.com is currently unsupported due to a different HTML structure.\n\n   - Select and open any article. The browser extension will be displayed on the right side of the screen. Click on the extension icon to access detailed information.\n\n3. For Contributors:\n   - To apply changes made to the browser extension, visit `chrome://extensions`, click the \"Update\" button at the top left, and reload the article page to see the updates.\n\n## License\n\nThis project is licensed under the [Apache License 2.0](https://github.com/areebahmeddd/GodsEye/blob/main/LICENSE).\n\n## Authors\n\n[Areeb Ahmed](https://github.com/areebahmeddd) and [Shivansh Karan](https://github.com/SpaceTesla)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareebahmeddd%2Fgodseye","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fareebahmeddd%2Fgodseye","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareebahmeddd%2Fgodseye/lists"}