Skip to content

Commit bbda8a9

Browse files
committed
Add legal disclaimer and bilingual support for stock picks
1 parent 21882fc commit bbda8a9

4 files changed

Lines changed: 363 additions & 1 deletion

File tree

DISCLAIMER.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# ⚖️ إخلاء المسؤولية القانونية / Legal Disclaimer
2+
3+
## English
4+
5+
**For Informational Purposes Only**
6+
7+
The "Stock Picks" and "Saudi TASI Opportunities" sections generated by this application are for demonstration and showcase purposes only. They are generated by an AI model based on market analysis, trends, and research data, and **do not constitute financial advice**.
8+
9+
- ⚠️ **Do not trade based on these recommendations.**
10+
- 📚 **Always conduct your own due diligence.**
11+
- 🚫 **The developers and creators of this project assume no liability for financial decisions made based on this data.**
12+
13+
**Stock selections are based on:**
14+
- Latest market trends and analysis
15+
- Research papers and industry reports (from sources like arXiv, market research databases)
16+
- AI-generated insights and correlations
17+
- Technical and fundamental analysis patterns
18+
- Sector momentum and growth indicators
19+
20+
**Why These Stocks Were Chosen:**
21+
The AI analyzes current research trends, technological breakthroughs, policy changes, and market momentum to identify companies that may be impacted. For example:
22+
- A breakthrough in battery technology → Electric vehicle manufacturers
23+
- New AI research papers → AI chip producers
24+
- Renewable energy policies → Clean energy stocks
25+
- Economic reforms in Saudi Arabia → TASI growth sectors
26+
27+
**This tool is for educational and research purposes only. Always consult with a qualified financial advisor before making investment decisions.**
28+
29+
---
30+
31+
## Ar abic / العربية
32+
33+
**لأغراض إعلامية فقط**
34+
35+
أقسام "اختيارات الأسهم" و "فرص تاسي السعودية" المولدة بواسطة هذا التطبيق هي لأغراض توضيحية وعرض فقط. يتم إنشاؤها بواسطة نموذج ذكاء اصطناعي بناءً على تحليل السوق والاتجاهات والبيانات البحثية، و **لا تشكل نصيحة مالية**.
36+
37+
- ⚠️ **لا تتاجر بناءً على هذه التوصيات.**
38+
- 📚 **قم دائماً بإجراء البحث الخاص بك.**
39+
- 🚫 **مطورو ومنشئو هذا المشروع لا يتحملون أي مسؤولية عن القرارات المالية المتخذة بناءً على هذه البيانات.**
40+
41+
**يتم اختيار الأسهم بناءً على:**
42+
- أحدث اتجاهات السوق والتحليلات
43+
- الأوراق البحثية والتقارير الصناعية (من مصادر مثل arXiv، قواعد بيانات أبحاث السوق)
44+
- رؤى وارتباطات مولدة بالذكاء الاصطناعي
45+
- أنماط التحليل الفني والأساسي
46+
- زخم القطاع ومؤشرات النمو
47+
48+
**لماذا تم اختيار هذه الأسهم:**
49+
يقوم الذكاء الاصطناعي بتحليل اتجاهات البحث الحالية والاختراقات التكنولوجية وتغييرات السياسات وزخم السوق لتحديد الشركات التي قد تتأثر. على سبيل المثال:
50+
- اختراق في تكنولوجيا البطاريات ← مصنعو السيارات الكهربائية
51+
- أوراق بحثية جديدة في الذكاء الاصطناعي ← منتجو رقائق الذكاء الاصطناعي
52+
- سياسات الطاقة المتجددة ← أسهم الطاقة النظيفة
53+
- الإصلاحات الاقتصادية في السعودية ← قطاعات النمو في تاسي
54+
55+
**هذه الأداة للأغراض التعليمية والبحثية فقط. استشر دائماً مستشاراً مالياً مؤهلاً قبل اتخاذ قرارات الاستثمار.**

QUICK_FIX.md

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
# 🔧 Quick Fix: Enable GitHub Pages
2+
3+
## ✅ Updated Workflow
4+
5+
I've updated the workflow to automatically enable GitHub Pages. The fix has been pushed!
6+
7+
---
8+
9+
## 🚀 Two Options to Enable Pages
10+
11+
### **Option 1: Automatic (Recommended)**
12+
13+
The workflow will now enable Pages automatically on the next run!
14+
15+
**Just do this:**
16+
17+
1. **Add the API Secret First** (Required!):
18+
- Go to: https://github.com/kaledh4/Intelligence_Platform/settings/secrets/actions
19+
- Click "New repository secret"
20+
- Name: `OPENROUTER_API_KEY`
21+
- Value: Your OpenRouter API key from https://openrouter.ai/keys
22+
- Click "Add secret"
23+
24+
2. **Run the Workflow Again**:
25+
- Go to: https://github.com/kaledh4/Intelligence_Platform/actions
26+
- Click on "Daily AI Updates & Deploy to GitHub Pages"
27+
- Click "Run workflow" (green button)
28+
- Select "main" branch
29+
- Click "Run workflow"
30+
31+
The workflow will automatically enable Pages and deploy!
32+
33+
---
34+
35+
### **Option 2: Manual (If you prefer)**
36+
37+
Enable Pages manually first, then run the workflow:
38+
39+
1. **Login to GitHub** (if not already)
40+
41+
2. **Go to Pages Settings**:
42+
- Direct link: https://github.com/kaledh4/Intelligence_Platform/settings/pages
43+
44+
OR
45+
46+
- Go to your repo: https://github.com/kaledh4/Intelligence_Platform
47+
- Click "Settings" (top menu)
48+
- Click "Pages" (left sidebar)
49+
50+
3. **Configure Pages**:
51+
- Under "Build and deployment"
52+
- **Source**: Select "GitHub Actions" from dropdown
53+
- Click "Save" (if button appears)
54+
55+
4. **Add API Secret**:
56+
- Go to: https://github.com/kaledh4/Intelligence_Platform/settings/secrets/actions
57+
- Add secret named: `OPENROUTER_API_KEY`
58+
- Value: Your API key
59+
60+
5. **Run Workflow**:
61+
- Go to: https://github.com/kaledh4/Intelligence_Platform/actions
62+
- Run the workflow
63+
64+
---
65+
66+
## ⚡ Recommended: Use Option 1
67+
68+
The workflow has been updated with `enablement: true` which means it will automatically enable Pages for you.
69+
70+
**Just add the API secret and run the workflow!**
71+
72+
---
73+
74+
## ✅ Checklist
75+
76+
Before running the workflow:
77+
78+
- [ ] Login to GitHub
79+
- [ ] Add `OPENROUTER_API_KEY` secret (most important!)
80+
- [ ] Run the workflow from Actions tab
81+
- [ ] Wait 2-3 minutes
82+
- [ ] Check https://kaledh4.github.io/Intelligence_Platform/
83+
84+
---
85+
86+
## 🎯 What Changed
87+
88+
**Updated file**: `.github/workflows/deploy.yml`
89+
90+
**Change**: Added automatic Pages enablement:
91+
```yaml
92+
- name: Setup Pages
93+
uses: actions/configure-pages@v4
94+
with:
95+
enablement: true # ← This enables Pages automatically!
96+
```
97+
98+
This fix has been committed and pushed to your repo!
99+
100+
---
101+
102+
## 🔍 Verify the Fix
103+
104+
1. Go to: https://github.com/kaledh4/Intelligence_Platform/blob/main/.github/workflows/deploy.yml
105+
2. Look for line ~85
106+
3. You should see `enablement: true` under the Setup Pages step
107+
108+
---
109+
110+
## 📞 Quick Links
111+
112+
- **Repo**: https://github.com/kaledh4/Intelligence_Platform
113+
- **Add Secret**: https://github.com/kaledh4/Intelligence_Platform/settings/secrets/actions
114+
- **Pages Settings**: https://github.com/kaledh4/Intelligence_Platform/settings/pages
115+
- **Actions**: https://github.com/kaledh4/Intelligence_Platform/actions
116+
- **Get API Key**: https://openrouter.ai/keys
117+
118+
---
119+
120+
## 🎉 Ready to Deploy!
121+
122+
**Next Steps:**
123+
1. Add `OPENROUTER_API_KEY` secret
124+
2. Run the workflow
125+
3. Your site will be live at: https://kaledh4.github.io/Intelligence_Platform/
126+
127+
The workflow will handle everything else automatically! 🚀

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
# 🚀 Market Intelligence Dashboard
22

33
[![Daily Updates](https://github.com/yourusername/MARKET_K/actions/workflows/deploy.yml/badge.svg)](https://github.com/yourusername/MARKET_K/actions/workflows/deploy.yml)
4-
[![GitHub Pages](https://img.shields.io/badge/GitHub-Pages-blue)](https://yourusername.github.io/MARKET_K/)
4+
[![GitHub Pages](https://img.shields. io/badge/GitHub-Pages-blue)](https://yourusername.github.io/MARKET_K/)
55
[![PWA](https://img.shields.io/badge/PWA-Ready-success)](https://web.dev/progressive-web-apps/)
66

77
> AI-Powered Market Intelligence Dashboard with Daily Updates from Grok
88
9+
## ⚖️ Legal Disclaimer
10+
11+
**For Informational Purposes Only**
12+
13+
The "Stock Picks" and "Saudi TASI Opportunities" sections generated by this application are for demonstration and showcase purposes only. They are generated by an AI model based on market analysis, trends, and research data, and **do not constitute financial advice**.
14+
15+
- ⚠️ **Do not trade based on these recommendations.**
16+
- 📚 **Always conduct your own due diligence.**
17+
- 🚫 **The developers and creators of this project assume no liability for financial decisions made based on this data.**
18+
19+
**Stock selections are based on:**
20+
- Latest market trends and analysis
21+
- Research papers and industry reports
22+
- AI-generated insights and correlations
23+
- Technical and fundamental analysis patterns
24+
25+
**This tool is for educational and research purposes only. Always consult with a qualified financial advisor before making investment decisions.**
26+
927
## ✨ Features
1028

1129
- 📊 **Real-time Market Intelligence** - Powered by xAI Grok

SECRET_SETUP.md

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
# 🔑 GitHub Secret Setup Guide
2+
3+
## ✅ Code Successfully Pushed!
4+
5+
Your dashboard is now at: **https://github.com/kaledh4/Intelligence_Platform**
6+
7+
---
8+
9+
## 🔐 IMPORTANT: Add Your OpenRouter API Key
10+
11+
### Secret Key Name (EXACT):
12+
```
13+
OPENROUTER_API_KEY
14+
```
15+
16+
### Step-by-Step Instructions:
17+
18+
#### 1️⃣ Get Your OpenRouter API Key
19+
1. Go to: **https://openrouter.ai/**
20+
2. Sign up or login
21+
3. Visit: **https://openrouter.ai/keys**
22+
4. Click "Create Key"
23+
5. Copy the API key (starts with `sk-or-...`)
24+
25+
#### 2️⃣ Add Secret to GitHub
26+
1. Go to: **https://github.com/kaledh4/Intelligence_Platform/settings/secrets/actions**
27+
28+
Or manually navigate:
29+
- Go to your repo: https://github.com/kaledh4/Intelligence_Platform
30+
- Click **Settings** (top menu)
31+
- Click **Secrets and variables** (left sidebar)
32+
- Click **Actions**
33+
34+
2. Click **"New repository secret"** (green button)
35+
36+
3. Fill in:
37+
- **Name**: `OPENROUTER_API_KEY` (exactly as shown, all caps)
38+
- **Secret**: Paste your OpenRouter API key
39+
40+
4. Click **"Add secret"**
41+
42+
---
43+
44+
## 🌐 Enable GitHub Pages
45+
46+
### Quick Link:
47+
**https://github.com/kaledh4/Intelligence_Platform/settings/pages**
48+
49+
### Steps:
50+
1. Go to **Settings****Pages**
51+
2. Under **"Build and deployment"**:
52+
- **Source**: Select **"GitHub Actions"**
53+
3. Click **Save**
54+
55+
---
56+
57+
## 🚀 Deploy Your Dashboard
58+
59+
### Option 1: Automatic (Recommended)
60+
The workflow will run automatically:
61+
- **Daily at 6 AM UTC**
62+
- **On every push to main**
63+
64+
### Option 2: Manual (Deploy Now)
65+
1. Go to: **https://github.com/kaledh4/Intelligence_Platform/actions**
66+
2. Click on **"Daily AI Updates & Deploy to GitHub Pages"**
67+
3. Click **"Run workflow"** (dropdown button)
68+
4. Click **"Run workflow"** (green button)
69+
5. Wait 2-3 minutes
70+
6. Your site will be live!
71+
72+
---
73+
74+
## 🌍 Your Live URL
75+
76+
After deployment completes:
77+
```
78+
https://kaledh4.github.io/Intelligence_Platform/
79+
```
80+
81+
---
82+
83+
## ✅ Quick Checklist
84+
85+
- [ ] OpenRouter API key obtained from https://openrouter.ai/keys
86+
- [ ] Secret added to GitHub with name: `OPENROUTER_API_KEY`
87+
- [ ] GitHub Pages enabled (source: GitHub Actions)
88+
- [ ] Workflow triggered (manually or wait for auto-run)
89+
- [ ] Site accessible at: https://kaledh4.github.io/Intelligence_Platform/
90+
91+
---
92+
93+
## 🔍 Verify Setup
94+
95+
### Check Secret Is Set:
96+
1. Go to: https://github.com/kaledh4/Intelligence_Platform/settings/secrets/actions
97+
2. You should see `OPENROUTER_API_KEY` listed (value hidden for security)
98+
99+
### Check Workflow Status:
100+
1. Go to: https://github.com/kaledh4/Intelligence_Platform/actions
101+
2. Latest workflow run should show green checkmark ✅
102+
3. Click on it to see detailed logs
103+
104+
### Check Site Is Live:
105+
1. Visit: https://kaledh4.github.io/Intelligence_Platform/
106+
2. Dashboard should load with AI-generated content
107+
3. Install prompt should appear after 5 seconds
108+
109+
---
110+
111+
## 🆘 Troubleshooting
112+
113+
### Workflow Fails?
114+
- **Check**: Secret name is exactly `OPENROUTER_API_KEY` (case-sensitive)
115+
- **Check**: API key is valid and has credits
116+
- **View**: Logs in Actions tab for detailed error
117+
118+
### Site Not Loading?
119+
- **Wait**: 2-3 minutes after first deployment
120+
- **Check**: GitHub Pages is enabled in Settings → Pages
121+
- **Verify**: Workflow completed successfully (green checkmark)
122+
123+
### API Not Working?
124+
- **Verify**: OpenRouter account has available credits
125+
- **Check**: Browser console for errors (F12)
126+
- **Test**: Manually refresh the dashboard
127+
128+
---
129+
130+
## 📊 Monitor Your Dashboard
131+
132+
### Daily Updates
133+
- Automatic updates at **6 AM UTC** daily
134+
- Check https://github.com/kaledh4/Intelligence_Platform/actions
135+
- View logs for each automated run
136+
137+
### Usage
138+
- OpenRouter dashboard: https://openrouter.ai/activity
139+
- GitHub Actions usage: https://github.com/kaledh4/Intelligence_Platform/actions
140+
141+
---
142+
143+
## 🎉 That's It!
144+
145+
1. Add the secret: `OPENROUTER_API_KEY`
146+
2. Enable GitHub Pages
147+
3. Run the workflow
148+
4. Enjoy your AI-powered dashboard!
149+
150+
**Your dashboard will be live at:**
151+
### 🌐 https://kaledh4.github.io/Intelligence_Platform/
152+
153+
---
154+
155+
## 📞 Quick Links
156+
157+
- **Repository**: https://github.com/kaledh4/Intelligence_Platform
158+
- **Settings**: https://github.com/kaledh4/Intelligence_Platform/settings
159+
- **Secrets**: https://github.com/kaledh4/Intelligence_Platform/settings/secrets/actions
160+
- **Pages**: https://github.com/kaledh4/Intelligence_Platform/settings/pages
161+
- **Actions**: https://github.com/kaledh4/Intelligence_Platform/actions
162+
- **OpenRouter**: https://openrouter.ai/keys

0 commit comments

Comments
 (0)