Skip to content

Commit 3e59a1a

Browse files
committed
v1.0 Init commit
1 parent ba8246d commit 3e59a1a

File tree

2 files changed

+64
-42
lines changed

2 files changed

+64
-42
lines changed

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
.venv
2-
__pycache__
1+
# Python related
2+
.venv/
3+
__pycache__/
34
.env
4-
secrets.toml
5+
secrets.toml

README.md

+60-39
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<p align="center">
2-
<img src="https://github.com/areebahmeddd/GodsEye/blob/main/assets/logo.png" alt="Project Logo">
2+
<img src="assets/logo-transparent.png" alt="Project Logo">
33
</p>
44

55
## Project Description
66

7-
The automated 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.
7+
The 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.
88

9-
Additionally, the system includes a chatbot (powered by the Gemini API) that provides perspective on the latest news for users and a Chrome extension for real-time fake news detection.
9+
Additionally, 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.
1010

1111
## System Architecture
1212

@@ -41,68 +41,89 @@ Additionally, the system includes a chatbot (powered by the Gemini API) that pro
4141
---
4242

4343
<p align="center">
44-
<img src="https://github.com/areebahmeddd/GodsEye/blob/main/assets/architecture.png" alt="System Architecture">
44+
<img src="assets/architecture.png" alt="System Architecture">
4545
</p>
4646

4747
## Getting Started
4848

4949
Follow 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).
5050

51-
## Installation
51+
### Installation
5252

5353
1. Clone the repository to your local machine:
54-
```shell
55-
git clone https://github.com/areebahmeddd/GodsEye.git
56-
```
54+
55+
```shell
56+
git clone https://github.com/areebahmeddd/GodsEye.git
57+
```
5758

5859
2. Navigate to the project directory:
59-
```shell
60-
cd GodsEye
61-
```
60+
61+
```shell
62+
cd GodsEye
63+
```
6264

6365
3. Create a virtual environment (optional but recommended):
64-
```shell
65-
python -m venv .venv
66-
```
66+
67+
```shell
68+
python -m venv .venv
69+
```
6770

6871
4. Activate the virtual environment:
69-
- Windows:
70-
```shell
71-
.venv\Scripts\activate
72-
```
73-
- macOS and Linux:
74-
```shell
75-
source .venv/bin/activate
76-
```
72+
73+
- **Windows**:
74+
```shell
75+
.venv\Scripts\activate
76+
```
77+
- **macOS and Linux**:
78+
```shell
79+
source .venv/bin/activate
80+
```
7781

7882
5. Install the project dependencies:
79-
```shell
80-
pip install -r requirements.txt
81-
```
8283

83-
6. Set up the Chrome extension:
84-
- Open Chrome and go to `chrome://extensions`.
85-
- Enable "Developer mode" (top right corner).
86-
- Click "Load unpacked".
87-
- Select the `browser-extension` folder in the GodsEye repository.
84+
```shell
85+
pip install -r requirements.txt
86+
```
87+
88+
6. Set up the configuration files:
89+
90+
- Create a `secrets.toml` file in the `.streamlit` directory with the following template:
8891

89-
## Usage
92+
```ini
93+
[admin]
94+
95+
app_pass = "your_app_password"
96+
97+
[gemini]
98+
api_key = "your_gemini_api_key"
99+
```
100+
101+
7. Set up the Chrome extension:
102+
- Open Chrome and go to `chrome://extensions`.
103+
- Enable "Developer mode" (top right corner).
104+
- Click "Load unpacked" (top left corner).
105+
- Select the `browser-extension` folder in the GodsEye repository.
106+
107+
### Usage
90108

91109
1. Launch the application by clicking the run button in the top right of VS Code, or execute:
92-
```shell
93-
python python-app/app.py
94-
```
110+
111+
```shell
112+
python python-app/app.py
113+
```
95114

96115
2. Using the Browser Extension:
97-
- Navigate to any of the following supported websites:
98-
- https://www.ndtv.com
99116

100-
**NOTE**: The subdomain https://www.ndtvprofit.com is currently unsupported due to a different HTML structure.
117+
- Navigate to any of the following supported websites:
118+
119+
- https://www.ndtv.com
120+
121+
**NOTE**: The subdomain https://www.ndtvprofit.com is currently unsupported due to a different HTML structure.
101122

102-
- 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.
123+
- 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.
103124

104125
3. For Contributors:
105-
- 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.
126+
- 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.
106127

107128
## License
108129

0 commit comments

Comments
 (0)